1、 Savevg 的磁带介质映像 无论 savevg 命令中备份设备选择是磁带还是 系统文档,在其上都没有引导区,只有一个数据映像。 用 savevg 创建备份 smit savevg Backup DEVICE or FILE Backup DEVICE or FILE /dev/rmt0 此处选择系统中显示的磁带机VOLUME GROUP to back up VOLUME GROUP to back up dbvg 可以用 F4 选择List files as they are backed up? no Generate new vg.data file? yes Create MAP
2、files? no EXCLUDE files? no EXPAND /tmp if needed? no Disable software packing of backup? no Number of BLOCKS to write in a single output (Leave blank to use a system default) 验证 savevg 的映像 验证 备份带可用的最好办法就是将其恢复到另一台服务器上。 smit lsbackvg DEVICE or FILE /dev/rmt0 Number of BLOCKS to read in a single input
3、 (Leave blank to use a system default) 恢复 savevg 的映像 smit restvg Restore DEVICE or FILE /dev/rmt0 SHRINK the filesystems? no PHYSICAL VOLUME names 选择非 rootvg 硬盘(Leave blank to use the PHYSICAL VOLUMES listed in the vgname.data file in the backup image) Number of BLOCKS to read in a single input (Leave blank to use a system default) 命令完成后,在所指定的 hdisk 上就创建了一个 savevg 所备份的用户卷组。 其命令行方式为: restvg -f /dev/rmt0 hdisk1 hdisk# .