[Samba] Copying

Daniel Ramaley daniel.ramaley at DRAKE.EDU
Tue Sep 21 13:22:11 GMT 2004

>This is probably a permissions issue, but I just can't see a way of
>getting round this other than logging in as each user and copying the
>home directoris that way.
I believe rsync will do what you want. I use it for backing up files 
from one machine to another. Here's the command i usually use:

rsync -avvR --delete --rsh="ssh -c arcfour" /source remote:/remotedir

where "source" is the source directory on the machine being copied, 
"remote" is the remote server name, and "remotedir" is where you want 
the files to go on the remote server.

The "-c arcfour" in the ssh command seems to speed the transfer.

On Tuesday 21 September 2004 04:47 am, Karl Wheeler wrote:
>First up samba is great, I've been running samba for over three years
>now and I've never had any seriuous probs. But now I have come up
>against a problem that I can't solve.
>I've recently created a backup server that I want to copy my samba
>shares too on a daily basis. ( I already do a tape backup of the main
>server every day with no probs, but hey I'm paranoid OK :)
>I have mounted the relevant partitions from the backup server and
> tried to copy over the files. This works OK for the '/shared/'
> driectories but it won't work with the /home directories.
>I'm gratefull for any help or comments ( and flaming, probably )

Dan Ramaley
Digital Media Library Specialist
(515) 271-1934
Cowles Library 140, Drake University

More information about the samba mailing list