1

I have been trying to move huge files from one server to another one via ssh using wget and scp commands but the tar.gz file get corrupted and wont extract. The files is over 30 to 50GBs. Is there any other better way to move .tar.gz files?

2
  • how far apart are the servers?
    – mcalex
    Oct 19, 2012 at 12:48
  • one is in Texas and another one in California
    – FlourishDNA
    Oct 19, 2012 at 13:06

3 Answers 3

8

I'd use rsync which will automatically resume if you need to restart it and will calculate checksums on your file as part of its transfer process.

http://en.wikipedia.org/wiki/Rsync

0

If you have ssh you may use a console FTP client to send it to the server.

The FTP protocol is made for this, so the transfert should be ok

0

You can use an SFTP client able to handle broken connections and reconnect, for instance lftp.

In order to recover a corrupted transfer, use rsync. It will efficiently compare the remote and local files and transfer only the parts that differ.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .