Subject RE: [firebird-support] gbak restore suddenly stops working
Author Bob Murdoch
Helen,


> -----Original Message-----
> From: firebird-support@yahoogroups.com
> [mailto:firebird-support@yahoogroups.com] On Behalf Of Helen Borrie
> Sent: Tuesday, April 04, 2006 10:42 AM
>
> >There were no changes to the scripts. The command in the
> >script looks like this:
> >
> >e:\firebird\bin\gbak.exe -C -user sysdba -password masterkey -p
8192
> >-o -v -y f:\ib\company\Logs\RestoreLog.txt
> >f:\ib\company\backup\company.fdb.Bak
> >f:\ib\company\RestoreTest\company.fdb
>
> If you use the -C[reate_database] switch you can't restore to a
> database name that already exists in the folder that you are
> restoring to. You should use a different file name for the new
> database, e.g. company_restored.fdb.

The file is restored to a folder called 'RestoreTest'. This folder is
emptied as part of the script, prior to the restore. I have confirmed
that the folder is empty prior to running gbak at the command line.

Bob M..