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.
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 )
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.