rdump(8c)
NAME
rdump − file system dump across the network
SYNTAX
/etc/rdump [ −key [ argument ... ] filesystem ]
DESCRIPTION
The rdump command copies to magnetic tapes, disks, or a dump image file all files changed after a certain date in the filesystem. The command is identical in operation to dump() except the f key must be specified and the file supplied should be of the form remote-system-name:device-or-file
The rdump command initiates a remote server, /etc/rmt, on the remote system to access the remote device or file.
OPTIONS
With the dump command, you specify a string of one or more of the options described below. If no options are specified, the key 9u is assumed.
0−9 This number is the “dump level.” All files that were modified since the last date stored in the file /etc/dumpdates for 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 0 causes the entire filesystem to be dumped, a level 5 is used for a weekly backup and a level 9 for a daily backup.
B The next argument is 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.
d The density of the tape, expressed in bits per inch, is taken from the next argument. This density is used in calculating the amount of tape used per reel. The default density is 1600 bpi.
f Place the dump on the file or device specified by the next argument. This file is specified as remote-system-name:device-or-file.
n Notify, by means similar to a wall() command, all users in the group “operator” when dump needs operator attention.
o Provides compatibility with non-ULTRIX or pre-ULTRIX v2.0 SDC remote systems.
S Displays amount of space used by dump without performing the dump operation. This is used for presizing either for file preallocation or to ensure the correct number of tapes or disks are on hand.
s The next argument specifies the size of the dump tape (in feet). When the specified size is reached, dump waits for the reel to be changed. The default tape size is 2300 feet.
u If the dump completes successfully, writes the date of the beginning of the dump to file /etc/dumpdates. This file records a separate date for each filesystem and each dump level. The format of /etc/dumpdates consists of one free format record per line: filesystem name, increment level and ctime() format dump date. The superuser can carefully edit /etc/dumpdates to change any of the fields.
W The dump utility tells the operator what file systems need to be dumped. This information is taken from the files /etc/dumpdates and /etc/fstab. The W option causes dump to print out, for each file system in /etc/dumpdates, the most recent dump date and level, and highlights those file systems that should be dumped. If the W option is used, all other options are ignored, and dump exits immediately.
w Unlike W, w lists only those filesystems that need to be dumped.
EXAMPLES
This example reports number of bytes to be output for a level 0 dump of the root file system. Please note: the file test is not created.
rdump OSf system:test /
This example dumps the root(/) file system from the local system to a remote system named “nihil”. A level 0 dump to tape is performed and the /etc/dumpdates file is updated.
rdump 0uf nihil:/dev/rmt0h /
This example dumps the user (/usr) file system from the local system to a remote system named “dickens” using the RX50 device named /dev/rra1a for output. A level 0 dump is performed, but the /etc/dumpdates file is not updated.
rdump 0f dickens:/dev/rra1a /usr
This example dumps the root file system to a non-ULTRIX or ULTRIX before version 2.0 remote system. A level 0 dump to a tape drive is performed and the /etc/dumpdates file is updated.
rdump 0ouf system:/dev/rmt0h /
This example dumps the root file system to a non-ULTRIX or ULTRIX before version 2.0 remote system. A level 0 dump to the rx50 device is performed and the /etc/dumpdates file is updated. Note the specification of 400 as the device size in 1,024 byte blocks.
rdump 0ouBf 400 system:/dev/rra1a /
If you want to use / and /usr, you must have these entries in the /etc/fstab file.
DIAGNOSTICS
Same as dump() with a few extra related to the network.
FILES
/dev/ttyRequired for user interface