Subject RE: [firebird-support] RE: FB 2.5 shutdown & restore question
Author Rick Debay
> Why do you use '-shut single' and not '-shut full'

Under 1.5 you can connect to a database while it is restoring, which breaks the restore. We were throwing everything we could think of at the problem so it wouldn't happen. If 2.x doesn't allow connections during restore we shouldn't have the problem.

From: [] On Behalf Of Svein Erling Tysvær
Sent: Thursday, April 04, 2013 2:41 AM
Subject: [firebird-support] RE: FB 2.5 shutdown & restore question

>We have a database that we want to wipe and replace every week, regardless of whether it is in use.
>gfix -shut single -force 1 server:/opt/firebird/db/clone.fdb

Why do you use '-shut single' and not '-shut full', Rick? I apologize if my question just reveals my almost complete lack of knowledge regarding gfix, and that there is some good reason for using '-shut single' before restore.

By the way, you may consider adding 'o' to your 'gbak -r' if using Fb 2.x (look at and adding '-mode read_only' if this is a read only database.