Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is it possibe to clone a ubuntu system and is there any way to automatically replicate(sync) the changes made on a system(orginal) to another(replica) to use it as a backup?.Just like duplicate.

This should not effect the orginal ubuntu system.

share|improve this question
    
What do you mean, replicate? Are we talking configs? All data on your hard drive? Your home directory? –  Andrew M. Sep 19 '10 at 17:00

2 Answers 2

You should try clonezilla http://clonezilla.org/

share|improve this answer

You can use the linux command "dd" to clone your hard disk. Note that this will clone every byte of your disk, no matter if its "used" or not (thus, this is timeconsuming).

Then you could setup rsync to handle replication.

Answer to the comment: rsync can synchronize files and folders both locally, and remotely over ssh. The syntax is straight forward: "rsync [OPTION...] SRC... [DEST]"

It would be easy to automate using CRON (man crontab).

Here is more information on rsync. http://www.samba.org/ftp/rsync/rsync.html

share|improve this answer
    
How to use rsync to replicate with remote system and how to automate this? –  user53864 Sep 20 '10 at 0:59
    
I edited the answer to try to answer your comment. –  Avada Kedavra Sep 20 '10 at 6:48

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.