|
|
HP-UX Reference Volume 2 of 5 > vvxdump(1M) |
|
NAMEvxdump, rvxdump — incremental VxFS file system dump, local or across network SYNOPSIS/usr/sbin/vxdump [-nuwW] [-0123456789] [-f file_name] [-d density] [-s size] [-T time] [-b block_size] [-B records] filesystem /usr/sbin/rvxdump [-nuwW] [-0123456789] [-f file_name] [-d density] [-s size] [-T time] [-b block_size] [-B records] filesystem /usr/sbin/vxdump [option [argument ...] filesystem] /usr/sbin/rvxdump [option [argument ...] filesystem] DESCRIPTIONvxdump and rvxdump copy to magnetic tape all files in the vxfs filesystem that have been changed after a certain date. This information is derived from the files /var/adm/dumpdates and /etc/fstab. vxdump and rvxdump support both getopt(3C) and traditional dump command line invocations as shown above. The original dump command line style is supported for compatibility with previous versions of vxdump and for synonymy with the existing dump program used for hfs file systems. For the traditional command line style, option consists of characters from the set 0123456789bBdfnsTuWw without any intervening white space. On most devices vxdump can detect end-of-media and prompt for the media to be changed, so it is not necessary to specify the size of the device. However, if the dump will require multiple tapes and the tapes are to be read using an older version of vxrestore, or if the tape device handles end-of-media in a way that vxdump doesn't understand, then the size of the device must be specified using either the -B option or a combination of the -d and -s options. Options
If no arguments are given, the options are assumed to be -9u and a default file system is dumped to the default tape. Operator Interactionvxdump requires operator intervention for any of the following conditions:
In addition to alerting all operators implied by the -n option, vxdump interacts with the control terminal operator by posing questions requiring yes or no answers when it can no longer proceed or if something is grossly wrong. Since making a full dump involves considerable time and effort, vxdump establishes a checkpoint at the start of each tape volume. If, for any reason, writing that volume fails, vxdump will, with operator permission, restart from the checkpoint after the old tape has been rewound and removed and a new tape has been mounted. vxdump periodically reports information to the operator, including estimates (typically low) of the number of blocks to write, the number of tapes it will require, time needed for completion, and the time remaining until tape change. The output is verbose to inform other users that the terminal controlling vxdump is busy and will be for some time. CompatibilityThe dump tape format is independent of the VxFS disk layout. A dump of a file system with the Version 3 disk layout can be restored on a file system using the Version 2 disk layout or even a file system of another file system type, with the following exceptions:
If you use vxdump to produce a dump intended for an earlier version of vxrestore, and if the dump requires multiple tapes, you should use the -s, -d, or -B option. Dumps produced by older versions of vxdump can be read by the current version of vxrestore. NOTESDumps should be performed with the file system unmounted or the system in single-user environment (see init(1M)) to insure a consistent dump. If the VxFS Advanced package is installed, the dump can be performed in the multi-user environment using a snapshot file system with the online backup facility (see the snapof=file option of mount_vxfs(1M)). Up to 32 read errors on the file system are ignored. Each reel requires a new process; thus parent processes for reels already written remain until the entire tape is written. vxdump creates a server, /usr/sbin/rmt, on the remote machine to access the tape device. EXAMPLESIn the following example, assume that the file system /mnt is normally attached to the file tree at the root directory, (/). This example causes the entire file system (/mnt) to be dumped on /dev/rmt/0m and specifies that the the size of the tape is 2 gigabytes. vxdump -0 -B 2g -f /dev/rmt/0m /mnt Or, using the traditional command line syntax and specifying the tape size in logical records: vxdump 0Bf 2097152 /dev/rmt/0m /mnt where the option argument ``2097152'' goes with the option letter B as it is the first option letter that requires an option argument, and where the option argument ``/dev/rmt/0m'' goes with the option letter f as it is the second option letter that requires an option argument. AUTHORvxdump and rvxdump are based on the dump and rdump programs from the 4.4 Berkeley Software Distribution, developed by the the University of California, Berkeley, and its contributors. |
|