Finds and backs up all files belonging to a specified volume group.
savevg [ -b Blocks ] [ -e ] [ -f Device ] [ -i | -m ] [ -p ] [ -v ] [ -V ] [ -X ] VGName
The savevg command finds and backs up all files belonging to a specified volume group. The volume group must be varied-on, and the file systems must be mounted. The savevg command uses the data file created by the mkvgdata command. This data file can be one of the following:
To create a backup of the operating system to CD, use the mkcd command.
Note: The savevg command will not generate a bootable tape if the volume group is the root volume group. Although the tape is not bootable, the first three images on the tape are dummy replacements for the images normally found on a bootable tape. The actual system backup is the fourth image.
VGName | Specifies the name of the volume group to be backed up. |
smit lsmksysb
smit lsbackvg
smit restmksysb
smit restsavevg
savevg -i -f/mysys/myvg/myroot rootvg
savevg -i uservg
savevg -mf/dev/rmt1 data2
savevg -ief/dev/rmt1 data2
savevg -f /dev/rmt0 -V my_vg
/image.data | Used when the volume group is rootvg. |
/tmp/vgdata/vgname /vgname.data | Used when the volume group is not rootvg and where vgname is the name of the volume group. |
The backup command, bosboot command, mkcd command, mkszfile command.