Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
What OS B computer is running? –  jet Apr 1 '11 at 18:30

2 Answers 2

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?

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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