On 2006.02.09 14:45, Tim Green wrote:
I'll give an example:
You have a file called VImportant.txt, and there is a copy on the backup drive.
One day you accidentally delete VImportant.txt, and then your script will delete the copy on the backup drive.
The file is gone, and so has the backup.
Are you sure this is what you want?
Tim.
Yes that is what I want. I probably shouldn't have used the term backup in my original post. I want to maintain a mirror copy of my main drive (no I don't want RAID) although I have a tape backup system in place.
The clean up operation, to remove redundant files, would take place only at infrequent intervals.
Jonathan give me a prod in the right direction. I don't have rsync installed but I do have Unison so I'm going to use that for the infrequent cleanups particularly as it has a GUI front-end. I can then check the files before they are deleted.
Thanks to all for the various suggestions.
Barry Samuels http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain