Devart Forum Index

The time now is Thu 09 Sep 2010 12:49

Backup: Cannot attach to service manager

 
Post new topic   Reply to topic    Devart Forum Index -> InterBase Data Access Components
View previous topic :: View next topic  
Author Message
fschulze



Joined: 23 Jan 2009
Posts: 4
Location: Magdeburg, Germany

PostPosted: Mon 08 Feb 2010 15:10    Post subject: Backup: Cannot attach to service manager Reply with quote

I miss an exaple for use of IBCBackupService. So I try by myself:

Code:
 IBCBackupService1.LoginPrompt := False;//show no Login window
 IBCBackupService1.Username := 'sysdba';
 IBCBackupService1.Password := 'masterkey';
 IBCBackupService1.Database := 'localhost:c:\dbs\mydb.gdb';
 IBCBackupService1.BackupFile.Text := 'c:\dbs\mydb.gbk';
 IBCBackupService1.Attach;//connect to DB
 IBCBackupService1.ServiceStart;//run backup


On Attach command I get an exception: "Cannot attach to service manager."

What's wrong?
Is there a detailed describtion how to backup and restore?

(I use Delphi 2010 on Windows Vista Ultimate 64 SP2 and Firebird 2.0)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
fschulze



Joined: 23 Jan 2009
Posts: 4
Location: Magdeburg, Germany

PostPosted: Mon 08 Feb 2010 15:39    Post subject: Error found: Cannot attach to service manager Reply with quote

Code:
 IBCBackupService1.ClientLibrary := 'gds32.dll';//with Path, if not in Windows\system32
 IBCBackupService1.Protocol := TCP;//for const TCP include Unit IBC
 IBCBackupService1.LoginPrompt := False;//show no Login window
 IBCBackupService1.Username := 'sysdba';
 IBCBackupService1.Password := 'masterkey';
 IBCBackupService1.Server := 'localhost';
 IBCBackupService1.Database := 'c:\dbs\mydb.gdb';//local server view
 IBCBackupService1.BackupFile.Text := 'c:\dbs\mydb.gbk';
 IBCBackupService1.Attach;//connect to DB
 IBCBackupService1.ServiceStart;//run backup
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Dimon
Devart Team


Joined: 05 Mar 2007
Posts: 2305

PostPosted: Mon 15 Feb 2010 09:25    Post subject: Reply with quote

Was the problem solved? If any other questions come up, please contact me.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Devart Forum Index -> InterBase Data Access Components All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum