Backing up a user volume group
The savevg command provides the ability to create a user-volume group backup to a CD, DVD, removable hard disk cartridge, tape, or file.
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.
This user backup contains a copy of a non-rootvg volume group, and is useful for volume groups that contain user data.
The vgname.data file contains information about a user volume group. The savevg command uses this file to create a backup image that can be used by the restvg command to re-create the user volume group.
savevg -r -f /vg_backup/paul_vg_data paul
You can also use the mkcd command to create a user volume group backup to CD or DVD. The mkcd command saves one volume group at a time to a CD or DVD.
The mkcd command with the -L flag allows the creation of ISO9660 DVD sized images. The mkcd or the mkdvd command with the -U flag allows the creation of UDF DVD images.
hdisk2at the end of the installation of rootvg, as shown by the following command:
restvg -d /SPOT/installp/ppc/savevg_image hdisk2
This procedure is recommended only if you know you want to restore the non-rootvg volume group every time you install. Otherwise, you might just want to store it on the CD/DVD, then use restvg to restore it after reboot. The restvg command can restore from CD or DVD if the name of the image is savevg_image. If you save the non-rootvg backup on a CD or DVD with a different file name, you can insert that CD or DVD and use the full path to the file name as the device for the restvg command.
Use SMIT to back up user volume groups to CD or DVD.