Using DeltaCopy to backup to a mapped network drive
July 16, 2010 9:34 AM Subscribe
On Windows, is there a way to use DeltaCopy to backup to a mapped network drive? (the mapped drive is on a NAS)
It works fine when I backup to a local drive, but when I try to backup to the mapped drive, I get these lines in the log file:
Executing: rsync.exe -v -rlt -z --chmod=a=rw,Da+x --delete "/cygdrive/E/testFileToBackup.txt" "maincomp::targetMappedDrive/testFileToBackup.txt" @ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/main.c(1504) [sender=3.0.4]
It works fine when I backup to a local drive, but when I try to backup to the mapped drive, I get these lines in the log file:
Executing: rsync.exe -v -rlt -z --chmod=a=rw,Da+x --delete "/cygdrive/E/testFileToBackup.txt" "maincomp::targetMappedDrive/testFileToBackup.txt" @ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/main.c(1504) [sender=3.0.4]
Response by poster: Thanks Rhomboid, yes, I think DeltaCopy is a program that adds a gui to rsync. I was using it because I didn't want to attempt rsync on my own. Would I just use rsync in a command line script? If you know how, could you tell me what syntax I should use in the rsync command?
posted by atm at 7:40 PM on July 16, 2010
posted by atm at 7:40 PM on July 16, 2010
The log file entry is showing you the rsync command that it was trying to execute, so if you just clean up the syntax of the destination then you should be good to go. Alternatively, if DeltaCopy has a field for the destination that is free-form then you might be able to get it to work by changing that, i.e. try using a UNC path instead of a drive letter or vice versa.
posted by Rhomboid at 7:30 AM on July 17, 2010
posted by Rhomboid at 7:30 AM on July 17, 2010
Response by poster: I see the rsync switches used in the rsync command, but can you tell me how the target and destination should be entered because I don't quite understand how to do it? I'm backing up the folder e:\data and putting it in the folder \\nas\databackup which is mapped to my R: drive. (Maybe it's a DeltaCopy thing and not an rsync thing, but the "maincomp" is my computer's name and is the "server" part of the client/server DeltaCopy setup.) DeltaCopy's gui doesn't allow for free-form source or destination entry (I guess that's one of its "appeals").
posted by atm at 4:27 PM on July 17, 2010
posted by atm at 4:27 PM on July 17, 2010
This thread is closed to new comments.
posted by Rhomboid at 2:57 PM on July 16, 2010