Subject Re: [firebird-support] Re: Is it safe to backup a database from another firebird server?
Author Martijn Tonies
Hi,

> > Two engines cannot access the same database file.
> >
> > A engine cannot access a file on another computer.
> >
> > > Even if gbak does not _lock_ the file?
> >
> > Gbak can only backup local files, or use the Services API to backup
> > a remote database. However, the backup will stay on the remote
> > computer.
> >
>
> So,
>
> What am I doing with this command? is it risky?
>
> [Local GBAK / Remote database / Local Backup]
>
> "C:\Program Files\firebird\firebird_1_5\bin\gbak" -b -v -g -user=20
> SYSDBA -passw masterkey NGDBSERVER:qcrep %0\..\hourly\QCR08H.fbk
>
> Why it works? I have been working just fine for years!

You're asking the server to perform the backup, I think.

And I think the '%0' points to a local share of some kind?

If that's not the case, then I'm mistaken, which could be possible
as well :-)

With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com