Subject | Re: [firebird-support] moving db onto another machine |
---|---|
Author | Aage Johansen |
Post date | 2004-02-23T22:12:53Z |
On Mon, 23 Feb 2004 21:08:32 +0000 (UTC), Ronan van Riet wrote:
with a graphical interface as well, but I haven't used them lately. Check
the Firebird (or Interbase) documentation.
A typical command line for backup (-b) on Windows could be (watch out for
line wraps):
"C:\Program Files\Firebird15\bin\gbak" -b -v -user SYSDBA -passw masterkey
D:\DB\db.fdb C:\BCKP\db.fbk
To get a (short) list of parameters/options:
"C:\Program Files\Firebird15\bin\gbak" -h
To restore, use "-c" or "-r" option (watch out for line wraps):
"C:\Program Files\Firebird15\bin\gbak" -r -v -user SYSDBA -passw masterkey
C:\BCKP\db.fbk D:\DB\db1.fdb
--
Aage J.
> I am new to Firebird. What exactly is gbak? Who should I call it?gbak is Firebird's command line backup utility. There are backup utilities
> Is there a whitepaper that outlines it use?
with a graphical interface as well, but I haven't used them lately. Check
the Firebird (or Interbase) documentation.
A typical command line for backup (-b) on Windows could be (watch out for
line wraps):
"C:\Program Files\Firebird15\bin\gbak" -b -v -user SYSDBA -passw masterkey
D:\DB\db.fdb C:\BCKP\db.fbk
To get a (short) list of parameters/options:
"C:\Program Files\Firebird15\bin\gbak" -h
To restore, use "-c" or "-r" option (watch out for line wraps):
"C:\Program Files\Firebird15\bin\gbak" -r -v -user SYSDBA -passw masterkey
C:\BCKP\db.fbk D:\DB\db1.fdb
--
Aage J.