Hi All,

I've been using a batch file to back up DXBase.
This file allow me to save several itenerations of
my backup without corrupting previous backups.  If
I were to back up weekly I would have backups
going back over a month.  If you wanted to expand
this file to have more itenerations just ad more
commands to the front of this file.  Obviously the
only drawback would be to back up too often.  The
first 5 lines of the file only moves older
versions of your backups to older folders.  With
each backup your oldest one is overwritten.  The
folders [F:\Backup] & [C:\DXbase] are for
reference.  You should change the names
[F:\Backup] to where you want your backup and
[C:\DXbase] to where you have installed DXbase.
You will also have to create the subdirectories
1st thru 6th or more if you added any to where you
created your backup folder.


xcopy F:\Backup\5th\*.* F:\Backup\6th\ /E /R /Y
xcopy F:\Backup\4th\*.* F:\Backup\5th\ /E /R /Y
xcopy F:\Backup\3rd\*.* F:\Backup\4th\ /E /R /Y
xcopy F:\Backup\2nd\*.* F:\Backup\3rd\ /E /R /Y
xcopy F:\Backup\1st\*.* F:\Backup\2nd\ /E /R /Y
xcopy C:\DXbase\*.mdb F:\Backup\1st\ /E /R /Y
xcopy C:\DXbase\*.wcf F:\Backup\1st\ /E /R /Y
xcopy C:\DXbase\*.co F:\Backup\1st\ /E /R /Y
xcopy C:\DXbase\*.ini F:\Backup\1st\ /E /R /Y
copy C:\Windows\Dxb2005.ini F:\Backup\1st\

73,

Art
W2NRA



Reply via email to