|
<PRE>#smitty mksysb Back Up the System Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] WARNING: Execution of the mksysb command will result in the loss of all material previously stored on the selected output medium. This command backs up onl y rootvg volume group. * Backup DEVICE or FILE [/dev/rmt0] <= F4 키를 누른 후 Tape 장치 선택 +/ Create MAP files? no + EXCLUDE files? no <= 제외할 디렉토리가 있는 경우 yes (Tap 키) + List files as they are backed up? no + Verify readability if tape device? no + Generate new /image.data file? yes + EXPAND /tmp if needed? no + Disable software packing of backup? no + Backup extended attributes? yes + Number of BLOCKS to write in a single output [] # (Leave blank to use a system default) 제외할 디렉토리 지정 : - /etc/exclude.rootvg 파일 생성 후 아래와 같이 목록 추가하되 하위 디렉토리를 포함하는 경우 반드시 "/"를 명기할것. - lsvg -l rootvg 명령어에 나오는 파일시스템이 백업 대상이며, 불필요한 경우 위의 파일에 명기
root@wp01db2:[/etc] cat exclude.rootvg /instimage/ root@wp01db2:[/etc] root@wp01db2:[/etc] root@wp01db2:[/etc] root@wp01db2:[/etc] lsvg -l rootvg rootvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT hd5 boot 1 2 2 closed/syncd N/A hd6 paging 128 256 2 open/syncd N/A hd8 jfs2log 1 2 2 open/syncd N/A hd4 jfs2 4 8 2 open/syncd / hd2 jfs2 64 128 2 open/syncd /usr hd9var jfs2 16 32 2 open/syncd /var hd3 jfs2 16 32 2 open/syncd /tmp hd1 jfs2 1 2 2 open/syncd /home hd10opt jfs2 8 16 2 open/syncd /opt fwdump jfs2 3 6 2 open/syncd /var/adm/ras/platform lg_dumplv sysdump 16 16 1 open/syncd N/A fslv00 jfs2 40 80 2 open/syncd /instimage fslv01 jfs2 32 32 1 closed/syncd /TL</PRE>
|
http://kr.blog.yahoo.com/ychany/trackback/3384428/955134