Hi Andrew,

> Thanks, yes I've seen that. It does work well.
> 
> I need a braindead user "click on a button" backup option though.

This code from one of my webapps might suffice. The SHELL 
statement is a WebHub macro which basically does an 
EexecuteFile. The backup batch file it calls is below it:

%=SHELL|d:\sites\thissite\dbbkp.bat=%

== dbbkp.bat:

del db.zip

"d:\program files\interbase corp\interbase\bin\gbak" -user 
USERNAME -password pwd d:\sites\thissite\db.gdb db.gbk

pkzip -add -move db.zip db.gbk

== ends

(uses pkzip 2.05 for that last step)


cheers,
peter

============================================
Peter Hyde, WebCentre and SPIS, Christchurch, New Zealand 
* Web automation for online periodicals: http://TurboPress.com
* TurboNote: http://TurboPress.com/tbnote.htm
  -- small, FREE and very handy
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to