Lists the contents of a workload partition backup on a specified media.
The lssavewpar command lists the contents of a workload partition backup from tape, file, CD, USB flash drive, or DVD.
Item | Description |
---|---|
-a | Verifies the physical block size of the tape backup, as specified by the -b flag. You might need to alter the block size if necessary to read the backup. The -a flag is valid only when a tape backup is used. |
-b blocks | Specifies the number of 512-byte blocks to read in a single input operation, as defined by the blocks parameter. If the blocks parameter is not specified, the number of blocks to read is 100, which is the default. The -b flag is valid only when a tape backup is used. |
-c | Produces colon-separated output. Specify the -c flag only with the -l , -L, -M, and -N flags. |
-D | Produces the output of debugging. |
-f device | Specifies the device that contains the backup (file, tape, CD, or other sources) as defined by the device parameter. If you do not specify the -f flag, the default device name is /dev/rmt0. |
-l | Displays information about a workload partition backup. Displays information including the volume group, the date and time that the backup was made, the uname output from the backed up system, the operating system level, the maintenance or technology level, the backup size in megabytes, and the backup-shrink size in megabytes. The shrink size is the size of the data on all file systems. The full size is the total size of each file system (unused and data). The -l flag also displays the logical volume and file system information of the backed up workload partition. You must specify the -f flag when you specify the -l flag. The -l flag is mutually exclusive with the -L, -M, and -N flags. |
-L | Displays lpp file-set information about a workload partition backup only. When you specify the -L flag, you must also specify the -f device flag. The -L flag is mutually exclusive with the -l, -M, and -N flags. |
-M | Lists information about any writable namefs-mounted
file systems included in the backup. The information is displayed
in the following form:
The Blocks and Blocks_Free fields
describe the number of 512-byte blocks and the free 512-byte blocks
that are present in the mounted file system. The Blocks_Used describes
the number of 512-byte blocks used in the portion of the mounted file
system mounted from the WPAR. The -M flag is mutually exclusive
with the -l, -L, and -N flags. |
-N | Lists information about any NFS-mounted file
systems included in the backup. The information is of the following
form:
The Blocks and Blocks_Free describe
the number of 512-byte blocks and the free 512-byte blocks in the
remote file system. The Blocks_Used describes the number
of 512-byte blocks used in the portion of the remote file system mounted
from the WPAR. The -N flag
is mutually exclusive with the -l, -L, and -M flags. |
-V | Verifies a tape backup. You must specify the -f flag with the -V flag. The flag is valid only for tape devices. The -V flag verifies the readability of the header of each file on the volume group backup and prints any errors that occur to the stderr file. |
lssavewpar
lssavewpar -f /dev/cd1
lssavewpar -Lc -f /dev/rmt0
lssavewpar -l -f /tmp/mybackup
lssavewpar -V -f /dev/rmt0
lssavewpar –f /dev/usbms0