Subject | Backup & restore without dump using service manager |
---|---|
Author | Köditz, Martin |
Post date | 2017-10-02T09:56:58Z |
Hi,
is there a way to backup and restore a database using the service manager?
The documentation gives example without service manager:
tux> gbak -backup emptest stdout | gbak -replace stdin emptest_2
But that needs to open the database in exclusive mode.
I’ve tried the following code but got errors:
tux> gbak -b -user sysdba -password masterkey -se localhost/3050:service_mgr /srv/firebird/db01.fdb stdout | gbak -replace stdin /srv/firebird/test.fdb
tux> gbak: ERROR:expected backup description record
tux> gbak:Exiting before completion due to errors
Regards,
Martin