On 08/07/2012 02:49 PM, Ryan Byrd wrote:
> 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}
I've done this many times in the past. If you pass rsync the "-x" flag
it won't traverse mounted filesystems, so rsync won't clone /sys or
/proc (though it will clone the mount point itself). Also you will need
to pass the "-H" flag to recreate hard links.
After rsyncing to a new file system you will have to install grub and
write the boot loader, which can be a bit difficult. I can't remember
the exact procedure, but I'm sure google can help with this.
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/