Subject | API Backups & Restores |
---|---|
Author | Gabriel Juncu |
Post date | 2002-01-24T11:14:19Z |
Hi list!
Is there any way that using Firebird Services API, I can make database
backups from server to local file on workstation and restores from local
backup files to server? I see than gbak can do this, but in Services API
documentation there is a note at backup services api that all backup file
paths are relative to server.
I'm using IBBackupService and IBRestoreService from Delphi5 Enterprise and I
noticed one strange (for me!) thing:
If I start a local Firebird server on local workstation and service_attach to
'localhost', but databasename is 'main:/opt/.../mydatabase.gdb', then I CAN
backup the file to a path on local workstation. I must mention that the
database server has no shared disks with the workstation, so the path
/opt/... is not visible to local Firebird server!
But I want to do server to local backups from my Delphi app without the need
to run a local Firebird server
Thank you,
Gabriel
Is there any way that using Firebird Services API, I can make database
backups from server to local file on workstation and restores from local
backup files to server? I see than gbak can do this, but in Services API
documentation there is a note at backup services api that all backup file
paths are relative to server.
I'm using IBBackupService and IBRestoreService from Delphi5 Enterprise and I
noticed one strange (for me!) thing:
If I start a local Firebird server on local workstation and service_attach to
'localhost', but databasename is 'main:/opt/.../mydatabase.gdb', then I CAN
backup the file to a path on local workstation. I must mention that the
database server has no shared disks with the workstation, so the path
/opt/... is not visible to local Firebird server!
But I want to do server to local backups from my Delphi app without the need
to run a local Firebird server
Thank you,
Gabriel