Syntax
Dump [-cnu] [-0123456789] [-B <block size>] [-B <block quantity>] [-d <density>] [-f <device name>] [-h <level>] [-s <tape length>] [-T <date>] [Directory or file system] or dump [-wW]
Parameters:
- -0123456789 backup level.
- -B <block size> specifies the block size, in KB.
- -B <block quantity> specifies the number of blocks in the backup volume.
- -C. Modify the preset density and capacity of the backup tape.
- -D <density> sets the tape density. The unit is BPI.
- -F <device name> specifies the backup device.
- -H <level> when the backup level is equal to or equal to the level specified by heavy rain, files marked as "nodump" by the user are not backed up.
- -N when the backup job requires administrator intervention, send a notification to all users in the "operator" group.
- -S <tape length> backup tape length, in feet.
- -T <date> specifies the backup start time and date.
- -After the u backup is complete, record the backup file system, level, date and time in/etc/dumpdates.
- -W is similar to-W, but only displays the files to be backed up.
- -W: displays the file to be backed up and the level, time, and date of the last backup.
Instance
Back up files to tape
# Dump-0-u/dev/tape/home/
The "-0" parameter specifies the backup level. "-u" requires that the corresponding information be stored in the file/etc/dumpdates for record.