Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This question is motivated from a reply by Craig Sanders. Thanks, Craig!

In what case, are byte or block level backups, i.e. disk or partition image backups, more suitable than file-based backups?

For example,

  • for routine backup of partitions and disks,

  • for case of emergency when data is lost, and one would like to create a copy and restore later, in order to perform different data recovery applications/methods to see which one actually works.

One example of byte or block level backups, i.e. disk or partition image backups is dd.

Some examples of file-based backups are cp and rsync.

Thanks!

share|improve this question
    
Disk images are mostly useful for BMR (bare metal restore). In Linux you can typically BMR with file backups, but not as easily. –  jordanm Sep 11 '12 at 1:09
    
In my opinion, the file-based are better. When you lost the half of your backup, it's easiest recover the other half with a backup system based on files. But jordanm is right with the backups of bare-metal. –  Juan Francisco Cantero Hurtado Sep 11 '12 at 1:31
add comment

1 Answer 1

Any instance when information outside of the file system needs to be saved. I can think of two instances:

  • As mentioned in the comments, bare metal restores when the boot sector and partition table need to be saved so an exact copy of a server can be created.
  • Some databases can be configured to write to a raw partition and not use a file system
share|improve this answer
add comment

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.