免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2634 | 回复: 0
打印 上一主题 下一主题

[存储备份] AIX备份 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-09 14:22 |只看该作者 |倒序浏览
使用 #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 使用这个备份系统后磁带不会回滚,可重复备份
  

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/83758/showart_2089831.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP