Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two windows shares mounted and I would like to be able to backup the first into the second. The shares are found on a windows server 2003 machine. I was able to copy one folder to another windows share # 1, i figured I could use the same command.

rsync -azvv ~/mounts/share1 ~/mounts/share2. 

I figure that's probably not the right way, but I haven't been lucky in finding something useful in google.

share|improve this question

That should work but you'd do better to walk* over to one of the Windows machines in question, mount the other and do the transfer directly.

*Or Remote desktop/telnet/whatever Windows uses for remote admin these days.

Using your method you're sending traffic through your computer and frankly Samba isn't that fast on Ubuntu. If you bring it back to a pure-Windows transfer between only two computers, you'll likely get better rates.

If this is something you need to do on a very regular basis, you might want to look at installing FTP server and client software that supports FXP. That (essentially) allows direct connections between two FTP servers to transfer files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.