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.



Forgot the quote to prevent the shell from stealing the >.

tar czpf - (some files) |ssh [EMAIL PROTECTED] 'cat >foo.tgz'

--
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)
Sam Flory  <[EMAIL PROTECTED]>



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

Reply via email to