Hello,

 FbBackupFile file =new FbBackupFile(@"c:\kixzofdb\SAMPLEtest.fdb",2048);
             FbBackup backup = new FbBackup();
             backup.BackupFiles.Add(file);
             backup.ConnectionString = @"DATABASE=C:\kixzofdb\sample.FDB;
User=sysdba; password= masterkey;";
             backup.Verbose = true;
             backup.Options = FbBackupFlags.IgnoreLimbo ;

             backup.Execute();

 I am using following code for taking the backup of the database, it is 
 creating the Database file at the desired location.
 But when I connect to the Database, it displaying a message that 
 "DataBase is not Valid".

 What is the Problem with my code, please help me in that.

 Regards.
 Rakesh Singh
 http://www.4colordesign.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to