[K12OSN] NAS Backup
Jim Christiansen
christiansen_j at hotmail.com
Sat Mar 6 11:36:01 UTC 2004
Hi Kevin,
I've only been scanning the digests (SciFair, Yearbook, and Skills Canada
Competitions all coming at once!) so I don't know if this is what you need,
but will this help...
[root at linux-thin1 root]# pico -w /etc/cron.daily/rsync
#!/bin/sh
rsync -az -p -g -e ssh /home 192.168.1.6:/home2/thin
rsync -az -p -g -e ssh /etc 192.168.1.6:/home2/thin
rsync -az -p -g -e ssh /var 192.168.1.6:/home2/thin
rsync -az -p -g -e ssh /opt 192.168.1.6:/home2/thin
rsync -az -p -g -e ssh /usr/share 192.168.1.6:/home2/thin
This is the script I'm using now to backup my server... I'm even preserving
the perms now (had an oops the first time out).
I've also passed keys between my boxes so that the script runs unattended.
Works fine.
Jim
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN Premium
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
More information about the K12OSN
mailing list