[Dxbase] Backup plan and batch file
Art Searle W2NRA
w2nra at birdsandbeacons.com
Sun May 23 12:20:11 EDT 2004
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:\Backup5円th\*.* F:\Backup6円th\ /E /R /Y
xcopy F:\Backup4円th\*.* F:\Backup5円th\ /E /R /Y
xcopy F:\Backup3円rd\*.* F:\Backup4円th\ /E /R /Y
xcopy F:\Backup2円nd\*.* F:\Backup3円rd\ /E /R /Y
xcopy F:\Backup1円st\*.* F:\Backup2円nd\ /E /R /Y
xcopy C:\DXbase\*.mdb F:\Backup1円st\ /E /R /Y
xcopy C:\DXbase\*.wcf F:\Backup1円st\ /E /R /Y
xcopy C:\DXbase\*.co F:\Backup1円st\ /E /R /Y
xcopy C:\DXbase\*.ini F:\Backup1円st\ /E /R /Y
copy C:\Windows\Dxb2005.ini F:\Backup1円st\
73,
Art
W2NRA
More information about the Dxbase
mailing list