Subject | Basic questions regarding gbak restore |
---|---|
Author | jacobhavkrog |
Post date | 2011-10-25T16:38:14Z |
Hi -
Using FB2.5, I'm doing a simple restore of my database alias MYDB
Before doing so, I shut it down:
gfix -user sysdba -password masterkey -shut full -force 0 MYDB
Here is the restore command:
gbak -user sysdba -password masterkey -r o c:\backups\MYDB1.fbk MYDB
Is the database file MYDB.gdb completely shielded from being accessed by the clients while it is shut down? I.e. during the restore process?
I ask because in http://www.firebirdsql.org/pdfmanual/Firebird-gbak.pdf it says:
"In addition, if you have only partially completed the restore of a database, and some users decide to see if they can login, the database may well be corrupted."
Is this possible with FB 2.5 and while the database is shut down???
By the way:
After the restore, I notice that the database is online. I find that a bit surprising. Does gbak restore put the database online for me?
Thanks!
Jacob
Using FB2.5, I'm doing a simple restore of my database alias MYDB
Before doing so, I shut it down:
gfix -user sysdba -password masterkey -shut full -force 0 MYDB
Here is the restore command:
gbak -user sysdba -password masterkey -r o c:\backups\MYDB1.fbk MYDB
Is the database file MYDB.gdb completely shielded from being accessed by the clients while it is shut down? I.e. during the restore process?
I ask because in http://www.firebirdsql.org/pdfmanual/Firebird-gbak.pdf it says:
"In addition, if you have only partially completed the restore of a database, and some users decide to see if they can login, the database may well be corrupted."
Is this possible with FB 2.5 and while the database is shut down???
By the way:
After the restore, I notice that the database is online. I find that a bit surprising. Does gbak restore put the database online for me?
Thanks!
Jacob