| --------------
rem  Incremental backup of my files
rem  /M copies only files with archive bit set, Clears archive bit
rem  /A copies only files with archive bit set, DOES NOT clear archive bit
rem  Sample:
Rem  xcopy C:\Documents and Settings\jblair\ e:\kma /M /S /C /F /H /Y
rem  Start of backup
xcopy C:\Backups\*.* j:\temp\Backups\ /M /S /C /F /H /Y
xcopy C:\Bricklin-mag\*.* j:\temp\Bricklin-mag\ /M /S /C /F /H /Y
xcopy C:\Eudora\*.* j:\\temp\eudora\ /M/S/C/F/H/Y
xcopy C:\jtb\*.* j:\temp\jtb\ /M /S /C /F /H /Y
xcopy C:\jtb-static\*.* j:\temp\jtb-static\ /M /S /C /F /H /Y
xcopy C:\Mac\*.* j:\temp\Mac\ /M /S /C /F /H /Y
xcopy C:\save\*.* j:\temp\save\ /M /S /C /F /H /Y
xcopy C:\utils\*.* j:\temp\utils\ /M /S /C /F /H /Y
xcopy C:\temp\*.* j:\temp\temp\ /M /S /C /F /H /Y
xcopy C:\Webs\*.* j:\temp\Webs\ /M /S /C /F /H /Y
xcopy C:\ZIPS\*.* j:\temp\ZIPS\ /M /S /C /F /H /Y
----------------------
Where the J: drive is my external drive.  The file copies all the updated
files to the appropriate directory in the "Temp" directory.  When the 
backup is complete, I rename the "temp" directory to the date, ie
"backup20060114".
Now if I have a hard drive crash, I start by restoring the files in my
complete directory, then from each of the incrementals.
I hope this is of some use to some of the list members.
John
 
John T. Blair  WA4OHZ     email:  jblair1948@cox.net
Va. Beach, Va             
Phone:  (757) 495-8229
          48 TR1800    48 #4 Midget    65 Morgan 4/4 Series V (B1106)
     75 Bricklin SV1 (#0887)    77 Spitfire    71 Saab Sonett III
                       65 Rambler Classic
Morgan:    www.team.net/www/morgan
Bricklin:  www.bricklin.org
If you can read this             - Thank a teacher!
If you are reading it in English - Thank a Vet!!
 |