2012年4月11日星期三

How to backup and Restore a volume group(VG)


Lists the contents of a rootvg backup. For example:

listvgbackup -f /dev/rmt0

Restoring a Backup

Restoring a User Volume Group Backup

restvg -f backup_location

Remakes the user volume group and restores the contents of the backup. The following are two

examples:

restvg -f /dev/cd0

restvg -f /savevg_images/savevg1

Restoring a User Volume Group Backup Minimizing Space

restvg -s -f backup_location

Remakes the user volume group and restores the contents of the backup while minimizing the

space required. The following are two examples:

restvg -s -f /dev/cd0

restvg -s -f /savevg_images/savevg1

Restoring Files from a rootvg Backup

restorevgfiles -d restore_location -f backup_location list_of_files

Restores the specified files from a rootvg backup. The following are two examples:

restorevgfiles -d /tmp -f /dev/cd0 ./tmp/file1 ./tmp/file2 ./tmp/file3
restorevgfiles -d /tmp -f /images/rootvg_image1 ./tmp/file1 ./tmp/file2 ./tmp/file3
Restoring Files from a User Volume Group Backup
restorevgfiles -s -d /tmp -f backup_location list_of_files
Restores the specified files from a rootvg backup. The following are two examples:
restorevgfiles -s -d /tmp -f /dev/cd0 ./pictures/pic1 ./pictures/pic2
restorevgfiles -s -d /tmp -f /savevg_images/savevg1 ./pictures/pic1 ./pictures/pic2

沒有留言: