Subject Re: [firebird-support] Backup on Linux
Author Milan Babuskov
jobrian_t wrote:
> Im a bit new in Firebird specially on Linux. I read several articles
> pertaining the use of gbak. My problem is I do not know how to
> automate it to run on a daily basis. I wish I could backup the
> database using the date as its filename, something like this
> DB = employee.gdb
> Backup = employeeAug102005.gbk
> employeeAug112005.gbk

Use this:

gbak -b employee.gdb employee`date +%F`.gbk

Read the man page for "date" command for various formats.

--
Milan Babuskov
http://www.flamerobin.org