Syncing files on a home network
ruscook
ruscook_oz at yahoo.com.au
Mon Jun 11 03:09:07 UTC 2007
Cliff,
Rsync does not "require" s/w at both ends. It can take advantage of it
to compress data streams etc, but if it's a SMB share or other local
partition it will quite happily write to it as well as via the
client/server mode.
Here's the syntax for a local copy (it would not matter if
/mnt/root/home is local or SMB as long as it's mounted).
rsync -avhx --stats --delete-after /home/ /mnt/root/home/
I have this in root's crontab for a 4 times a day sync between
partitions (there's an issue with mirroring at the moment so this is my
workaround). Note the --delete-after switch.
Russ
Cliff Hall wrote:
> Thanks to those who responded. It looks like Unison, like rsync,
> requires that software be running on both ends. This will work great
> for my music server, but not for the network drive, which is not a
> computer and can't load and run programs. If anything comes to any of
> you as a solution for this while you're daydreaming in the shower or
> something, let me know.
>
>
--
Kind Regards Russell
==================
www.windsorcycles.com.au
sales at windsorcycles.com.au
ph. 02 4577 3209
bikes.no-ip.info
Linux user #369094
==================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bike_oz.vcf
Type: text/x-vcard
Size: 127 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070611/dafdd652/attachment.vcf>
More information about the ubuntu-users
mailing list