- 论坛徽章:
- 0
|
aix备份问题!
Assume that the hostname of a remote machine with tape drive is IBM1\r\nWe want to backup filesytem by using remote machine\'s tape drive on IBM2.\r\n\r\nAt first ,please check to make sure that you could rsh to IBM1 without being prompted for a password:\r\n# rsh IBM1\r\n# hostname\r\n\"IBM1\"\r\n# exit\r\n \r\nGood. 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. \r\nYou put a blank tape in the tape drive of IBM1 and then ran these\r\ncommands:\r\n# cd /\r\n# find ./usr -print | backup -iqvf- | rsh IBM1 \"dd of=/dev/rmt0 obs=1024\"\r\n \r\nhow to read a table of contents from the tape:\r\n# rsh IBM1 \"tctl rewind\"\r\n# rsh IBM1 \"restore -Tqvf /dev/rmt0\" >; /tmp/backup.toc |
|