I browse various solutions for backing up :

  • tar (and his -N option, for incremental tar files)
  • dump (and his level feature backing only new files, if wanted)
  • fsarchiver
  • CloneZilla ...

Starting from one point : I aim to copy my whole disk for 1.backing up 2. clone it to another same virgin machine. Or the same machine (full restore).

What s the best (quick sure) way ?

  • I used to do it with rsync – Arkadiusz Drabczyk Jun 22 '15 at 13:10
  • Ok, thanks, why actually ? – ArchiT3K Jun 22 '15 at 13:11
  • Personal preference. It works in command line and can use ssh to connect to a source host. Additionally, it can be used for creating incremental backups if one decided it's necessary in the long run. – Arkadiusz Drabczyk Jun 22 '15 at 13:13
  • ssh is a good point for rsync, note that rsync is less gentle about RAM than dump. "they are something to use for imaging filesystems, to be used instead of dd(1) or rsync(1), and good enough to backup your laptop to an external disk. Use something like zmanda or bacula if you need more" – ArchiT3K Jun 22 '15 at 14:50
  • tthank you. Does rsync embed all partitions in one backup ? or do you have to clone each one (boot, fs...) ? – ArchiT3K Jun 22 '15 at 14:52

To copy a disk to an identical disk use low level command dd. Or use tuned and safe save tools.

Obviously the copied disk have not to be accessed by the system (except dd itself).
dd is usually used to make a clone for a bootable disk to another bootable one.

Unix doc

Basic sample

  • I have been said dd copy empty space, while dump does not. Why not dump ? – ArchiT3K Jun 22 '15 at 14:47
  • dd is low level, copy bytes to bytes from disk cylinders, it does not know what it copy. dump needs data in a partition. If you need sauvegardes use tools tested and tuned for this operation. – cl-r Jun 22 '15 at 14:54
  • dump works on ext2/3 filesystems, you asked for a method to clone one disk to another disk. – X Tian Jun 22 '15 at 14:55
  • thanks @c-r . does that mean : dd copies all disk partitions (boot, fs, ...) to another disk ? dump does not manage boot partition ? – ArchiT3K Jun 22 '15 at 14:56
  • 4
    No, don't use dd – Gilles Jun 22 '15 at 22:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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