When I try to backup a database I get this error:
{"No message for code 472 found.\nNo message for code 243 found.\n" }
in this line: fbBackup.Start();
Code:
....
FirebirdSql.Data.Firebird.Services.FbBackup fbBackup =3D new FbBackup(); =
bool res =3D true;
try
{
fbBackup.Verbose =3D true;
fbBackup.UserName =3D user;
fbBackup.UserPassword =3D password;
fbBackup.Database =3D @"C:\Test\dbBackup.GDB";
fbBackup.Options =3D FbBackupFlags.IgnoreLimbo;
fbBackup.BackupFiles.Add(new FbBackupFile(backupPath+backFileName, =
2048));=20
fbBackup.Start();
string lineOutput;
while((lineOutput =3D fbBackup.GetNextLine()) !=3D null)
{
Console.WriteLine(lineOutput);
}
fbBackup.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.StackTrace.ToString());
res =3D false;
}
.....
Any help?
Regards
Thomas |