Home AIX Restore your mksysb image

Restore your mksysb image

0
272

lsmksysb -lf emre_20150531
VOLUME GROUP: rootvg
BACKUP DATE/TIME: Sun May 31 13:42:57 MEDT 2015
UNAME INFO: AIX emre 3 5 00C7EB054C00
BACKUP OSLEVEL: 5.3.12.1
MAINTENANCE LEVEL: 5300-08
BACKUP SIZE (MB): 37568
SHRINK SIZE (MB): 21513
VG DATA ONLY: no

rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 256 512 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 48 96 2 open/syncd /
hd2 jfs2 89 178 2 open/syncd /usr
hd9var jfs2 64 128 2 open/syncd /var
hd3 jfs2 64 128 2 open/syncd /tmp

check content your mksysb image

lsmksysb -f emre_20150531 |more
New volume on emre_20150531:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Sun May 31 13:43:14 EEST 2015
Files are backed up by name.
The user is root.
6125 ./bosinst.data
10274 ./image.data
188154 ./tmp/vgdata/rootvg/backup.data
0 ./audit
0 ./audit/auditb
0 ./audit/bin1
5413 ./audit/bin2
0 ./audit/lost+found
119550085 ./audit/trail
120776417 ./audit/trailOneLevelBack

searching specific file

lsmksysb -f emre_20150531 |grep ‘/opt/IBM/sysmgtlib/jdom.jar’
New volume on emre_20150531:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Sun May 31 13:43:14 EEST 2015
Files are backed up by name.
The user is root.
106416 ./opt/IBM/sysmgtlib/jdom.jar

Restore your file

restorevgfiles -f emre_20150531 ./opt/IBM/sysmgtlib/jdom.jar

 

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here