Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | port of 594e6a0a625^..f74c90f68c6 | Micaël Bergeron | 2018-02-01 | 1 | -1/+1 |
| | |||||
* | Merge branch 'print-list-of-available-backups' into 'master' | Douwe Maan | 2018-01-16 | 1 | -1/+8 |
|\ | | | | | | | | | List backups avilable for restore See merge request gitlab-org/gitlab-ce!16465 | ||||
| * | 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 |
| | | |||||
* | | Adds Rubocop rule for line break around conditionals | 🙈 jacopo beschi 🙉 | 2018-01-11 | 2 | -0/+2 |
| | | |||||
* | | Ignore "lost+found" folder during backup on a volume | julien MILLAU | 2017-12-20 | 1 | -3/+3 |
|/ | |||||
* | Remove Rugged::Repository#empty? | Zeger-Jan van de Weg | 2017-12-07 | 1 | -6/+3 |
| | |||||
* | Rename artifacts_* to legacy_artifacts_* | Kamil Trzcinski | 2017-12-03 | 1 | -1/+1 |
| | |||||
* | Fix dumping hashed storage based repository | Gabriel Mazetto | 2017-11-15 | 1 | -8/+16 |
| | |||||
* | 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> | ||||
* | Ensure all refs are restored on a restore from backupsh-restore-all-refs-backup | Stan Hu | 2017-09-29 | 1 | -1/+1 |
| | | | | | | | | | To restore all refs from a bundle, we need to use the --mirror option to ensure that all refs are properly restored. Without this, refs such as `refs/merge-requests/X` and `refs/keep-around/Y` would be omitted, which exposed a bug as described in https://gitlab.com/gitlab-org/gitlab-ce/issues/38319#note_41648608. Closes #38352 | ||||
* | 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 |
| | |||||
* | Refactor project and storage types | Gabriel Mazetto | 2017-08-22 | 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> | ||||
* | Rename ensure_dir_exist -> ensure_storage_path_exist | Gabriel Mazetto | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Rename more path_with_namespace -> full_path or disk_path | Gabriel Mazetto | 2017-08-01 | 1 | -3/+3 |
| | |||||
* | Rename path_with_namespace -> disk_path when dealing with the filesystem | Gabriel Mazetto | 2017-08-01 | 1 | -2/+2 |
| | |||||
* | Rename many path_with_namespace -> full_path | Gabriel Mazetto | 2017-08-01 | 1 | -3/+3 |
| | |||||
* | Protect backups from stale cache for repo exists | Michael Kozono | 2017-07-28 | 1 | -0/+1 |
| | |||||
* | Support custom directory in gitlab:backup:create task | Markus Koller | 2017-07-27 | 1 | -14/+28 |
| | |||||
* | fix typofix/backup-restore-resume | James Lopez | 2017-06-07 | 1 | -1/+1 |
| | |||||
* | fix wiki | James Lopez | 2017-06-07 | 1 | -1/+1 |
| | |||||
* | refactor code and spec | James Lopez | 2017-06-07 | 1 | -25/+21 |
| | |||||
* | fix backup task to ignore errors per project | James Lopez | 2017-06-07 | 1 | -26/+29 |
| | |||||
* | Fix data inconsistency issue for old artifacts by moving them to a currently ↵ | Kamil Trzcinski | 2017-06-01 | 1 | -1/+1 |
| | | | | used path | ||||
* | 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 |
|/ | |||||
* | Merge branch 'db-backup-ssl-support' into 'master' | Achilleas Pipinellis | 2017-04-24 | 1 | -5/+21 |
|\ | | | | | | | | | | | | | Database SSL support for backup script. Closes #1440 See merge request !9715 | ||||
| * | Database SSL support for backup script. | Guillaume | 2017-04-05 | 1 | -5/+21 |
| | | |||||
* | | Fix custom hooks restore | Jacob Vosmaer | 2017-03-29 | 1 | -1/+3 |
|/ | |||||
* | Merge branch '28447-hybrid-repository-storages' into 'master' | Sean McGivern | 2017-03-07 | 1 | -2/+3 |
|\ | | | | | | | | | Update storage settings to allow extra values per shard See merge request !9597 | ||||
| * | Update storage settings to allow extra values per shard28447-hybrid-repository-storages | Alejandro Rodríguez | 2017-03-03 | 1 | -2/+3 |
| | | | | | | | | | | | | | | This will be necessary when adding gitaly settings. This version doesn't make any functional changes, but allows us to include this breaking change in 9.0 and add the needed extra settings in the future with backwards compatibility | ||||
* | | Merge branch 'backup_storage_class' into 'master' | Rémy Coutable | 2017-03-06 | 1 | -1/+2 |
|\ \ | | | | | | | | | | | | | Add storage class configuration option for Amazon S3 remote backups See merge request !9599 | ||||
| * | | Add storage class configuration option for Amazon S3 remote backups | Jon Keys | 2017-02-28 | 1 | -1/+2 |
| |/ | |||||
* | | Remove remnants of git annex | Pawel Chojnacki | 2017-03-03 | 1 | -3/+2 |
|/ | |||||
* | Don’t exclude some file in lib from rubocop | Douwe Maan | 2017-02-23 | 5 | -56/+64 |
| | |||||
* | # This is a combination of 2 commits. | Drew Blessing | 2017-02-21 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | # This is the 1st commit message: Add `copy` backup strategy to combat file changed errors The backup Rake task used to stream data directly from the live data directory into the backup. Under many circumstances this worked OK. However, really active instances would experience a 'file changed as we read it' error - especially with data like the registry. This now copies the data first, then compresses it. It will take a bit more disk space while the backup is in progress, but it's a necessary thing. # The commit message #2 will be skipped: # Add env var | ||||
* | Use Namespace#full_path instead of Namespace#path | Dmitriy Zaporozhets | 2017-02-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Fix specs | Kamil Trzcinski | 2017-01-31 | 1 | -1/+1 |
| | |||||
* | Add GitLab Pages | Kamil Trzcinski | 2017-01-31 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | - The pages are created when build artifacts for `pages` job are uploaded - Pages serve the content under: http://group.pages.domain.com/project - Pages can be used to serve the group page, special project named as host: group.pages.domain.com - User can provide own 403 and 404 error pages by creating 403.html and 404.html in group page project - Pages can be explicitly removed from the project by clicking Remove Pages in Project Settings - The size of pages is limited by Application Setting: max pages size, which limits the maximum size of unpacked archive (default: 100MB) - The public/ is extracted from artifacts and content is served as static pages - Pages asynchronous worker use `dd` to limit the unpacked tar size - Pages needs to be explicitly enabled and domain needs to be specified in gitlab.yml - Pages are part of backups - Pages notify the deployment status using Commit Status API - Pages use a new sidekiq queue: pages - Pages use a separate nginx config which needs to be explicitly added | ||||
* | 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 |
| | |||||
* | Backups do not fail anymore when using tar on annex and custom_hooks | tiagonbotelho | 2016-10-27 | 1 | -16/+76 |
| | | | | only. | ||||
* | lib/backup: fix broken permissions when creating repo dir | Dirk Hörner | 2016-08-30 | 1 | -1/+1 |
| | | | | | | This commit fixes a typo where the mode argument to FileUtils.mkdir() would be passed in decimal rather than octal format, yielding bad permissions. |