Linux Friends:

Picture this: a "friend of mine" just set up a redhat linux machine running
a website with apache/php/etc. It took a long time to get everything just
right.

Goal: He'd like so-called clone this live-running machine's files to a new
freshly installed clean redhat linux machine so he doesn't have to repeat
the effort. He wants two webservers all set up whereas he has only one
presently.

He's imagining something like this:

[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?

-R

/*
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