On Aug 7, 2012 2:49 PM, "Ryan Byrd" <[email protected]> wrote:
> [root@CurrentlyRunningServer ~]$ rsync -ave ssh --delete /* root@NewServer
:/
>
--exclude={/etc/sysconfig/*,/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found,/home/*/.gvfs}
>
> Then he'd just set up the new ip addresses on the new server, and WHAMMO!
> web server #2.
>
> Good idea? bad idea? something better?

You should check out tool like salt or chef. They were designed to do thing
like this, but in a cleaner, more reliable manner.

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to