stdout

How to split the tar.gz archive into volumes and how it then join

To create an archive divided into volumes in the console you want to run a normal backup with the transfer of the result in output

tar -czvf - name_directory | split -b 1999m - name_file.tar.gz

As a result, we obtain the files are split into parts
To merge the file and extract it

cat name_file* | tar -xzf -

The code has been tested and works
English
Subscribe to RSS - stdout