Home > Data Backup Tips > Backup and recovery > Using Dump for Linux/Unix data backup
Data Backup Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

Using Dump for Linux/Unix data backup


Rick Cook
Rating: -4.50- (out of 5)

Dump is a standard utility for backing up file systems on Linux, Unix and BSD machines. It's free, powerful, fast and, in spite of its drawbacks, is widely used to back up *nix systems. Dump is losing some ground to third-party backup software, but because of its advantages many users prefer it. Here are some of the major advantages and disadvantages of using dump to back up your data.

Dump is free.

Nearly every version of Linux, Unix or BSD comes with dump; all of them are similar. There are enough differences that you need to study the documentation of your particular version before using it, but once you understand dump you pretty much understand it on all *nix systems.

Dump is time-tested.

Dump originally appeared in Unix Version 6 and has been used by administrators for file system backups for well over a decade. It is thoroughly tested and well-understood in the Unix/Linux/BSD communities.

Dump handles nine levels (or more) of incremen...


RELATED CONTENT
Backup and recovery
An introduction to Microsoft SharePoint 2007 backup and recovery
How to back up encrypted files and how to use the Encrypting File System
Protecting disk-to-disk backups and continuous data protection
Cloud data backup management: Users see new options for cloud storage administration
New features in VMware vSphere that benefit data backup and recovery
Preventing tape backup system disasters
Using different types of storage snapshot technologies for data protection
Top five tape storage backup and recovery tips
Storage snapshot technologies in data backup and recovery
Top 10 data backup and recovery tips of 2009

Tape backup and tape libraries
Preventing tape backup system disasters
Data backup and recovery planning in 2010: Mr. Backup's predictions
Top five tape storage backup and recovery tips
Secure-24 switches to EMC virtual tape library -- sans data deduplication
Data deduplication tools move into data backup infrastructure, but tape media hangs on
An introduction to data backup tape rotation schemes
Data backup security strategies: A tutorial on cloud security, encryption and data destruction
Texas Tech turns to data deduplication for data backup, disaster recovery
Data backup and recovery news briefs: Rackspace unveils cloud-based file storage apps
Spectra Logic looks to leapfrog high-end tape storage market with T-Finity tape library

Backup and recovery software
Data backup and disaster recovery Products of the Year winners
Data backup and recovery briefs: STORServer Reporter v2.5 is released for Tivoli Storage Manager
What are some examples of open-source data backup tools?
An introduction to Microsoft SharePoint 2007 backup and recovery
Bocada rewrites data backup reporting app, launches Prism to focus on SLA compliance
Choosing the best data backup tool: Disk backup critical, data dedupe a must-have feature
Data backup and recovery briefs: Dmailer announces new backup software: Dmailer Backup v 2.9
Using different types of storage snapshot technologies for data protection
Storage snapshot technologies in data backup and recovery
Users weigh mobile device backup and recovery options

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
shoeshining or backhitching  (SearchDataBackup.com)
Tower of Hanoi backups  (SearchDataBackup.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


tal backups.

One of the best features of dump is its ability to do incremental backups. The original versions of dump could do nine levels of backups, and the latest versions can do even more. Dump's incremental backup lets you set up elaborate backup schedules with just a couple of switch settings and a simple script. For example, setting up a Tower of Hanoi backup scheme is easy with dump.

For more information on the Tower of Hanoi and other backup schemes, check out this related article on tape rotation strategies.

Dump is fast.

Because it is based on blocks, not files, dump is extremely fast.

However, dump also has some drawbacks, which is why it's losing ground in the *nix world to other backup utilities, including commercial products. Some disadvantages include:

Dump backs up file systems, not files.

Because it is block-based, dump isn't oriented toward files. It doesn't have a lot of fine control at the file or directory level. For backing up individual files, utilities like tar or cpio are better.

It doesn't work with all file systems.

Dump works with ext2/ext3 file systems. It doesn't support FAT, RieserFS or most other file systems. Needless to say it doesn't work with Windows either.

Dump is complex.

Dump is a classic example of a *nix utility. There are a lot of switches, not much explanation and dump assumes you mean what you tell it. It's powerful, but when used carelessly it can hopelessly corrupt your backups, or your entire file system.

It (mostly) can't handle files that change while the filesystem is being backed up.

Dump is not designed to back up active file systems and if a file changes during the process, the backup is likely to be corrupted. To use dump successfully you need to be sure that the file system is inactive, back it up when it is not being used or take a snapshot and back up from that. (Read-only file systems don't have a problem because they don't change.) It is also important to verify your backups.

A few variations of dump, such as xfsdump for the XFS file system can back up active file systems. However, this is not the norm.

If you decide to use dump, be sure to carefully study the way it works on your system. Although the dump utility is basically the same on all Unix/Linux/BSD versions, the differences among versions can be significant.

About the author: Rick Cook specializes in writing about issues related to storage and storage management.

Do you have comments on this data backup tip? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you know a helpful backup tip, timesaver or workaround? Email the editors to talk about writing for SearchDataBackup.com.

Rate this Tip
To rate tips, you must be a member of SearchDataBackup.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Enterprise Backup Solutions - Continuous Data Protection (CDP)
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2008 - 2010, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts