Wednesday, April 2, 2008

AIX backup/restore a non-rootvg volume group

To list VG
# lsvg
old_rootvg
rootvg
testvg10
testvg1
#
To Save **this only backups mounted filesystem on that VG
#savevg -f /louisedata/testvg10_backup testvg10
To Rstore
#restvg -l -f /louisedata/testvg10_backup

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...