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

BACKUP AND RECOVERY

Using Dump for Linux/Unix data backup


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


Data backup technical tips
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


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 incremental 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.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Backup and recovery
SQL Server data backup and recovery best practices
Secure your data backups with encryption key management best practices
Using data deduplication with backup applications: Source vs. target dedupe
Data backup for virtual machines: Alternative methods to VMware Consolidated Backup
Upgrading from LTO-3 to LTO-4 tape for data backup and recovery
Is VMware Consolidated Backup right for your enterprise?
Is cloud data backup service right for your organization?
Are data backup vendor certifications valuable for backup administrators?
Choosing a Linux system backup tool: Pros and cons of popular Linux backup apps
Dedupe dos and don'ts: Data deduplication technology best practices

Data storage backup tools
Data backup and recovery news briefs: Thales Group releases CryptoStor Tape 3.0 appliance
Data archiving reduces data backup workload prior to data deduplication
Symantec releases Linux version of Backup Exec System Recovery
Data backup and recovery news briefs: Druvaa Software updates flagship product, releases inSync v3.1
SQL Server data backup and recovery best practices
Data backup and recovery vendors dig into deduplication technology, aim for cloud backup
Veeam integrates with VMware vStorage APIs in Backup and Replication 4
Data backup and recovery news briefs: Data Domain upgrades data deduplication appliances
Double-Take replication software solves remote-office data backup headache for Lennox International
Using data deduplication with backup applications: Source vs. target dedupe

Tape backup and tape libraries
Secure your data backups with encryption key management best practices
Data backup news briefs: ProStor Systems ships InfiniVault removable disk backup appliance for SMBs
Upgrading from LTO-3 to LTO-4 tape for data backup and recovery
W. Curtis Preston: Articles and podcasts on data backup and recovery
The tape storage end game: The pros and cons of recycling backup tapes
Data backup and recovery news briefs: Tandberg Data introduces DAT tape drives and media
Community Health Centers Alliance takes control of data backup and recovery
Sun Microsystems wins best tape library in Storage Quality Awards survey
Fine-tuning tape storage systems for better data backup performance
Spectra Logic's BlueScale automates data replication across disk and tape with data deduplication

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

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 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts