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

tape backup issue

Status
Not open for further replies.

terrywashington

Technical User
Jun 28, 2001
185
US
I am trying to tar and gzip a directory to a tape (dev/rmt/0) in a single command line. I have devised a command that will allow me to tar and gzip the directory and put it on another disk or host via the /net mountpoint. I am running the command
tar cvf - . | gzip > /disk1/project.tar.gz.
This command creates a gzipped, tar file of the current directory on /disk1. I am trying to figure out the syntax to send the gzipped tar file to my tape drive instead of /disk1 but am not having any luck. Does anyone have any ideas?
 
i would try (not actually on unix sys)
tar cvf - . | gzip | tar cf /dev/rmt/0 - -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top