Re: Verification
2001-08-23 10:58:25
Why to rename the original ?!? Why not to rename the restored file !?!
Look at TSM Quick Reference for the Backup-Archive Clients (or in Using the
Backup-Archive Clients) :
"DSMC REStore [FILE] [options] sourcefilespec|"sourcefilespec"
[destinationfilespec] "
You can use very simple script similar to this:
find $FILES_DIR -type f -print | while read i; do
dsmc restore -replace=yes $i $TMP_FILE
cmp -s "$i" $TMP_FILE
echo "$i --> $?" >>$RESULTS_LOG
done
rm $TMP_FILE
This uses same name for temporary restore and does not occupy more space
than your largest file. At the end we clean-up it and results (only) are in
$RESULTS_LOG. $TMP_FILE can point everywhere unless there is enough space
for the file. Note usage of "$i" - this can help if you have names with
spaces.
Zlatko Krastev
IT Consultant
John Naylor <John.Naylor AT SCOTTISH-SOUTHERN.CO DOT UK> on 23.08.2001 12:04:05
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
cc:
Subject: Re: Verification
Mathew,
My thought is, suggest to the client that they pick a file/files at random.
rename the original, restore the backup and get the client to check that it
is
an exact copy.
**********************************************************************
The information in this E-Mail is confidential and may be legally
privileged. It may not represent the views of Scottish and Southern
Energy plc.
It is intended solely for the addressees. Access to this E-Mail by
anyone else is unauthorised. If you are not the intended recipient,
any disclosure, copying, distribution or any action taken or omitted
to be taken in reliance on it, is prohibited and may be unlawful.
Any unauthorised recipient should advise the sender immediately of
the error in transmission.
Scottish Hydro-Electric and Southern Electric are trading names of
Scottish and Southern Energy Group.
**********************************************************************
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Verification, Matthew Large
- Re: Verification, John Naylor
- Re: Verification, Warren, Matthew James
- Re: Verification, Matthew Large
- Re: Verification, Cook, Dwight E
- Re: Verification,
Zlatko Krastev/ACIT <=
- Re: Verification, Allen Barth
- Re: Verification, Bandu Vibhute (GWB)
- Re: Verification, Zlatko Krastev/ACIT
|
|
|