- 论坛徽章:
- 0
|
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 |
|