When is it appropriate to use `dump` vs `rsync`?

When is it appropriate to use dump vs rsync for backups?


Solution 1:

Having expended far too much time with dump, it is probably best relegated to history. Its primary design goal was to be as efficient as possible with slow filesystems and the constraints of magnetic tape.

Those design criteria no longer obtain and I cannot imagine a situation (aside from legacy systems) where dump would provide any advantage.

Solution 2:

dump is traditionally used in cases where you need to image an entire device once, and not keep backing it up incrementally. Since it was created in a time where magnetic tapes were popular, random disk writes were not all that possible, making incremental backups nearly impossible.

rsync is a more robust tool that doesn't try to account for those obsolete technologies. This allows it to have random access to the backup destination and lets it take true incremental backups.

dump functions at a lower level than rsync, so you can actually ask it to dump unmounted filesystems, which AFAIK isn't a possibility with rsync. Other than that, rsync is a superior tool in almost every way, and allows you to minimize transfer, which is especially useful over network backups.