I have two servers, A and B. I would like to clone server A to B. A is running Linux, and they are both remote, I don't have a physical access to them
What is the best way to approach this?
|
I have two servers, A and B. I would like to clone server A to B. A is running Linux, and they are both remote, I don't have a physical access to them What is the best way to approach this?
| ||||
feedback
|
|
I believe rsync is the solution here. I am not sure whether all files will be writable during an rsync session, though... Have you concidered making a dd clone of the partitions on server A and transferring it to server B? It sounds a bit wild, but perhaps as a last resort? | |||
|
feedback
|
|
For disk imaging, I like clonezilla, but you need physical access to boot from the disk to make it work. Honestly, I don't think you can do a completely lights-out remote full-system copy. rsync will only get you so far. If both have full systems already installed, and they are otherwise identical, then you can get the same apps installed on host B as are on host A. Then it's just a matter of copying the necessary config files from A to B. You don't necessarily need to copy everything. | |||
|
feedback
|