[K12OSN] RSYNC Question
Spencer, John
johns at model.com
Wed Mar 10 13:12:06 UTC 2004
The man page is very helpful, below is what I do:
rsync -avcz -e ssh $Sourcehost:/$path $destinationhost:/$path
a = archive **backup mode
v = verbose **good to not use when being run as a cronjob or as an unattended script, ie 'rsync -acz'
c = checksum **verify packets don't change in transit
z = compress **decrease network bandwidth needed for use
e = specify protocol to use, I prefer ssh to envrypt the packet traffic
_____
From: k12osn-admin at redhat.com [mailto:k12osn-admin at redhat.com] On Behalf Of Jim Kronebusch
Sent: Wednesday, March 10, 2004 9:45 AM
To: k12osn at redhat.com
Subject: [K12OSN] RSYNC Question
I have seen some stuff referring to rsync with backing up servers. Can anyone tell me how this works? Can I use this to make an exact copy of my running production server to a backup server of either equal or lesser hardware. Idea being that upon hardware failure of the production server I would have an up to date backup (or possibly only 24hrs behind) to swap in and run as a temporary production server until the main hardware was repaired. Let me know if this is feasible (maybe I need identical hardware) and if so where to start (what commands to issue). Ideally I would like to have the two machines running a scheduled periodic backup that was automatic and did not require any manual intervention.
Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.615 / Virus Database: 394 - Release Date: 3/8/2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20040310/cfd9d08c/attachment.htm>
More information about the K12OSN
mailing list