summaryrefslogtreecommitdiff
path: root/lib/backup/builds.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* Fix backup creation and restore for specific Rake tasksStan Hu2018-05-241-1/+5
|
* Move existing dirs to a temp location while restoreBalasankar "Balu" C2018-03-301-4/+0
| | | | | | | Instead of renaming existing storage directories to a timestamped format, create a timestamped directory in a temporary location and move the individual files and folders inside storage directories to it. This helps us with nested storage directories.
* Explicitly require backup/filesrs-require-backup-filesRobert Speicher2015-11-021-0/+2
|
* Do no rely on basename of builds, uploadsbackup-improvementsJacob Vosmaer2015-10-161-1/+5
|
* Use tar for intermediate backup storageJacob Vosmaer2015-10-061-29/+2
| | | | | | | 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.
* Fix builds directory storeKamil Trzcinski2015-09-151-4/+8
|
* Cleanup CI backup => migrate with GitLabKamil Trzcinski2015-09-151-0/+30