Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add installation type to backup information file | Balasankar "Balu" C | 2018-10-05 | 1 | -0/+1 |
| | |||||
* | Enable frozen string in lib/api and lib/backup | gfyoung | 2018-09-29 | 1 | -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 | ||||
* | Find and mark more Git disk access locations | Jacob Vosmaer (GitLab) | 2018-06-05 | 1 | -3/+3 |
| | |||||
* | Fix backup creation and restore for specific Rake tasks | Stan Hu | 2018-05-24 | 1 | -24/+31 |
| | |||||
* | Move conditional to a separate method | Balasankar "Balu" C | 2018-01-15 | 1 | -3/+5 |
| | |||||
* | List available backups for restore | Balasankar "Balu" C | 2018-01-15 | 1 | -1/+6 |
| | |||||
* | Decrease ABC threshold to 54.28 | Maxim Rydkin | 2017-10-22 | 1 | -4/+6 |
| | |||||
* | Stub ENV in the backup task spec file | Rémy Coutable | 2017-10-18 | 1 | -39/+39 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Adds EE tag detection to remove_old in gitlab backup. | Tiago Botelho | 2017-09-21 | 1 | -1/+1 |
| | |||||
* | Tighten up remove_old regex from gitlab backup manager.32796-tighten-up-remove-old-while-backing-up-gitlab | Tiago Botelho | 2017-09-20 | 1 | -1/+1 |
| | |||||
* | Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-cop | Rémy Coutable | 2017-08-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Support custom directory in gitlab:backup:create task | Markus Koller | 2017-07-27 | 1 | -14/+28 |
| | |||||
* | Fix rubocopfix-backup-raketask | Achilleas Pipinellis | 2017-05-23 | 1 | -1/+0 |
| | |||||
* | Add missing regex to backup manager | Achilleas Pipinellis | 2017-05-23 | 1 | -1/+6 |
| | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10901/diffs introduced a new naming scheme for backups, but the code which cleans up old backups wasn't updated accordingly. In order to maintain backward compatibility, we need to account for 3 naming schemes. | ||||
* | Merge branch 'gl-version-backup-file' into 'master' | Rémy Coutable | 2017-04-26 | 1 | -1/+1 |
|\ | | | | | | | | | Add GitLab version to backup file name See merge request !10901 | ||||
| * | Expose GitLab version in backup file | Achilleas Pipinellis | 2017-04-25 | 1 | -1/+1 |
| | | | | | | | | Instead of doing hacks like http://stackoverflow.com/a/26082612/974710 | ||||
* | | Decrease ABC threshold to 57.08 | Maxim Rydkin | 2017-04-26 | 1 | -16/+19 |
|/ | |||||
* | Add storage class configuration option for Amazon S3 remote backups | Jon Keys | 2017-02-28 | 1 | -1/+2 |
| | |||||
* | Don’t exclude some file in lib from rubocop | Douwe Maan | 2017-02-23 | 1 | -13/+13 |
| | |||||
* | Fix specs | Kamil Trzcinski | 2017-01-31 | 1 | -1/+1 |
| | |||||
* | Restore backup correctly when "BACKUP" environment variable is passedrestore-backup-when-env-variable-is-passed | Adam Niedzielski | 2017-01-09 | 1 | -17/+27 |
| | |||||
* | Fix Backup::Manager#remove_old25399-backup-task-is-not-working-on-8-15-pre | Sean McGivern | 2016-12-07 | 1 | -9/+10 |
| | |||||
* | Add Human Readable Timestamp to backup tar file | David Gerő | 2016-11-30 | 1 | -7/+11 |
| | |||||
* | Use `File::exist?` instead of `File::exists?` | bogdanvlviv | 2016-08-11 | 1 | -1/+1 |
| | | | | Since version ruby-2.2.0, method `File::exists?` is deprecated. | ||||
* | Only create the backup directory if it is local | Stan Hu | 2016-06-10 | 1 | -3/+18 |
| | | | | Closes #12710 | ||||
* | Replace colorize gem with rainbow. | Connor Shea | 2016-06-03 | 1 | -15/+15 |
| | | | | | | | | | | | | | Colorize is a gem licensed under the GPLv2, so we can’t use it in GitLab without relicensing GitLab under the terms of the GPL. Rainbow is licensed under the MIT license and does the exact same thing as Colorize, so Rainbow was added in place of Colorize. The syntax is slightly different for Rainbow vs. Colorize, and was updated in accordance. The gem is still a dependency of Spinach, so it’s included in the development/test environments, but won’t be packaged with the actual product, and therefore doesn’t require we relicense the product. An attempt at relicensing Colorize was made, but didn’t succeed as the library owner never responded. Rainbow library: https://github.com/sickill/rainbow Relevant issue regarding licensing in GitLab's gems: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3775 | ||||
* | Create the specified remote directory during backuprs-create-remote-backup-folder | Robert Speicher | 2016-05-31 | 1 | -1/+1 |
| | | | | | | | This is idempotent, so there's no harm calling it if the directory already exists. Closes #12710 | ||||
* | Improve after reviewfix-registry-backups | Kamil Trzcinski | 2016-05-24 | 1 | -5/+5 |
| | |||||
* | Fix backups if registry is disabled | Kamil Trzcinski | 2016-05-23 | 1 | -2/+11 |
| | |||||
* | Added backup of container registry | Kamil Trzcinski | 2016-05-16 | 1 | -1/+1 |
| | |||||
* | Make sure there is a connection before using ActiveRecordbackup-database-timeout-fix | Jeroen Nijhof | 2016-02-08 | 1 | -0/+3 |
| | |||||
* | Backup LFS objects same as any upload. | Marin Jankovski | 2015-11-19 | 1 | -1/+1 |
| | |||||
* | USe reject.check_if_it_should_be_archived_in_backup | Marin Jankovski | 2015-11-18 | 1 | -1/+1 |
| | |||||
* | Check which folders and archives should be packed before passing to tar command. | Marin Jankovski | 2015-11-18 | 1 | -8/+6 |
| | |||||
* | Implement Build Artifacts | Kamil Trzcinski | 2015-11-10 | 1 | -1/+1 |
| | | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile | ||||
* | Keep old path: db/database.sql.gz | Jacob Vosmaer | 2015-10-06 | 1 | -2/+2 |
| | | | | | Documentation elsewhere refers to this internal path, let's keep it. | ||||
* | Reduce disk IO during SQL backup | Jacob Vosmaer | 2015-10-06 | 1 | -2/+2 |
| | | | | | By using light gzip compression we can save a lot of disk IO during the backup. | ||||
* | Use tar for intermediate backup storage | Jacob Vosmaer | 2015-10-06 | 1 | -2/+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. | ||||
* | Add support for AWS S3 Server-Side Encryption support | Paul Beattie | 2015-09-25 | 1 | -3/+4 |
| | | | | | | | This adds support for AWS S3 SSE with S3 managed keys, this means the data is encrypted at rest and the encryption is handled transparently to the end user as well as in the AWS Console. This is optional and not required to make S3 uploads work. | ||||
* | Fix backup tests | Kamil Trzcinski | 2015-09-16 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:gitlabhq/gitlabhq | Dmitriy Zaporozhets | 2015-08-03 | 1 | -2/+0 |
|\ | |||||
| * | Set internal backup directory modes on create | Jacob Vosmaer | 2015-07-29 | 1 | -2/+0 |
| | | | | | | | | This sidesteps problems with running 'chmod' on some CIFS mounts. | ||||
* | | Allow custom backup archive permissions | Jacob Vosmaer | 2015-07-06 | 1 | -3/+3 |
|/ | | | | | This change helps system administrators who want to replicate GitLab backup files without needing root permissions. | ||||
* | use gitlab not gitlabci | Jeroen Nijhof | 2015-06-09 | 1 | -1/+1 |
| | |||||
* | update fog to 1.25.0 and add multipart upload support | Jeroen Nijhof | 2015-06-09 | 1 | -1/+2 |
| | |||||
* | ability to skip some items in backupbackup_skip_option | Valery Sizov | 2015-04-02 | 1 | -6/+36 |
| | |||||
* | Don't use chmod_R for backup tars | Vinnie Okada | 2015-03-28 | 1 | -1/+1 |
| | | | | | When creating backup tar files, only change permissions on the `db`, `uploads`, and `repositories` directories, not their contents. | ||||
* | Change directory when removing old backups | Vinnie Okada | 2015-03-24 | 1 | -7/+8 |
| | |||||
* | Call chdir() with a block | Vinnie Okada | 2015-03-19 | 1 | -18/+17 |
| | |||||
* | Change permissions on backup files | Vinnie Okada | 2015-03-17 | 1 | -5/+13 |
| | | | | | Use more restrictive permissions for backup tar files and for the db, uploads, and repositories directories inside the tar files. |