Hello,

I using following Code to restore the DataBack back up file.

FbBackupFile restorefile = new FbBackupFile(@"c:\kixzofdb\myback.fbk",2048);
FbRestore fbrestore = new FbRestore();
fbrestore.BackupFiles.Add(restorefile);
fbrestore.ConnectionString = @"DATABASE=C:\kixzofdb\testingBackup.FDB;
User=sysdba; password= masterkey;";
fbrestore.Verbose = true;
fbrestore.PageSize = 2048;
fbrestore.Options = FbRestoreFlags.Create | FbRestoreFlags.Replace;
fbrestore.Execute();

I am getting following Exception "FirebirdSql.Data.Common.IscException".
What is the problem with the Code.

I am using Firebrid 2.0.3 and .NET Provider Version 2.1.0

Please give some guidance on this.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to