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

backup

Status
Not open for further replies.

deeway

MIS
May 8, 2006
16
NL
hi,

I'm backing up two databases with the tar -cvf /dev/rmt1.1 syntax. It works but i can not see al the files on the tape at the same time. I'l have to do tar -tvf /dev/rmt1.1 two times to see the files of the second database.

Can somebody help me?

thnx
 
hi

try

tar -tvf /dev/rmt1

since .1 means no rewind.

hope this helps.
 
Hi !
The tar cvf command with no rewind make different tape files.

For example:
tar cvf /dev/rmt0.1 /home/*
and then
tar cvf /dev/rmt0.1 /usr/*

Will backup /home and /usr in two different tape files.
The first will be /home, and the second /usr.
There is no way to view the files with one single command in these case.

To see the files of the second database use the following:
tctl -f /dev/rmt1 rewind
tctl -f /dev/rmt1.1 fsf 1 ( go to the second tape file )
tar -tvf /dev/rmt1.1 ( list the files os the second tape file )


Cheers !!
Igor Franco
Brazil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top