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?

link|improve this question

25% accept rate
What OS B computer is running? – jet Apr 1 '11 at 18:30
feedback

2 Answers

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?

link|improve this answer
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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.