免费注册 查看新帖 |

Chinaunix

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

今天做了一个恢复带,有问题! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-30 12:00 |只看该作者 |倒序浏览
xjhp7420:[/tmp]#make_tape_recovery -a /dev/rmt/1mn
       * Creating local directories for configuration files and archive.

=======  09/30/06 11:50:00 EAT  Started make_tape_recovery. (Sat Sep 30
         11:50:00 EAT 2006)
         @(#) Ignite-UX Revision C.6.2.241
         @(#) net_recovery (opt) $Revision: 10.695 $

       * Testing for necessary pax patch.
       * Passed pax tests.
       * Checking Versions of Ignite-UX filesets
       * Creating System Configuration.
WARNING: The volume group /dev/vg00 will be only partially included in the
         System Recovery Archive.  This means that not all files and
         directories on this volume group will be restored when the archive is
         installed.  This message can be suppressed using the \"-P s\" option for
         make_tape_recovery. See make_tape_recovery(1M) for more details.

       * /opt/ignite/bin/save_config -f
         /var/opt/ignite/recovery/2006-09-30,11:50/system_cfg vg00
NOTE:    File: /var/opt/ignite/recovery/2006-09-30,11:50/system_cfg is not
         world-readable, this may cause clients to fail to read it during an
         installation.
       * Backing Up Volume Group /dev/vg00
       * /usr/sbin/vgcfgbackup /dev/vg00
       * Creating Map Files for Volume Group /dev/vg00
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00

       * Backing Up Volume Group /dev/vgdata01
       * /usr/sbin/vgcfgbackup /dev/vgdata01
       * Creating Map Files for Volume Group /dev/vgdata01
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vgdata01.mapfile
         /dev/vgdata01

       * Creating Control Configuration.
NOTE:    File: /var/opt/ignite/recovery/2006-09-30,11:50/control_cfg is not
         world-readable, this may cause clients to fail to read it during an
         installation.
       * Creating Archive File List
       * Creating Archive Configuration

       * /opt/ignite/lbin/make_arch_config -c
         /var/opt/ignite/recovery/2006-09-30,11:50/archive_cfg -g
         /var/opt/ignite/recovery/2006-09-30,11:50/flist -n 2006-09-30,11:50 -r
         pa -b 64 -d Recovery\\ Archive -t 1 -i 1 -m t
NOTE:    File: /var/opt/ignite/recovery/2006-09-30,11:50/archive_cfg is not
         world-readable, this may cause clients to fail to read it during an
         installation.
       * Saving the information about archive to

         /var/opt/ignite/recovery/previews
       * Creating The Tape Archive
NOTE:    File: /var/opt/ignite/recovery/2006-09-30,11:50/system_cfg is not
         world-readable, this may cause clients to fail to read it during an
         installation.
NOTE:    File: /var/opt/ignite/recovery/2006-09-30,11:50/control_cfg is not
         world-readable, this may cause clients to fail to read it during an
         installation.
NOTE:    File: /var/opt/ignite/recovery/2006-09-30,11:50/archive_cfg is not
         world-readable, this may cause clients to fail to read it during an
         installation.
NOTE:    File: /var/tmp/tmp_cfg_file is not world-readable, this may cause
         clients to fail to read it during an installation.
NOTE:    File: /var/tmp/tmp_cfg_file is not world-readable, this may cause
         clients to fail to read it during an installation.
48187+0 records in
48187+0 records out
       * /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/1mn -t n -s
         local -n 2006-09-30,11:50 -m t -w
         /var/opt/ignite/recovery/2006-09-30,11:50/recovery.log -u -R -g
         /var/opt/ignite/recovery/2006-09-30,11:50/flist -a 1528110

       * Preparing to create a system archive.

       * Archiving contents of xjhp7420 via tar image to local device/dev/rmt/1.

       * Creation of system archive complete.

       * Cleaning up old configuration file directories

=======  09/30/06 11:55:32 EAT  make_tape_recovery completed with warnings

不知道恢复带做的又没有问题,有不有效?怎么确认

论坛徽章:
0
2 [报告]
发表于 2006-10-03 13:52 |只看该作者
最后提示的completed with warnings,源于前面的那个WARNING:
WARNING: The volume group /dev/vg00 will be only partially included in the
         System Recovery Archive.  This means that not all files and
         directories on this volume group will be restored when the archive is
         installed.  This message can be suppressed using the \"-P s\" option for
         make_tape_recovery. See make_tape_recovery(1M) for more details.
这是说你的配置文件(/opt/ignite/recovery/mnr_essentials或者/var/opt/ignite/recovery/mnr_essentials)中将部分根盘下的目录排除在备份之外。如果没改过这两个文件,一般都没问题的。
在命令中加上-v选项,可以看到在此次备份中到底包含哪些卷。

论坛徽章:
0
3 [报告]
发表于 2006-10-04 12:15 |只看该作者
一般备份的命令是
make_tape_recovery -Av -a <磁带路径>
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP