Use tar for intermediate backup storage
During the backup we create an intermediate copy of two directories: builds and uploads. Instead of creating many small files with 'cp -r', we now use tar (and fast gzip) to create single intermediate files. This saves on disk IO and disk space while creating a backup.
Showing
lib/backup/files.rb
0 → 100644
Please register or sign in to comment