Subject Re: {Disarmed} Re: [firebird-support] Using a batch file to run a nightly bakup using GBAK
Author Michael Ludwig
SoftTech schrieb am 20.12.2010 um 07:53 (-0600):
> When I say the batch file does not work, I simply mean that GBAK does
> not execute and create the backup files.

Probably a batch script error.

> How do other developer setup a nightly backup of the database that is
> automated and uses GBAK to do it?

You need some driver technology such as the Shell, or Perl, or VBScript;
define the requirements; and then implement them.

> If other developers use a batch file to do this and could share what
> they do that is what I need.

> If you still think this may be off topic, please let me know

GBAK is certainly on-topic. But the issue here is the batch script,
not GBAK. :-)

I'd tackle the issues separately:

First, define what you want GBAK to do, and get it to work without any
scripting, all by itself.

Then, code up a script that does some harmless echo commands to work
with a loop as per your requirements.

Finally, combine the two.