On Wed, Oct 18, 2000 at 05:17:42PM +0300, Dovydas Kulvinskas wrote:
> Dovydas Kulvinskas wrote:
> > 
> > > I don't think so. The first tar command you show uses the rewind
> > > device. It does the first backup, then rewinds the tape. So the second
> > > command writes over the first backup. I don't think that's what you
> > > want. Rather, use the no rewind device for all the backups save the last.
> > 
>  Thank U
> 
>  this time I succeed:
>  mt -f /dev/nht0 rewind
>  tar cf /dev/nht0 /path1
>  tar cf /dev/nht0 /path2
>  mt -f /dev/nht0 rewind
>  tar tvf /dev/nht0
>       /path1

You might need an mt command here to position the head.

>  tar tvf /dev/nht0
>       ............ (nothing)
>  tar tvf /dev/nht0
>       /path2
> 
>  Guru says that's wrong couse between two volumes left two tablesets
> (its an end of the all writen data on tape) and should be one tableset.
> Is it true?

I am not sure what you mean by tablesets. If you mean, files on the tape,
yes, you get two files on the tape. I thought that was what you wanted. If
you want both directories in the same tar file on the tape, use tar to get
them both on the first command:

 mt -f /dev/nht0 rewind
 tar cf /dev/nht0 /path1 /path2
 mt -f /dev/nht0 rewind
 tar tvf /dev/nht0

-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to