打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
AIX备份
userphoto

2011.08.03

关注
AIX备份
使用 #smit mksysb 备份AIX系统
1. 一次完整的备份日志
   #tail /smit.log
   [Jul 07 2009, 18:27:59]
   Command_to_Execute follows below:
   >> /usr/bin/mksysb   '-i'   /dev/rmt0

   Output from Command_to_Execute follows below:
   ---- start ----

   Creating information file (/image.data) for rootvg.
   Creating tape boot image......
   bosboot: Boot image is 37774 512 byte blocks.
   .
   Creating list of files to back up..
   Backing up 253800 files..............................
   24 of 253800 files (0%)..............................
   34 of 253800 files (0%)..............................
   954 of 253800 files (0%)..............................
   1783 of 253800 files (0%)..............................
   4164 of 253800 files (1%)..............................
   ...................
   17451 of 253800 files (6%)..............................
   19630 of 253800 files (7%)..............................
   20501 of 253800 files (8%)..............................
   21455 of 253800 files (8%)..............................
   41969 of 253800 files (16%)......................cannot access ./usr/IBM/WebSphere/PortalServer/log/SystemOut_09.07.07_16.52.
   51.log: A file or directory in the path name does not exist.
   179375 of 253800 files (70%)..............................
   197964 of 253800 files (78%)..............................
   239358 of 253800 files (94%)....cannot access ./usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/exoa1/SystemOut_09.07.07_1
   7.52.50.log: A file or directory in the path name does not exist.
   ..........................
   243252 of 253800 files (95%)..............................
   245365 of 253800 files (96%)..............................
   245365 of 253800 files (96%)..............................
   252065 of 253800 files (99%).....................
   0512-003 mksysb may not have been able to archive some files.
   The messages displayed on the Standard Error contained additional
   information.
   bosboot: Boot image is 37774 512 byte blocks.
   
   ---- end ----
   [Jul 07 2009, 21:50:29]
2. 备份的命令
   # smit mksysb
   # /usr/bin/mksysb -i /dev/rmt0
   不想备份的目录写在 /etc/exclude.rootvg
   bash-3.2# more /etc/exclude.rootvg  (内容如下)
   /IMIS_SOFT/
3. 显示备份内容
   A. 要列出位于缺省设备 /dev/rmt0 下的系统备份内容,请输入:
      # lsmksysb
   B. 显示备份的内容
      # lsmksysb -f /dev/rmt0.1
   C. 显示指定目录的内容
      # lsmksysb -l -f /tmp/mybackup
   D. 要验证 /dev/rmt0 中的卷组备份磁带的每个头的可读性,请输入:
      # lsmksysb -V -f /dev/rmt0



1. 磁带能否重复利用?
答:不能,重新备份会覆盖以前的内容。
     /dev/rmt0  使用这个备份系统后磁带自动回滚,即下次备份会覆盖以前的内容
     /dev/rmt0.1 使用这个备份系统后磁带不会回滚,可重复备份
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
AIX备份与恢复
UnixPorting‘s Unix Sysadmin Cross Reference
AIX基础教程(中)
AIX上NIM的基本安装方法
AIX NIM服务器搭建方法
Sun Solaris指令大全
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服