1753454 會員
6097 線上
108794 解決方案
發表新文章

如何使用磁带机

 
watermelonyu
教授

如何使用磁带机

大家好:

我现在有二台主机,DS10和DS20,两台主机上安装的操作系统均为tru64 5.1a,其中DS20上的磁带机,而DS10上没有。我现在想把DS10上的一个大小为35GB的数据备份出来!请问我怎么样才能通过网络的方式在DS20上使用磁带机备份DS10上的数据呢?可以具体一点吗?

另外,除了这种方式还有其它备份方式吗?谢谢你们!

1則回覆 1
watermelonyu
教授

如何使用磁带机

1. On your DS20, login as root

# echo "DS10 root" >> ~/.rhosts

2. On your DS10, login as root

If the data which you would like to backup store in filesystem, then you can use following.

# /sbin/vdump -0uf DS20:/dev/nrmt0h -D /mountpoint



*Note:

1. vdump, rvdump only for backup whole filesystem

2. remember to remove the rhosts setting in DS20 after backup your data on DS10 for secure



If the data which you would like to backup just a db datafile for example.



you can simply use export the directory where contain the file from DS10 to DS20 via NFS, then

import(mount) the directory from DS20 via nfs mount, then use whenever cpio, tar to backup the file to your DS20 tape drive.



tar command sample:

#tar cvf somefile.dbf /dev/nrmt0h