On Mon, 2003-07-21 at 19:08, System Administrator wrote:
> On Monday 21 July 2003 18:25, Samuel Flory wrote:
> > System Administrator wrote:
> > >I need to backup a Solaris 8 system (actually parts therein) to a RH8 box.
> > >  I am currently doing that using a simple scp (secure copy) script. The
> > > RH8 filesystem is ext3.
> > >
> > >Question 1) When I copy the files over (all normal files), they occupy 2-3
> > >times the space.  Why?
> > >
> > >Question 2) is there a cleaner way to do this?  I read recently where
> > > someone suggested rsync.  I am investigating whether that is an option on
> > > the Solaris side.
> >
> >   Use tar.
> >
> > tar czvpf  -  (some files, or directory) |ssh [EMAIL PROTECTED] cat
> >
> >  >my.tarfile.tgz
> Well It sounded great....unfortunately all it does is create the loccal tar 
> file.



try 

tar czvpf  -  (some files, or directory) |ssh [EMAIL PROTECTED] 'cat
>my.tarfile.tgz'

THis shold cause the redirect to be parsed by the remote machine

HTH
Bret


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to