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?

link|improve this question

75% accept rate
feedback

1 Answer

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

link|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
feedback

Your Answer

 
or
required, but never shown

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