What is the best way to clone a server? Files and OS, everything.
What is the best way to clone a server? Files and OS, everything.
clonezilla
won't do raid
I've been reading that dd command is the way to go. How do you dd over SSH?
http://serverfault.com/questions/515...and-ssh-tunnel
the simpliest invocation would be something like
but be careful what you wish for.Code:dd if=/dev/sdX bs=1M | ssh root@dstMachine " dd of=/dev/sdY bs=1M"
Depending on what you think "best" means, a clonezilla life CD might be best.
Cloning? As in taking one server and mass-produce a bunch of identical servers...I don't know. I have always been of the mindset to create each new server from scratch.
If you are just talking about backup and restore to a backup server in the event of a disaster, I use a combination of LVM + LVM Snapshot + FSArchiver. I have a click-for-click guide in my sig that covers it.
LHammonds
Bookmarks