Here is the example I am using...

           FbConnectionStringBuilder cs = new FbConnectionStringBuilder();
           cs.DataSource = "localhost";
           cs.UserID = "SYSDBA";
           cs.Password = "masterkey";
           cs.Database = "dbBooks";

           FbBackup backupSvc = new FbBackup();
           backupSvc.ConnectionString = cs.ConnectionString;
           string filePath = "j:\\Prager\\Backup\\backup.fbk";
           backupSvc.BackupFiles.Add(new FbBackupFile(filePath, 2048));
           backupSvc.Verbose = true;
           backupSvc.Options = FbBackupFlags.IgnoreLimbo;
           backupSvc.Execute();


Mercea Paul wrote:

How looks your connection string?

I think you miss something...data source = localhost ...

Regards,

Paul

*From:* Rolf Marsh [mailto:rmma...@fastmail.us]
*Sent:* Tuesday, February 17, 2009 21:08
*To:* For users and developers of the Firebird .NET providers
*Subject:* Re: [Firebird-net-provider] [SPAM] RE: Want to run 'gbak.exe' from within

Hi Paul... I still get the following error message:

Cannot attach to services manager service localhost:service_mgr is not defined

How do I fix this?



Mercea Paul wrote:

------------------------------------------------------------------------

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
------------------------------------------------------------------------

_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to