SCP of large files between servers

I need to transfer a large oracle file between 2 Solaris 7 systems the file is 12+ gig in a tar.Z format. When I try to scp the file it returns this message

Value too large for defined data type

The same comand let me move a 2.6 gig file with no problem. Is there any thing I need to add for such a large file?

Thanks

Scotty

[364 byte] By [] at [2007-11-25 22:51:10]
# 1

Hi,

you have other options besides scp: rsync and tar.

a) rsync:

rsync -avz -e ssh local.file your_name@remote.server:/remote/directory/where/data/goes

/remote/directory/where/data/goes should exist, IIRC. Leave away z (compression) if you feel it puts too much load. Instead of local.file you can also specify a whole directory, so you might not need to tar.

b) tar

tar cvf - file_or_dir_to_transfer | ssh -l remote.server "cd /remote/dir/where/data/goes; tar xvf -"

You could put the output of tar also through gzip -c and through gzip -dc, it you want compression:

tar ... | gzip -c | ssh .... " cd ...; gzip -dc | tar xvf -"

Cheers, Peter.

niessepe at 2007-7-5 17:06:37 > top of Java-index,General,Sun Networking Services and Protocols...