AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Datenbanken Firedac zweites Backup funktioniert nicht
Thema durchsuchen
Ansicht
Themen-Optionen

Firedac zweites Backup funktioniert nicht

Ein Thema von Kostas · begonnen am 11. Sep 2025
Antwort Antwort
Kostas

Registriert seit: 14. Mai 2003
Ort: Gerstrhofen
1.121 Beiträge
 
Delphi 12 Athens
 
#1

Firedac zweites Backup funktioniert nicht

  Alt Gestern, 20:50
Datenbank: Firebird • Version: 3.0 • Zugriff über: Firebac
Hallo Zusammen,

ich erzeuge im laufenden Betrieb über TFDIBBackup ein Bakup und anschließend ein Restore über TFDIBRestore, das funktioniert perfekt.
Strarte ich die Aktion erneut, kommt die Fehlermledung:
BackupError:[FireDAC][Phys][FB]Client attempted to attach unencrypted but wire encryption is required

Wenn die Anwendung neu starte, funktioniert es wieder.


Das setze ich einmalig.
Delphi-Quellcode:
    // set Backup
    FDIBBackup1.UserName := TFDPhysFBConnectionDefParams(con.Params).UserName;
    FDIBBackup1.Password := TFDPhysFBConnectionDefParams(con.Params).Password;
    FDIBBackup1.Host := TFDPhysFBConnectionDefParams(con.Params).Server;
    FDIBBackup1.Protocol := TFDPhysFBConnectionDefParams(con.Params).Protocol;
    FDIBBackup1.Port := TFDPhysFBConnectionDefParams(con.Params).Port;
    FDIBBackup1.Database := TFDPhysFBConnectionDefParams(con.Params).Database;
    FDIBBackup1.BackupFiles.Clear;
    FDIBBackup1.BackupFiles.Add(INIBackupFile);

    // set Restore
    FDIBRestore1.UserName := TFDPhysFBConnectionDefParams(con.Params).UserName;
    FDIBRestore1.Password := TFDPhysFBConnectionDefParams(con.Params).Password;
    FDIBRestore1.Host := TFDPhysFBConnectionDefParams(con.Params).Server;
    FDIBRestore1.Protocol := TFDPhysFBConnectionDefParams(con.Params).Protocol;
    FDIBRestore1.Port := TFDPhysFBConnectionDefParams(con.Params).Port;
    FDIBRestore1.Database := INIRestoreFile;
    FDIBRestore1.BackupFiles.Clear;
    FDIBRestore1.BackupFiles.Add(INIBackupFile);
Danach Backup und Restore. Das funktioniert genau einmal
Delphi-Quellcode:
FDIBBackup1.Backup;
FDIBRestore1.Restore;
Hat jemand eine Idee?
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:45 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz