Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tape backup query 1

Status
Not open for further replies.

grega

Programmer
Feb 2, 2000
932
GB
I know it's late on a friday ... but here goes. I have server 1 with tape 1, and server 2 with tape 2. I backup half server 1 to tape 1, and half to tape 2 using the following commands on server 1

tar cvf /dev/rmt/0 -I include_file
tar cvfb - 20 -I include_file_2 | rsh server2 dd of=/dev/rmt/0 obs=20

I can easily get the data off tape 1 onto server 1 from server 1 using tar xvf /dev/rmt/0

How can I get the data off tape 2 onto server 1 while logged on to server 1? Is it possible?

Greg.
 
rsh -n server1 dd if=/dev/rmt/0 obs=20 | tar xvBfb - 20 <files>

according to the man pages ...
 
Cheers Jad - would have taken me a while to find that :)

Greg.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top