The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"
tell 729 commands, 1935 examples
Learn about the Linux system's reference books, desk book, encountered the command or command not understand the options can be found
Strive to publish content every day
airfish2000 "blog, More commands to view blogs:
http://airfish2000.blog.51cto.com/10829608/1898990
Dump command
use the dump command to check the files on the Ext2/3/4 file system and determine which files need to be backed up. These files are copied to the specified disk, tape, or other storage media for safekeeping.
command syntax:
dump [ options ] [ directory | File System ]
The meanings of the options in the command are as follows is shown.
table dump command option meaning
options |
|
-< backup level ; |
Specify the backup level, the backup level number is 0~9 0 |
-d < file ; |
settings dump The file name and path of the backup information record, default is /etc/ Dumpdates file |
-F < backup file name > |
Specify the path and name of the backup file |
-U |
When dump is successful, the/etc/dumpdates file is updated to record the date, storage level, file system, and other information |
-t < date > |
Specify the date and time to start the backup, instead of the /etc/dumpdates file for dump time |
-Q |
make Dump Abort now |
-W |
Displays the files that need to be backed up and the level, time, and date of the last backup |
-W&NBSP;&NBSP; |
and -w Span style= "font-family: ' The song body '; background: #FFFFFF;" > option is similar, but only the /etc/mtab and /etc/fstab |
-h < nodump file |
-s |
size estimation. Determines the amount of space required and does not actually perform the dump, and displays the estimated number taken, in |
-e <inode> |
exclude the specified inode inode The argument is a comma-delimited inode numbered list |
-V |
Show more information |
Example : Full backup/ boot directory.
[[Email protected]~]# dump-0uf/root/boot0.dump/boot
Dump:date of this level 0 Dump:mon 1901:02:33 2013
DUMP:DUMPING/DEV/SDA1 (/boot) to/root/boot0.dump
DUMP:Label:none
Dump:writing Kilobyte Records
Dump:mapping (Pass I) [Regular files]
Dump:mapping (Pass II) [directories]
dump:estimated 23349 blocks.
Dump:volume 1 started with block 1 At:monaug 19 01:02:33 2013
Dump:dumping (Pass III) [directories]
Dump:dumping (Pass IV) [Regular files]
Dump:closing/root/boot0.dump
Dump:volume 1 completed At:mon 1901:02:33 2013
Dump:volume 1 23440 blocks (22.89MB)
dump:23440 blocks (22.89MB) on 1 volume (s)
Dump:finished in less than a second
Dump:date of this level 0 Dump:mon 1901:02:33 2013
Dump:date This dump Completed:mon 19 01:02:33 2013
Dump:average Transfer rate:0 kb/s
Dump:dump is done
Example : Incremental backup/ boot directory.
[[Email protected]~]# dump-1uf/root/boot1.dump/boot
Dump:date of this level 1 Dump:mon 1901:02:44 2013
Dump:date of last Level 0 Dump:mon 1901:02:33 2013
DUMP:DUMPING/DEV/SDA1 (/boot) to/root/boot1.dump
DUMP:Label:none
Dump:writing Kilobyte Records
Dump:mapping (Pass I) [Regular files]
Dump:mapping (Pass II) [directories]
dump:estimated blocks.
Dump:volume 1 started with block 1 At:monaug 19 01:02:44 2013
Dump:dumping (Pass III) [directories]
Dump:dumping (Pass IV) [Regular files]
Dump:closing/root/boot1.dump
Dump:volume 1 completed At:mon 1901:02:44 2013
Dump:volume 1 blocks (0.02MB)
Dump:20 blocks (0.02MB) on 1 volume (s)
Dump:finished in less than a second
Dump:date of this level 1 Dump:mon 1901:02:44 2013
Dump:date This dump Completed:mon 19 01:02:44 2013
Dump:average Transfer rate:0 kb/s
Dump:dump is done
This article is from the "airfish2000" blog, make sure to keep this source http://airfish2000.blog.51cto.com/10829608/1898990
Dump Command--linux command application of large dictionary 729 commands interpretation