dump
Quick Reference
Command Name:
dump
Category:
system management
Platform:
Linux
Basic Usage:
Common Use Cases
- 1
Full system backups
Create complete backups of entire filesystems for disaster recovery
- 2
Incremental backups
Perform regular incremental backups to minimize backup size and time
- 3
Tape archive management
Back up filesystems to tape devices for long-term storage
- 4
Selective backups
Back up specific directories or files while preserving permissions and attributes
Syntax
dump [-level] [-flags] filesystem [files-to-dump]
Options
Option | Description |
---|---|
-level |
Dump level (0-9), where 0 is a full backup and 1-9 are incremental |
-a |
Auto-size the output to fit on the backup medium |
-B size |
Set the block size for the dump |
-b size |
Set the block size in kilobytes |
-f file |
Write the backup to file instead of tape |
-h level |
Honor the user nodump flag only for dumps at or above level |
-j |
Compress the output using bzip2 |
-u |
Update the dump record file /etc/dumpdates |
-W |
List filesystems that need backing up |
-w |
List filesystems that need backing up |
Examples
How to Use These Examples
The examples below show common ways to use the dump
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.