免费注册 查看新帖 |

Chinaunix

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

[存储备份] aix备份问题! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-15 08:43 |只看该作者 |倒序浏览
我这里有两台rs6000的机器,一台上有磁带机IBM1,另外一台上没有IBM2,我现在想用磁带机(IBM1)备份没有磁带机的那台机器(IBM2)上的数据,该怎么做。
我不想先把数据从没有磁带机的那台机器(IBM2)上拷到有磁带机的那台(ibm1)上,因为这样的话要专门在ibm1上开一个空间出来。

论坛徽章:
0
2 [报告]
发表于 2004-10-15 09:40 |只看该作者

aix备份问题!

Assume that the hostname of a remote machine with tape drive is IBM1
We want to backup filesytem by using remote machine's tape drive on IBM2.

At first ,please check to make sure that you could rsh to IBM1 without being prompted for a password:
# rsh IBM1
# hostname
"IBM1"
# exit

Good. If you had been prompted, we would have had to have edited the /.rhosts file on IBM1 to include a line for the user and IBM2  from which we were logging in to IBM1.
You put a blank tape in the tape drive of IBM1 and then ran these
commands:
# cd /
# find ./usr -print | backup -iqvf- | rsh IBM1 "dd of=/dev/rmt0 obs=1024"

how to read a table of contents from the tape:
# rsh IBM1 "tctl rewind"
# rsh IBM1 "restore -Tqvf /dev/rmt0" >; /tmp/backup.toc
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP