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


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


RELATED CONTENT
Backup and recovery
Microsoft Office SharePoint backup and recovery strategies
VMware vStorage API for Data Protection backup and recovery tips
Symantec Backup Exec troubleshooting performance tips
Evaluating a data deduplication product for data backup and recovery
Performing a bare-metal restore in Windows Vista
Troubleshooting data backup error log messages
Target-based data deduplication technology product considerations
Linux data backup and recovery strategies
Understanding data deduplication ratios in backup systems
Symantec Veritas NetBackup data backup and recovery best practices

Data storage backup tools
Continuous data protection (CDP) on the rise in data backup and recovery products
Backing up your virtual environment: Chapter excerpt from "VMware VI3 Implementation and Administration"
Microsoft Office SharePoint backup and recovery strategies
Continuous data protection (CDP) playing a role in data backup
Data backup and recovery software best practices: A tutorial
VMware vStorage API for Data Protection backup and recovery tips
Symantec Backup Exec troubleshooting performance tips
Online data backup services: Don't lose your data in the cloud
Data backup news briefs: Isilon announces Back-up Accelerator and certification with CommVault
Performing a bare-metal restore in Windows Vista

Tape backup and libraries
Does data deduplication to tape storage make sense?
Data backup and recovery software best practices: A tutorial
LTO-4 tape technology finally catching on -- tape storage isn't dead yet
Symantec Backup Exec troubleshooting performance tips
Avoid data loss with proper tape storage handling procedures
Troubleshooting data backup error log messages
Here comes LTO-5 tape technology, ready or not
Symantec Veritas NetBackup data backup and recovery best practices
Tape backup for remote offices tutorial
Tape backup and tape library technology tips

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


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