Centos 5 Full backup

backupcentos

so I have my dedicated server that is set to expire tomorrow. What I need to do is a full backup of everything, with the OS and everything on it. And when I say full backup, I mean a backup that can easily be restored to another dedicated server. I have installed lots of third party stuff such as red5, cpanel, and solusVM. I also have my IPtables, and php configured just the way I need it. What would be the best way to do this so I can restore it to another dedi? Thanks.

Best Answer

dd if=/dev/sda1 of=disk.img

This makes a complete copy of your system, that you in theory could just reverse on another box, and everything might run.

There are probably much better solutions, but this one is one of the simple ones.

There might need some additional command switches, as this is very basic.

It is of course very important that you do not do this while the OS is running - do it from some kind of rescue system or live OS.

Related Topic