Linux dump Command
Linux dump command is used to back up the file system.
dump is a backup utility, you can be directories, or entire file system is backed up to the specified device, or backup into one big file.
grammar
dump [-cnu][-0123456789][-b <区块大小>][-B <区块数目>][-d <密度>][-f <设备名称>][-h <层级>][-s <磁带长度>][-T <日期>][目录或文件系统] 或 dump [-wW]
Parameters:
- -0123456789 Backup hierarchy.
- -b <block size> Specifies the size of the block, the unit is KB.
- -B <Block number> Specifies the number of blocks of the backup volumes.
- -c modify the default backup tape density and capacity.
- -d <density> Set density tape. Units of BPI.
- -f <device name> Specifies the backup device.
- -h <level> When the backup level is equal to the specified level or heavy rain, it will not backup user labeled as "nodump" file.
- When -n when the backup administrator needs to give notice to all "operator" group of users.
- -s <tape length> Backup tape length in feet.
- -T <Date> Time and date specified to start the backup.
- After -u backup is completed, the recording file system backup, level, date and time, etc. in the / etc / dumpdates in.
- -w similar -W, but shows only the files to be backed up.
- -W Show files to back up their level, time and date of the last backup.
Examples
Backup files to tape
# dump -0 -u /dev/tape /home/
The "-0" parameter specifying the backup level "-u" after completion of the backup requirements corresponding information stored in the file / etc / dumpdates for your records