N
null
I've recently added a verification check to my backup.bat file and
thought others might be interested. The use of xxcopy for routine
backup to another hard drive has been discussed here in the past. I
use the versatile locate.com by Charles Dye for verification. It also
supplies additional useful data. It can be downloaded from here:
http://www.highfiber.com/~raster/freeware.htm
Place both xxcopy.exe and locate.com in the same folder as the below
backup.bat file:
**********************************************************************
@echo off
cls
echo -----------------------------------------------------------------
echo CLONING DRIVE C: TO DRIVE D:
echo -----------------------------------------------------------------
xxcopy c:\ d:\ /clone/YY
cls
echo ----------------------------------------------------------------
echo GENERATING DRIVE C: DATA SUMMARY
echo -----------------------------------------------------------------
locate c:\*.* /s
echo -----------------------------------------------------------------
echo GENERATING DRIVE D: DATA SUMMARY
echo -----------------------------------------------------------------
locate d:\*.* /s
echo -----------------------------------------------------------------
echo FINISHED!
echo -----------------------------------------------------------------
********************************************************************
Info produced by locate.com using the /S (summary) switch includes:
1. Total number of items found (files plus directories)
2. Total number of files and how many have the hidden or system file
attribute set (H/S)
3. Total number of directories and how many have the hidden or system
file attribute set (H/S)
4. Total number of bytes stored on the drive
I find that the summary reports for the two drives are identical with
one peculiar exception. On my Win ME PC there's a directory off of
Windows named RECENT. It's copied ok but there are no special file
attributes on the source directory while the destination directory is
copied with hidden and read-only attributes set. I don't why this
happens but it's obviously no problem.
I'll note that I no longer use any exclusions since I wish to see that
everything copies exactly and the total numbers of files and folders
agree identically. There's no harm in allowing the swap file to copy
(which it does).
Also, I've abandoned system restore since it's unnecessary when using
a cloned backup drive. I've found that after disabling system restore
you can delete the entire c_restore structure with no ill effect. I do
this after booting using the system boot diskette and then typing:
deltree /y c:\_restore
Art
http://www.epix.net/~artnpeg
thought others might be interested. The use of xxcopy for routine
backup to another hard drive has been discussed here in the past. I
use the versatile locate.com by Charles Dye for verification. It also
supplies additional useful data. It can be downloaded from here:
http://www.highfiber.com/~raster/freeware.htm
Place both xxcopy.exe and locate.com in the same folder as the below
backup.bat file:
**********************************************************************
@echo off
cls
echo -----------------------------------------------------------------
echo CLONING DRIVE C: TO DRIVE D:
echo -----------------------------------------------------------------
xxcopy c:\ d:\ /clone/YY
cls
echo ----------------------------------------------------------------
echo GENERATING DRIVE C: DATA SUMMARY
echo -----------------------------------------------------------------
locate c:\*.* /s
echo -----------------------------------------------------------------
echo GENERATING DRIVE D: DATA SUMMARY
echo -----------------------------------------------------------------
locate d:\*.* /s
echo -----------------------------------------------------------------
echo FINISHED!
echo -----------------------------------------------------------------
********************************************************************
Info produced by locate.com using the /S (summary) switch includes:
1. Total number of items found (files plus directories)
2. Total number of files and how many have the hidden or system file
attribute set (H/S)
3. Total number of directories and how many have the hidden or system
file attribute set (H/S)
4. Total number of bytes stored on the drive
I find that the summary reports for the two drives are identical with
one peculiar exception. On my Win ME PC there's a directory off of
Windows named RECENT. It's copied ok but there are no special file
attributes on the source directory while the destination directory is
copied with hidden and read-only attributes set. I don't why this
happens but it's obviously no problem.
I'll note that I no longer use any exclusions since I wish to see that
everything copies exactly and the total numbers of files and folders
agree identically. There's no harm in allowing the swap file to copy
(which it does).
Also, I've abandoned system restore since it's unnecessary when using
a cloned backup drive. I've found that after disabling system restore
you can delete the entire c_restore structure with no ill effect. I do
this after booting using the system boot diskette and then typing:
deltree /y c:\_restore
Art
http://www.epix.net/~artnpeg