Subject | TIBOBackupService and TIBORestoreService |
---|---|
Author | |
Post date | 2018-05-11T13:26:13Z |
Hello Jason,
I would like to use TIBOBackupService component to make backup...
I wrote this code :
IBOBackupService1.ServerName:=IBODatabase1.Server;
IBOBackupService1.DatabaseName:= IBODatabase1.DatabaseName;
IBOBackupService1.BackupFile.add('C:\MYSSOFT\datagdb\DATBABASE.gbk');
IBOBackupService1.Params:= IBODatabase1.Params;
IBOBackupService1.active:=true;
IBOBackupService1.ServiceStart;
The IBODatabase1.Params are like this :
PATH=c:\visiosany\datagdb\main.gdb
USER NAME=SYSDBA
PASSWORD = masterkey
PROTOCOL=TCP/IP
(The database is an old firebird 1.03...)
And I've got this message when I try to run the code :
"Operation canceled at user's request"
What's wrong with my code ?
Do you have a sample code for using this component or a help on it somewhere ?
With best regards,
Mikey