I've done something similar in the past to back up the Music directory
on my Linux based server (which I use to run SqueezeCenter) to the
external USB drive connected to my Windows desktop.

1. Share the folder from your Windows machine.
2. Mount this to your Linux box

mount.cifs //192.168.0.10/Slimserver /homerdrive/Slimserver -o
user=nolan

3. Perform the rsync. The --delete flag also replicates deletions from
the source.

rsync -ar /home2/Slimserver/* /homerdrive/Slimserver --modify-window=10
--delete --progress

192.168.0.10 is my Windows machine and /homerdrive/Slimserver is the
mount point for the Windows share I have created on my Linux machine.

I'm doing something sightly different now as I bought a 1TB WD Netbook
(as sold by PC World for £150) which after a few simple hacks turns
into a tiny Linux server so my Windows box isn't involved any more but
this backup method worked fine when I was doing it.


-- 
nolan
------------------------------------------------------------------------
nolan's Profile: http://forums.slimdevices.com/member.php?userid=7440
View this thread: http://forums.slimdevices.com/showthread.php?t=46883

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to