Subject | RE: [firebird-support] Equivalent of GbakSchd for Linux |
---|---|
Author | Salim Naufal |
Post date | 2004-05-07T11:52:10Z |
Use the crontab of linux
For example,
Crontab -e
Then in the editor set the following line:
50 16 * * 1-5 /backups/backup.sh
(at 16:50, every day, evey month, from Monday to Friday, execute the
/backups/backup.sh script)
in the /backup/backup.sh script, set
/opt/firebird/gbak -b (-T if you want it transportable) -user sysdba
-password masterkey (or other pwd) /database/db.fdb /backup/db.fbk
you can also add the compression
gzip -9 (for maximum compression) /backup/db.fbk
-----Original Message-----
From: Tom Munro Glass [mailto:tom@...]
Sent: Friday, May 07, 2004 7:35 AM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] Equivalent of GbakSchd for Linux
Is there an equivalent of the very useful GbakSchd.exe utility for Linux?
I'm looking for a way of doing 'smart' backups, i.e. daily, weekly and
monthly files.
Regards,
Tom Munro Glass
[Non-text portions of this message have been removed]
Yahoo! Groups Links
For example,
Crontab -e
Then in the editor set the following line:
50 16 * * 1-5 /backups/backup.sh
(at 16:50, every day, evey month, from Monday to Friday, execute the
/backups/backup.sh script)
in the /backup/backup.sh script, set
/opt/firebird/gbak -b (-T if you want it transportable) -user sysdba
-password masterkey (or other pwd) /database/db.fdb /backup/db.fbk
you can also add the compression
gzip -9 (for maximum compression) /backup/db.fbk
-----Original Message-----
From: Tom Munro Glass [mailto:tom@...]
Sent: Friday, May 07, 2004 7:35 AM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] Equivalent of GbakSchd for Linux
Is there an equivalent of the very useful GbakSchd.exe utility for Linux?
I'm looking for a way of doing 'smart' backups, i.e. daily, weekly and
monthly files.
Regards,
Tom Munro Glass
[Non-text portions of this message have been removed]
Yahoo! Groups Links