![]()
[<<]Message[>>] [<<]Author[>>] Subject [<<]Thread
Number : 2496 Date : 2002-07-19 Author : Kan Yabumoto Subject : Re: /CLONE - Need to delete destination files older Size(KB) : 2
Powersandseven: First of all, the /CLONE switch alone automatically removes any file from the destination that is no longer present in the source immediately (without waiting for 3 months). If you want your version of /CLONE to preserve files that have been removed from the source, then, you should use /CLONE/Z0 (the /Z0 switch disables the /ZY switch that is included in the /CLONE shortcut). Now, by disabling the Zapping feature (removing files from the destination which are no longer present in the source), you will start accumulating tons of files that are usually not important. It is a good strategy to keep them for 3 months before removal (if you can afford the extra space). To do so requires a different command: xxcopy \\server\c\backup-dest\ /rsy/pd0/s/r/h/db#90 (make sure that the directory name is spelled correctly --- the /pd0 switch is suppress the warning for checking that) So, my suggestion is to create a batch file to run the two lines: mybackup.bat ----------------------------------------------------- xxcopy \\server\c\backup\ /rsy/pd0/r/s/r/db#90 xxcopy c:\ \\server\c\backup\ /clone/z0 ----------------------------------------------------- (adjust the server and directory names as well as the duration to keep old discarded files /DB#90 keeps files that are 89 days or younger). Kan Yabumoto ======================================================== At 2002-07-18 08:30, you wrote: >I hope someone can help here. > >We use xxcopy to backup users C: drive data folders to a backup >server. Incremental backups are performed and everything works fine. > >However, we are now running a little short of disc space and >the /CLONE option will help by removing files from our backup server >that have been deleted from the C: Drive (Source). > >What I want to be able to do is perform a /CLONE operation but if the >source file does not exist and the destination file is 3 months or >more old, then we remove the destination file. If it's under 3 >months old, we still keep it on the backup server. > >This way, users have the ability to recover files they may have >deleted by mistake last week for example. > >What command line switch options should I use. > >Thanks for your help
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.