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 | 11 | -0/+22 |
| | | | | | | | | | | 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 | ||||
* | Remove feature flags from lib/backup | Zeger-Jan van de Weg | 2018-07-31 | 1 | -150/+21 |
| | | | | | | | | | | | | | Moved to OPT_OUT in 7d14b725a0da41d1ae7c0a8496b5e66832023e3b, Now, by removing the feature gates, this is an mandatory feature. Related issues: - https://gitlab.com/gitlab-org/gitaly/issues/526 - https://gitlab.com/gitlab-org/gitaly/issues/1194 Closes https://gitlab.com/gitlab-org/gitaly/issues/749 Closes https://gitlab.com/gitlab-org/gitaly/issues/1212 Closes https://gitlab.com/gitlab-org/gitaly/issues/1195 | ||||
* | Move repo backup RPC's to opt-outgitaly-backup-opt-out | Jacob Vosmaer | 2018-06-25 | 1 | -4/+4 |
| | |||||
* | Restore custom hooks for wikirestore-custom-hooks-wiki | Ahmad Hassan | 2018-06-21 | 1 | -0/+2 |
| | |||||
* | Move backup custom hooks up a leveluse-backup-custom-hooks-gitaly | Ahmad Hassan | 2018-06-20 | 1 | -4/+2 |
| | |||||
* | Output done for wiki and repo | Ahmad Hassan | 2018-06-19 | 1 | -14/+3 |
| | |||||
* | Migrate repo backup to gitaly | Ahmad Hassan | 2018-06-15 | 1 | -43/+80 |
| | |||||
* | Merge branch 'use-restore-custom-hooks-gitaly' into 'master' | Douwe Maan | 2018-06-08 | 1 | -10/+23 |
|\ | | | | | | | | | Use RestoreCustomHooks RPC in restore rake task See merge request gitlab-org/gitlab-ce!19370 | ||||
| * | Use RestoreCustomHooks RPC in restore rake task | Ahmad Hassan | 2018-06-07 | 1 | -10/+23 |
| | | |||||
* | | Consistently use tar lookup function | Jacob Vosmaer | 2018-06-07 | 1 | -3/+8 |
|/ | |||||
* | Find and mark more Git disk access locations | Jacob Vosmaer (GitLab) | 2018-06-05 | 4 | -11/+22 |
| | |||||
* | Use Gitaly's DeleteAllRepositories RPC during backup restore | Jacob Vosmaer (GitLab) | 2018-05-28 | 1 | -20/+36 |
| | |||||
* | Merge branch 'migrate-restore-repo-to-gitaly' into 'master' | Douwe Maan | 2018-05-24 | 1 | -45/+43 |
|\ | | | | | | | | | | | | | Use gitaly repository_service.CreateRepositoryFromBundle to restore (rake task) Closes charts/gitlab#390 See merge request gitlab-org/gitlab-ce!18644 | ||||
| * | Remove unneeded gitaly_migrate functionmigrate-restore-repo-to-gitaly | Ahmad Hassan | 2018-05-24 | 1 | -8/+0 |
| | | |||||
| * | Take restoring custom hooks and the skip flag out of scope | Ahmad Hassan | 2018-05-23 | 1 | -4/+2 |
| | | |||||
| * | Remove gitaly_migrate blocks and replace by early return | Ahmad Hassan | 2018-05-21 | 1 | -33/+26 |
| | | |||||
| * | Move restore_custom_hooks to its seperate function | Ahmad Hassan | 2018-05-18 | 1 | -16/+20 |
| | | |||||
| * | Return from prepare directory if gitaly skip is enabled | Ahmad Hassan | 2018-05-17 | 1 | -0/+2 |
| | | |||||
| * | Call path_to_repo only when using gitaly | Ahmad Hassan | 2018-05-17 | 1 | -1/+1 |
| | | |||||
| * | Link to upstream gitaly issues for the missing restore paths | DJ Mountney | 2018-05-16 | 1 | -6/+8 |
| | | |||||
| * | Fix the paths for wiki restore | DJ Mountney | 2018-05-15 | 1 | -7/+8 |
| | | |||||
| * | Output project name before restoring each project repo | DJ Mountney | 2018-05-15 | 1 | -0/+1 |
| | | |||||
| * | Remove hooks restore that is no longer necessary | DJ Mountney | 2018-05-15 | 1 | -7/+0 |
| | | |||||
| * | Add back some of the non-gitaly restore functionality behind gates | DJ Mountney | 2018-05-15 | 1 | -20/+66 |
| | | |||||
| * | Wrap create_from_bundle in a begin rescue block | Ahmad Hassan | 2018-05-15 | 1 | -5/+19 |
| | | |||||
| * | Better repo restore progress logging | Ahmad Hassan | 2018-05-15 | 1 | -1/+5 |
| | | |||||
| * | Remove useless print line | Ahmad Hassan | 2018-05-15 | 1 | -1/+0 |
| | | |||||
| * | Use gitaly repository_service.CreateFromBundle to restore | Ahmad Hassan | 2018-05-15 | 1 | -53/+2 |
| | | |||||
* | | Fix backup creation and restore for specific Rake tasks | Stan Hu | 2018-05-24 | 9 | -41/+76 |
|/ | |||||
* | Describe workaround when restore fails because of `Errno::EBUSY` | Bob Van Landuyt | 2018-04-23 | 3 | -0/+18 |
| | | | | | | When `Errno::EBUSY` is raised during restore, this could indicate that the directory being restored into is a mountpoint. In this case we explain the user how to retry the restore. | ||||
* | Move existing dirs to a temp location while restore | Balasankar "Balu" C | 2018-03-30 | 9 | -34/+49 |
| | | | | | | | 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. | ||||
* | Route path lookups through legacy_disk_pathmark-legacy-git-access | Jacob Vosmaer | 2018-03-21 | 1 | -2/+2 |
| | |||||
* | 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 |
| |