⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dump.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.\" SCCSID: @(#)dump.8	8.1	9/11/90.TH dump 8.SH Namedump \- create file system dump.SH Syntax.B /etc/dump[ \fIkey\fR [ \fIargument\fR... ] \fIfilesystem\fR ].SH Description.NXR "dump command".NXR "file system" "incremental dumps"The.PN dumpcommand copies all files changed after a certain datefrom a specified .I filesystemto a file, a pipe, magnetic tapes, or disks. The.I keyspecifies the date and other options to be used by .PN dump ..PPDumping a filesystem requires operator attention.  An operatormust intervene when the end of a tape or disk is reached,when the end of the .PN dump occurs, or when an unrecoverable input diskread error occurs (if more than 32 read errors occur).In addition to alerting all operators in the operator group,.PN dumpinteracts with the operator at the control terminal when.PN dump can no longer proceed, or if something is grossly wrong.All questions that .PN dumpposes must be answered by typing yes or no..PPBecause a full dump uses considerable system time,.PN dumpcheckpoints itself at the start of each tape or diskvolume.  If writing that volume fails,.PN dumpasks the operator to restart from the checkpoint afterthe present tape or disk has been replaced..PPThe.PN dumputility reports to the operator periodically, givingusually low estimates of the number of blocks to write,the number of tapes or disks the dump will take, thetime to completion, and the time until the tape ordisk must be changed.  The output is verbose, sothat others know that the terminal controlling.PN dumpis busy, and will be for some time..PPThis utility supports EOT handling which allows the use ofmultiple media.  The utility prompts for the next volume when itencounters the end of the current volume..SH Options .NXR "dump command" "keys"With the.PN dumpcommand, you specify a string of one or more of theoptions described below.  If no options are specified, the.I key.B 9uis assumed..TP 8 .B  0\-9Specifies the dump level.All files that were modified since the last date storedin the file.PN /etc/dumpdatesfor the same filesystem at lesser levels will be dumped.If no date is determined by the level,the beginning of time is assumed.  Thus, the level .B 0causes the entire filesystem to be dumped..TP 8.B BIndicates that the next.I argumentis a number that specifies the size, in 1024-byte blocks,of a storage medium, such as a diskette or removable diskcartridge.  See the first example.  .TP 8.B dIndicates that the density of the tape, expressed in bits per inch, is taken from the next.I argument.This density is used in calculating the amount of tapeused per reel.  The default density is 1600 bpi..TP 8 .B fPlaces the dump on the file or device specified by the next.I argument.If the name of the file is \-,.PN dump writes to standard output.The default dump device is.PN /dev/rmt0h ..TP 8.B nNotifies, by means similar to a.MS wall 1command,all users in the group operator when.PN dumpneeds operator attention..TP 8 .B S Prints output file size in bytes, or number of volumes for devices.See the third example..TP 8.B sIndicates that the next.I argumentspecifies the size of the dump tape, in feet.  Whenthe specified size is reached,.PN dumpwaits for the reel to be changed.  The default tape sizeis 2300 feet..TP 8 .B uWrites the date of the beginning of the dump on the file.PN /etc/dumpdatesif the .PN dumpcompletes successfully.  This file records a separate date foreach filesystem and each dump level.  The format of.PN /etc/dumpdatesconsists of one free format record per line:filesystem name, increment level and.MS ctime 3format dump date.  The superuser can carefully edit.PN /etc/dumpdatesto change any of the fields..TP 8 .B WTells the operator which file systems need to be dumped.This information is taken from the files.PN /etc/dumpdatesand.PN /etc/fstab .The.B Woption causes.PN dumpto print out, for each file system in.PN /etc/dumpdates ,the most recent dump date and level,and highlights those file systems that should be dumped.If the .B Woption is used, all other options are ignored, and.PN dumpexits immediately..TP 8 .B wLists only those filesystems that need to be dumped..SH ExamplesThis example dumps the filesystem.PN /dev/ra0ato RX50 diskettes.  The .PN Boption is needed when running.MS restore 8to read this dump..EXdump 9Bf 400 /dev/rra2a /dev/ra0a.EEThis example dumps the filesystem.PN /usr/usersto a 6250 bpi tape on a TU78 tape drive:.EXdump 0undf 6250 /dev/rmt?h /usr/users.EEThis example reports number of bytes to be outputfor a level 0 dump of the rootfile system. Please note: the file test is not created..EXdump 0Sf test /.EE.SH Restrictions.NXR "dump command" "restrictions"The .PN dumpprograms returns a 1 on successful completion..PPSizes are based on 1600-bpi blocked tape.  .PPAnything fewer than 32 read errors on the filesystemare ignored..PPEach reel requires a new process, so parent processesfor reels already written remain until the entiretape is written..SH Files.TP 15.PN /dev/rrp1gDefault filesystem to dump from.TP.PN /dev/rmt0hDefault tape unit to dump to.TP.PN /etc/dumpdatesDump date record.TP.PN /etc/fstabDump table: file systems and frequency.TP.PN /etc/groupOperator group definition.TP.PN /dev/ttyRequired for user interface.SH See Alsodump(5), fstab(5), opser(8), restore(8), rrestore(8c).br.I "Guide to Backup and Restore"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -