Is there a special script or utility for downloading data from the server archive, divided into several parts of a small volume? From the source data access to the server via ssh

ps The volume you need to download, more than 6 GB

  • Access was provided from the side, the server has connection time limits, and it’s not possible to download one large file for a long time. </ Br> There are several small archives out of the situation - Scam Max

2 answers 2

Well, I think something like this:

tar -cz <ΠΏΠ°ΠΏΠΊΠ°> | split -b <Ρ€Π°Π·ΠΌΠ΅Ρ€>m <имя Π°Ρ€Ρ…ΠΈΠ²Π°> Π­Ρ‚ΠΎ Π΄ΠΎΠ»ΠΆΠ½ΠΎ ΡΠΎΠ·Π΄Π°Ρ‚ΡŒ Ρ„Π°ΠΉΠ»Ρ‹ Π²ΠΈΠ΄Π° <имя Π°Ρ€Ρ…ΠΈΠ²Π°>aa <имя Π°Ρ€Ρ…ΠΈΠ²Π°>ab <имя Π°Ρ€Ρ…ΠΈΠ²Π°>ac 

You just need to understand why it is in small volumes. Have SSH means have SFTP taken and downloaded

    It is better to use rsync. If the connection is broken, you will be able to continue downloading from the last place. In addition, it has compression

    For example: rsync -cavzP user @ server: // from / where_to_copy