[K12OSN] Simple RSYNC question
Jim Kronebusch
jim at winonacotter.org
Thu Oct 6 13:29:07 UTC 2005
> One trick is to add -n to the options which will make rsync
> not really do anything, but if you are also using -v it will show
> you what would happen in a real run. If everything looks
> reasonable, then run it again without the -n to really do it.
> When I build new servers I usually set the new one up with a
> different name/ip address and rsync most stuff over ahead of
> the switch and check that things generally work. Then at the
> last minute I shut down services on the old server, do a
> final rsync of user data like /home and /var/spool/mail with
> the --delete option on. This goes quickly unless there are a
> lot of changes. Then I change the names and IP numbers on
> both servers and reboot so in a few minutes more than a
> reboot, the new box takes over.
Thanks for the extra tips Les. I might give it a go close of business
today. Keeping my fingers crossed :-)
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.10/120 - Release Date:
10/5/2005
--
This message has been scanned for viruses and
dangerous content by the Cotter Technology
Department, and is believed to be clean.
More information about the K12OSN
mailing list