Subject gbak
Author Sergio H. Gonzalez
Hello, is it safe to run this bat with the Firebird (2.1) service running ?
What if there is a user attached to the database?
If this is not the correct way to do it, which is the correct one?
Thanks!!
Sergio

------- RESTORE.BAT --------

del log.txt

gbak data.fdb datos.fbk -user sysdba -password
masterkey -ignore -Limbo -v -y log.txt

gbak -create -v data.fbk data_rec.fdb -user sysdba -password
masterkey -n -r -p 4096

ren data.fdb data_old.fdb

ren data_rec.fdb data.fdb

--------------------------