1

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?

Izzy
  • 8,214
  • 2
  • 30
  • 35
Petey B
  • 173
  • 1
  • 10

1 Answers1

5

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.

Using DD for disk cloning

grufftech
  • 6,620
  • 4
  • 35
  • 37
  • +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 02:31