[<<]Message[>>]    [<<]Author[>>]    [<<]Subject        [<<]Thread    

Number : 7775 Date : 2004-04-27 Author : Kan Yabumoto Subject : Re: Network Backup Script Size(KB) : 2
Grim: wrote: >Greets All! > >New user here. > >I was wondering if there is a canned BAT file I could use for backing >up my network drives using XXcopy Pro. > >I have about 13 drives, would like to exclude some folders on a few >of them and the machine that will be running XXcopy is Win2k Pro. > >I am interested in a full backup once a month with incrementals in >between. > >I'd like to set it and forget it, can anyone let me know if this is >possible with this utility? > >I have been using Novastor but am not very confidant/happy with it. > >Thanks in advance for any and all help/suggestions. > >Grim (Tony) The simplest one is to copy the whole source volume into its backup volume (one source volume --> one destination volume). xxcopy c:\ d:\ /BACKUP This command performs a full backup at first. And, you can use the same command which will perform an incremental backup by skipping the files whose timestamp and size matches exactly to the one in the destination. This is a safe backup method, but the destination volume will eventually filled up with obsolete files because nothing is deleted in this method. So, to make an exact copy of the source volume to the destination, use the following command: xxcopy c:\ d:\ /CLONE This is a variation to the first one which deletes files or directory in the destination that are no longer present in the source. Since this operation involves deletion, you need to be alert (there will be confirmation prompts for deletion which should be suppressed for batch-file operation). In the both cases, the source and/or destination does not have to be the entire volume (the root directory) but could be a subdirectory. The more general formula is xxcopy \source_directory\ \destination_dir\ /CLONE You may use UNC naming for source and/or destination, xxcopy \\serverA\c\ d:\backup\serverA\c\ /clone Since XXCOPY handles only one directory at a time, you may create a batch file to do more: mybatch1.bat ----------------------------------------------------- xxcopy \\serverA\c\ d:\backup\serverA\c\ /clone xxcopy \\serverA\d\ d:\backup\serverA\d\ /clone xxcopy \\serverB\c\ d:\backup\serverB\c\ /clone ----------------------------------------------------- There are lots of variations: You may want to reduce the network load by adding a /NI switch. xxcopy \\serverA\c\ \dst\ /clone /NI:5 (Play with the value for an optimum result --- larger the number the more pause between file-copy). Once you create a batch file, you may place it in the scheduled tasks for automation. you should download the help file and make it handy. http://www.xxcopy.com/xxcopy.chm Other experienced members in this group may give you a lot more specific help (when you create your own batch file, you may post it here for critiquing). Kan Yabumoto
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.