At 5/8/2003 01:00 PM -0400, Garth A. Hamilton - VE3HO wrote:

>If you create a batch files that open the program DXBase and have the call 
>to DXBase in the first line and then program you backup in the lines 
>following the call to DXBase, the batch file will make the call to DXBase 
>and then wait to get control back when DXBase closes and then it will 
>execute the additional lines of code and run your backup as detailed in 
>your batch file.
>
>73 Garth


For Windows 2000 you would use ntbackup.exe
My batch file looks like this (without the /m switch):

d:\dxbase 2004\dxbase2004.exe
ntbackup backup D:\dxbase2004 /j "Command Line Backup 4" /f 
"R:\DXB2004.bkf" /m incremental|differential|daily

The D:\dxbase2004 would be replaced with where ever your DXbase files are 
located.
The    "R:\DXB2004.bkf"   can be replaced with where ever you want to put 
the backup file .... it could even be a CD-RW, in which case you might want 
to rotate discs on a 5 day (or week - whatever backup strategy you are 
going to use) cycle.

It takes me 4 min 28 sec to back up 198Mb of DXbase2004 to a network drive 
over a 10Mbs ethernet connection.

The command line would, of course, be different for other operating systems 
that have a backup utility built into them.   I haven't written one for XP 
yet, but I'm sure it would look somewhat the same.

73    Hank    K8DD


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
The reason this message is shown is because the post was in HTML
or had an attachment.  Attachments are not allowed.  To learn how
to post in Plain-Text go to: http://www.expita.com/nomime.html  ---

Reply via email to