I still get the following error message:
Cannot attach to services manager service localhost:service_mgr is not
defined
How do I fix this?
Zvjezdan Tomicevic wrote:
This works for me:
public void GenerateBackup()
{
FbBackup backupSvc = new FbBackup();
This works for me:
public void GenerateBackup()
{
FbBackup backupSvc = new FbBackup();
backupSvc.ConnectionString =
Properties.Settings.Default.ConnectionString;
string filePath = "C:\backup.fbk";
backupSvc.BackupFiles.Add(new FbBackupFile(
HI Juergen... OK... I'll just leave it at 2048... my major problem is
that I'm getting a message "Cannot attach to services manager service
:service_mgr is not defined" when I try any of the examples at
http://fisheye1.atlassian.com/browse/firebird/NETProvider/NETProvider_17/source/FirebirdSql.D
Title: Jürgen Thomas
Hi Rolf,
I read in the Firebird ADO.NET Provider SDK Documentation and
don't understand this property. The only information I found was an
example in the FbBackup class:
"backupSvc.BackupFiles.Add(new
FbBackupFile(@"c:\testdb.gbk", 2048));
"
In the IBExpert documentation I
I took a look at FirebirdSql.Data.FIrebird.Services namespace, and
decided to try the FbBackup method as a test. In the BackupFiles
method, it asks for the output filename and size... how does one
determine what the size of the output file is going to be prior to doing
the backup?
Rolf
VS-P
Fantastic! Thank you so much...exactly what I was looking for...
Regards,
Rolf
VS-Polis wrote:
Hi Rolf,
take a look at the FbBackup and FbRestore classes in the
FirebirdSql.Data.Firebird.Services Namespace.
Juergen
Rolf Marsh schrieb:
Hello... I have a Windows C# .NET program which spawns a
Hi Rolf,
take a look at the FbBackup and FbRestore classes in the
FirebirdSql.Data.Firebird.Services Namespace.
Juergen
Rolf Marsh schrieb:
Hello... I have a Windows C# .NET program which spawns a process to
execute gbak with associated parameters to either backup or restore the
database.
Hello... I have a Windows C# .NET program which spawns a process to
execute gbak with associated parameters to either backup or restore the
database.
Is there a better way of doing this, like interfacing directly with the
database engine?
---