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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use the zip command redirected to a tape

Status
Not open for further replies.

paulito

IS-IT--Management
May 22, 2001
3
0
0
US
Hi, I can backup using the zip and find commands generating a .zip file:
find . -print | zip /tmp/filedata -@
this generated a /tmp/filedata.zip file. But I have problems when try to redirect this command to a tape instead of a file. I can tried with the following
find . -print| zip |dd of=/dev/rmt0
but didn't work. Could you please tell me how can i the find + zip redirected to a device of tape?
Thanks in advanced
PaulV.
 
Have you tried

find . -print | zip /dev/rmt?? -@

Where /dev/rmt?? is your tape drive ?

Bill.
 
Sorry. But
find . -print | zip /dev/rmt0 -@
created a /dev/rmt0.zip file
PaulV.
 
If possible, use standard UNIX tools (tar, cpio) to create your tape. This will eliminate this problem. Since "zip" is not a standard AIX command, all bets are off.

Bill.
 
Hi,
I don't know how zip works in unix environment but maybe
instead of including tape device within statement you could run it with tape redirection. I only guess ... :)
for example:
find . -print | zip filename.zip -@ > /dev/rmt0

Bogdan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top