Subject Re: [firebird-support] Nbackup won't unlock db
Author Helen Borrie
At 05:36 AM 12/05/2009, you wrote:
>Hello,
>We are using nbackup to lock our database, at which point we do a file copy/zip backup. I am trying to run nbackup -F to unlock the file and get the following error:
>
>Failure: Database is not in state (0) to be safely fixed up
>
>I've found no search results for this on google. According to the nbackup docs, the -f flag sets the state flag in the file from locked (nbak_state_stalled) to normal (nbak_state_normal)
>
>does anyone know how to get past this?

Use the -N switch to unlock the database.

The -F switch is for unlocking a restored database that has been restored after being backed up while the lock was on.

./heLen