I always like to do relative tarballs rather than absolute.  

cd to dir to tar then issue 
  tar -cvf mytarfile .

compress mytarfile
ftp it to linux box

cd to dir where to untar then issue 
  tar -xvf mytarfile .

HTH, 

Gene

>>> [EMAIL PROTECTED] 03/15/02 11:41AM >>>
backup from sun:
TAPEDRIVE=/dev/rmt/0
WORKDIR=/export/home/SUNarchive
tar -cvf $TAPEDRIVE $WORKDIR/passwd

restore to linux:
TAPEDRIVE=/dev/rmt/1
WORKDIR=/local/restore
cd $WORKDIR
tar -xvf $TAPEDRIVE

At this point we get a file not found error.  

Bill Crawford wrote:
> 
> On Fri, 15 Mar 2002, Janyne Kizer wrote:
> 
> > I have some Solaris servers we are migrationt to Red Hat Linux.  What I
> > was hoping to do is write the data that we want to move from the Solaris
> > box to the new server to tape, put the tape into the Linux box and
> > restore the data.  There seems to be an incompatibility in the way the
> > tapes are written by these to operating systems though.  When we put the
> > tape into the drive on the Linux server, the tape is accessed and we get
> > a "file not found" error.  Any pointers would be appreciated.
> 
>  Can you tell us what program you are using to create the tape, and a
> little more detail about the error you are receiving when you try to
> extract the data?
> 
>  Silly question: have you written somewhere after the beginning of the
> tape and then rewound it so your Linux box is trying to read the start
> of some data that has since been overwritten?
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED] 
> https://listman.redhat.com/mailman/listinfo/redhat-list 

-- 

Janyne Kizer
CNE-3, CNE-4, CNE-5
Systems Programmer Administrator I
NC State University, College of Agriculture & Life Sciences
Extension and Administrative Technology Services
Phone: (919) 515-3609



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED] 
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to