Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
dump [options] files
System administration command. This simple backup utility accesses ext2 and ext3 file devices directly, quickly backing up files without affecting file access times. files may be specified as a mount point or as a list of files and directories to back up. While you can use this on a mounted system, dump may write corrupted information to the backup when the kernel has written only part of its cached information. Dump maintains a record of which files it has saved in /etc/dumpdates, and will perform incremental backups after creating an initial full backup. Use the restore command to restore a dump backup.
Write until end-of-media. Default behavior when writing to tape drives.
Create a table of contents for the archive in the specified file.
Block size in kilobytes to use in dumped records. By default, it is 10, or 32 when dumping to a tape with a density greater than 6250BPI.
Specify number of blocks to write per volume.
Treat target as a 1700-foot-long cartridge tape drive with 8000 bpi. Override end-of-media detection.
Specify tape density.
Write dump information to file instead of /etc/dumpdates.
Exclude inodes specified in file.
Write backup volumes to the specified files or devices. Use - to write to standard output. Separate multiple files with a comma. Use host:file or
user@host:file to write to a networked host using either the rmt program or the program specified by the RMT environment variable.
Run script at the end of each volume other than the last. dump will pass the current device and volume number to the script. The script should return 0 to continue, 1 to prompt for a new tape, or any other exit value to abort the dump. The script will run with the processes real user and group ID.
Specify a comma-separated list of inodes to skip.
Ignore the first n read errors. dump ignores 32 read errors by default. Specify 0 to ignore all errors. You may need to do this when dumping a mounted filesystem.
Compress each block using the bzlib library at the specified compression level. By default dump uses level 2 compression.
Use Kerberos authentication when writing to a remote system.
Write the specified volume label into the dump header.
Save only metadata when backing up changed but not modified files.
Create a multivolume backup. Treat any filename provided with -f as a prefix.
Use wall to notify members of group operator when prompting for information.
Abort the backup instead of prompting for information when operator input is required.
Create Quick Access information in the specified file for use by restore.
Write only n feet of tape in a single volume. Prompt for a new tape upon reaching this limit.
Calculate and print the amount of space required to perform the backup, then exit.
Only back up files changed or modified since date. This overrides the time given in /etc/dumpdates.
/etc/dumpdatesafter completing the backup.
Print verbose information about the dump.
Generate a report on the backup status of all filesystems based on information in /etc/dumpdates and/etc/fstab.
Generate a report of filesystems that need to be backed up. Only report on filesystems listed in /etc/fstab and /etc/mtab that need to be backed up.
Compress each block using the lzo library.
Compress each block using the zlib library. If provided, use the specified compression level. The default is 2.