Air Cleaner User Manual
mklvback
Purpose
Performs a backup of logical volumes.
Syntax
mklvback
-b ″size″
-c ″termdev″
-d ″description″
-e
-g ″filename″
-h ″hostname″
-i
-I “ID”
-M
-n
-O
-p
-r ″readAccess″
-U ″host″
-v
-f ″device″
-f ″directory″ -I ″ID″
-f ″file″
LVname
Description
The mklvback command is used to back up data from one or more logical
volumes. This option reads the entire logical volume, copying all “raw” data to the
specified output device or file. Many database applications use a raw logical
volume to store data, but AIX is unaware of the format of the data within the
logical volume. Therefore, this option copies the entire contents of the logical
volume, even though the application might have written to only a small portion of
the total logical volume size.
The backup can be performed to a tape drive, virtual device, or disk image file.
When specifying a disk image file, you can enter the full pathname of the file to
create or overwrite. When doing so, the filename must begin with the prefix “LV”.
to indicate the file is a logical volume backup. You can also specify only the
backup directory and a unique ID. When doing so, a filename will be created for
you. Refer to “Backups to Disk Image Files” on page 2-6 for information on the
filename created. If you are creating a file and a file by the same name already
exists, specify the -O option to overwrite the existing file.
The backup can also be performed to a remote device, virtual device, or disk
image file. If Remote Services has been configured on both the local and server
system using the cfgremsvs command, and you have defined a backup device on
the server for use by this system using the cfgremaccess command, then you can
also select a hostname using the -h option. The backup will then be written to the
device or filename on the specified server, provided the server has enabled this
system access to the specified device or directory.
You must supply one or more logical volume names with this command. Do not
include the “/dev/” prefix with the logical volume name. If specifying more than
one logical volume, append each logical volume to the end of the command,
separated by spaces.
Appendix A. Commands A-37