Restores files FROM a remote tape drive on a host named 'Alpha'
#rsh Alpha -l roger "dd if=/dev/rmt0" | tar -xvf-
The tar command will write it's output to the rsh command which pipes the data to the remote host (Alpha) and the tape drive (/dev/rmt0). Specify -l
#tar -cvf- * | rsh Alpha -l roger "dd of=/dev/rmt0 bs=64k conv=block"
Uses the floppy drive device on node Alpha to store files in tar format.
#tar -cvf- * | rexec Alpha " dd of=/dev/fd0 bs=4096”
Commands for remote tape backup
#tar cvf - $DIRNAME | rsh $SYS dd of=$TAPEDEV
To retrieve the backed up info...
#rsh $REM dd if=$TAPEDEV | tar xvf –
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.