这是我第一次在scounix 自己亲自动手在一位高手的帮助下完成的使用方法.我想公布大家参考.
我门单位有两台scounix 5.0.6 数据库服务器 , 第一台服务器主机名 =AA, 第二台主机名=BB.
AA 服务器自带磁带机, BB 服务器没有磁带机., BB服务器的备份数据文件名emsbk.dmp.
我在BB 服务器上运行
$ tar cvf - emsbk.dmp |rcmd AA dd of=/dev/rct0 就把BB服务器的数据备份到AA 服务器的磁带机里..
但是 还要设置以下几个文件:
1. 把AA服务器的主机名和IP地址加到BB服务器的/etc/hosts,把BB服务器的主机名和IP地址加到AA服务器的/etc/hosts.
2. 在AA 服务器上的 /etc/hosts.equiv 上加入 BB 服务器的主机名和一个用户帐号名(如:hmt)(除了ROOT 用户). 编辑某个用户帐号(如:hmt)主目录中的 .rhosts文件,在文件中加入BB 服务器主机名和某个用户帐号(如:hmt)..
秋意正浓 回复于:2004-01-07 18:01:29 |
好!学的好。 |
hamit 回复于:2004-01-07 20:01:38 |
秋意正浓 谢谢你! |
htldm 回复于:2004-01-07 21:20:56 |
虽然精华区已经有这种帖子,但还是要感谢hamit 朋友的奉献精神。 |
flighttop 回复于:2004-01-08 01:51:56 |
thank u for ur work. in this way the ports of remote login and remote shell of ur computer AA are actually activated. If ur AA and BB are in the Intr.net. That is fine. But, it is not safe if AA is exposed to the Internet. In addition, think about using dump instead of tar and dd to do backup. |
oldv 回复于:2004-08-25 17:03:28 |
能让informix的ontape备份时使用另外一台机器上的磁带机吗????
神州动力数码(不是神州数码)这个垃圾,连个磁带机都搞不定,三番五次地折腾死人,郁闷。 |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/