📄 rdump.8c
字号:
.\" SCCSID: @(#)rdump.8c 2.4 8/20/87.TH rdump 8c.SH Namerdump \- file system dump across the network.SH Syntax.B /etc/rdump[ \-key [.I argument\&... ] \fIfilesystem\fP ].SH Description.NXR "rdump command".NXA "rdump command" "rmt program".NXA "dump command" "rdump command".NXR "file system" "copying across network".NXM "rdump command" The.PN rdumpcommandcopies to magnetic tapes, disks, or a dump image file all fileschanged after a certain datein the.I filesystem.The command is identical in operation to.MS dump 8except the .B fkey must be specified and the filesupplied should be of the following form:.PP.I remote-system-name:device-or-file.PPThe.PN rdumpcommandinitiates a remote server,.PN /etc/rmt ,on the remote system to access the remotedevice or file..SH Options With the.PN dumpcommand, you specify a string of one or more of theoptions described below. If no options are specified, the key.B 9uis assumed..TP 8 .B 0\-9This number is the ``dump level.''All files that were modified since the last date storedin the file.PN /etc/dumpdatesfor the 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, a level 5 is usedfor a weekly backup and a level 9 for a daily backup..TP 8.B BThe next.I argumentis a number that specifies the size, in 1024-byte blocks,of a storage medium, such as a diskette or a removable disk.See the first example..TP 8.B dThe density of the tape, expressed in bits per inch, is takenfrom 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 fPlace the dump on the file or device specified by the next.I argument.This file is specified as remote-system-name:device-or-file..TP 8.B nNotify, by means similar to a.MS wall 1command,all users in the group ``operator'' when.PN dumpneeds operator attention..TP 8.B oProvides compatibility with non-ULTRIX or pre-ULTRIX Version 2.0 remote systems..TP 8.B SDisplays amount of space used by .PN dumpwithout performing the dump operation. This is usedfor presizing either for file preallocation or to ensurethe correct number of tapes or disks are on hand..TP 8.B sThe 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 uIf the dump completes successfully,writes the date of the beginning of the dump tofile.PN /etc/dumpdates .This file records a separate date foreach filesystem and each dump level.The format of.PN /etc/dumpdatesconsists of onefree format record per line:filesystem name, increment leveland.MS ctime 3format dump date. The superuser can carefully edit.PN /etc/dumpdatesto change any of the fields..TP 8 .B WThe.PN dumputility tells the operator what file systems need to be dumped.This information is taken from the files.PN /etc/dumpdatesand.PN /etc/fstab .The.PN 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 .PN Woption is used, all other options are ignored, and.PN dumpexits immediately..TP 8 .B wUnlike .PN W , .PN w lists only those filesystems that need to be dumped..SH ExamplesThis example reports number of bytes to be output for alevel 0 dump of the root file system. Please note: the file.PN test is not created..EXrdump OSf system:test /.EEThis example dumps the root(/) file system from the localsystem to a remote system named ``nihil''. A level 0dump to tape is performed and the .PN /etc/dumpdates file is updated..EXrdump 0uf nihil:/dev/rmt0h /.EE.PPThis example dumps the user (/usr) file system from the localsystem to a remote system named ``dickens'' using the RX50device named .PN /dev/rra1a for output. A level 0 dump isperformed, but the .PN /etc/dumpdatesfile is not updated..EXrdump 0f dickens:/dev/rra1a /usr.EE.PPThis example dumps the root file system to a non-ULTRIX or ULTRIX beforeVersion 2.0 remote system. A level 0 dump to a tape drive is performedand the.PN /etc/dumpdatesfile is updated. .EXrdump 0ouf system:/dev/rmt0h /.EE.PPThis example dumps the root file system to a non-ULTRIX or ULTRIX beforeVersion 2.0 remote system. A level 0 dump to the rx50 device is performedand the.PN /etc/dumpdates file is updated.Note the specification of 400 as the device size in 1,024 byte blocks..EXrdump 0ouBf 400 system:/dev/rra1a /.EE.PPIf you want to use / and .PN /usr ,you must have these entriesin the .PN /etc/fstab file..SH DiagnosticsSame as .MS dump 8with a few extra related to the network..SH Files.TP 15.PN /dev/ttRequired for user interface.SH See Alsodump(8),rmt(8c)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -