Hello,
Could someone tell me if I have this correct.
If I have 2 volume groups rootvg and datavg and wish to back these up to 21 tape how do I accomplish this.
I am currently using
mksysb /dev/rmt0.1 -V
savevg -f /dev/rmt0 datavg
I think this may be overwriting the rootvg however as when I do:
restvg -l -f /dev/rmt0
I get
VOLUME GROUP: datavg
BACKUP DATE/TIME: Thu Nov 27 12:32:46 NZST 2008
UNAME INFO: AIX WBSTEST 2 5 00C557D24C00
BACKUP OSLEVEL: 5.2.0.95
MAINTENANCE LEVEL: 5200-09
BACKUP SIZE (MB): 6656
SHRINK SIZE (MB): 709
VG DATA ONLY: no
datavg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
loglv00 jfslog 1 1 1 closed/syncd N/A
lv00 jfs 4 4 1 open/syncd /u1
lv01 jfs 2 2 1 open/syncd /u2
lv02 jfs 2 2 1 open/syncd /uda
loglv01 jfslog 1 1 1 open/syncd N/A
what is the best way to backup root and my data to one tape.
Also if any wants to contribute any useful backup scripts for aix that would be good too in case I miss something else, like error checking.
Cheers