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

Number : 3445 Date : 2003-01-05 Author : Kan Yabumoto Subject : Re: Deleted Destination Files Size(KB) : 3
We always encourage the use of UNC to address remote computers rather than mapping it them by driveletter to mimic a local drive. When you use a UNC-based path and if the remote resource is not accessible, XXCOPY will terminate the session immediately by saying "Invalid source directory". Alternatively, you may use the switch of latest addition (we haven't really documented yet): /ILS // IF Label Src matches, continue /ILD // IF Label Dst matches, continue We recently added these switches but have not documented (not even in the help text). This is a variation to the existing /IP (if present) and /IA (if absent) switches. In the case of /IP /IA without parameter, it checks the presence/absence of the destination directory. If a parameter is, it checks the presence/absence of the item (directory or file) specified. These "IF" series of switches are a result of our paranoia. There are a number of scenarios that even a well tested batch file may go wild and cause a lot of damage. For example, in Win9X/ME systems, the driveletter assignment is primarily done by the BIOS at the beginning of a system boot. When you use the disk tray (Mobil rack), the drive letter assignment may change from time to time. When the hard disk which contains Drive D: is not detected by the BIOS (e.g., the disk tray is not firmly inserted), or when the disk simply fails, the drive letter assignment may become quite different. For example, when the second disk which normally receives driveletter D: is missing, the 3rd disk which is normally Drive E: will become D:. If you had XXCOPY c:\ d:\ /clone/yy and the regular D: drive is missing, the volume which was E: will become D:. As you can imagine, the above command will be equivalent to with a healthy D: XXCOPY c:\ e:\ /clone/yy and wipe out a lot of files from the 3rd volume when the drive for volume D: become missing. The use of /IP with the name of the file which is always present in D: but not in E: will prevent accident in the rare event of driveletter shifting. The /ILS or /ILD switch will use the volume label as an extra form of safety check. In the near future, we will document these new switches. But the feature is already available in the beta test version (v.2.83.4). Kan Yabumoto ============================================================ At 2003-01-04 22:55, you wrote: >Hello, >Stuck on this one. Any ideas why? > >Using /clone, I am cloning files off of a pc on the LAN. > >If the connection is 'broken' (i.e. other pc is shut off), the /clone >operation deletes the previously backed up files anyway from the >destination. > >xxcopy z:\ c:\pc2bu /clone >//the operation is being called by pc1 which is c:\ > >Where z:\ is the source, and c:\pc2bu is the dest, all of yesterdays >copies on the dest are erased if pc2 is shut off, even though xxcopy >could not perform the copy successfully, since the source was not >found (it was shut off). > >Any input would be very appreciated, as I keep losing my entire >backup copy of the pc2 files. > >Thanks >Rich >(Kan 'taught us to fish', but sometimes the worm just gets away)
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.