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

I have a 1 TB internal hardrive full of important files and media on a server running Ubuntu; I also have a 1 TB external hard drive that is plugged into the same server. What would be the best way to backup the internal drive to the external drive seamlessly?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

i'd vote Rsync if the important stuff is within a folder, I.E.

rsync -zuvr /home/users/me/myimportantstuff/ /media/usb/whatever/

For disk or partition cloning, use DD.

http://serverfault.com/questions/4906/using-dd-for-disk-cloning

share|improve this answer
    
+1 rsync really is a good tool. Though I might be tempted to use dirvish or rdiff-backup so that you can keep multiple versions. Just in case you need to go back in time. –  Zoredache Aug 18 '10 at 18:16
    
+1 on rsync. even better through rsnapshot (which uses rsync) to have multiple versions directly accessible –  Javier Aug 18 '10 at 22:08
    
Will rsync delete files on the external drive that have been removed from the internal drive? –  Petey B Aug 19 '10 at 22:57
    
It can if you want it to, its one of the flags. rsync --help should list them all. –  GruffTech Aug 20 '10 at 2:31

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.