summaryrefslogtreecommitdiff
path: root/lib/backup
Commit message (Collapse)AuthorAgeFilesLines
* Add installation type to backup information fileBalasankar "Balu" C2018-10-051-0/+1
|
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-2911-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/backupZeger-Jan van de Weg2018-07-311-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-outJacob Vosmaer2018-06-251-4/+4
|
* Restore custom hooks for wikirestore-custom-hooks-wikiAhmad Hassan2018-06-211-0/+2
|
* Move backup custom hooks up a leveluse-backup-custom-hooks-gitalyAhmad Hassan2018-06-201-4/+2
|
* Output done for wiki and repoAhmad Hassan2018-06-191-14/+3
|
* Migrate repo backup to gitalyAhmad Hassan2018-06-151-43/+80
|
* Merge branch 'use-restore-custom-hooks-gitaly' into 'master'Douwe Maan2018-06-081-10/+23
|\ | | | | | | | | Use RestoreCustomHooks RPC in restore rake task See merge request gitlab-org/gitlab-ce!19370
| * Use RestoreCustomHooks RPC in restore rake taskAhmad Hassan2018-06-071-10/+23
| |
* | Consistently use tar lookup functionJacob Vosmaer2018-06-071-3/+8
|/
* Find and mark more Git disk access locationsJacob Vosmaer (GitLab)2018-06-054-11/+22
|
* Use Gitaly's DeleteAllRepositories RPC during backup restoreJacob Vosmaer (GitLab)2018-05-281-20/+36
|
* Merge branch 'migrate-restore-repo-to-gitaly' into 'master'Douwe Maan2018-05-241-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-gitalyAhmad Hassan2018-05-241-8/+0
| |
| * Take restoring custom hooks and the skip flag out of scopeAhmad Hassan2018-05-231-4/+2
| |
| * Remove gitaly_migrate blocks and replace by early returnAhmad Hassan2018-05-211-33/+26
| |
| * Move restore_custom_hooks to its seperate functionAhmad Hassan2018-05-181-16/+20
| |
| * Return from prepare directory if gitaly skip is enabledAhmad Hassan2018-05-171-0/+2
| |
| * Call path_to_repo only when using gitalyAhmad Hassan2018-05-171-1/+1
| |
| * Link to upstream gitaly issues for the missing restore pathsDJ Mountney2018-05-161-6/+8
| |
| * Fix the paths for wiki restoreDJ Mountney2018-05-151-7/+8
| |
| * Output project name before restoring each project repoDJ Mountney2018-05-151-0/+1
| |
| * Remove hooks restore that is no longer necessaryDJ Mountney2018-05-151-7/+0
| |
| * Add back some of the non-gitaly restore functionality behind gatesDJ Mountney2018-05-151-20/+66
| |
| * Wrap create_from_bundle in a begin rescue blockAhmad Hassan2018-05-151-5/+19
| |
| * Better repo restore progress loggingAhmad Hassan2018-05-151-1/+5
| |
| * Remove useless print lineAhmad Hassan2018-05-151-1/+0
| |
| * Use gitaly repository_service.CreateFromBundle to restoreAhmad Hassan2018-05-151-53/+2
| |
* | Fix backup creation and restore for specific Rake tasksStan Hu2018-05-249-41/+76
|/
* Describe workaround when restore fails because of `Errno::EBUSY`Bob Van Landuyt2018-04-233-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 restoreBalasankar "Balu" C2018-03-309-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-accessJacob Vosmaer2018-03-211-2/+2
|
* port of 594e6a0a625^..f74c90f68c6Micaël Bergeron2018-02-011-1/+1
|
* Merge branch 'print-list-of-available-backups' into 'master'Douwe Maan2018-01-161-1/+8
|\ | | | | | | | | List backups avilable for restore See merge request gitlab-org/gitlab-ce!16465
| * Move conditional to a separate methodBalasankar "Balu" C2018-01-151-3/+5
| |
| * List available backups for restoreBalasankar "Balu" C2018-01-151-1/+6
| |
* | Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-112-0/+2
| |
* | Ignore "lost+found" folder during backup on a volumejulien MILLAU2017-12-201-3/+3
|/
* Remove Rugged::Repository#empty?Zeger-Jan van de Weg2017-12-071-6/+3
|
* Rename artifacts_* to legacy_artifacts_*Kamil Trzcinski2017-12-031-1/+1
|
* Fix dumping hashed storage based repositoryGabriel Mazetto2017-11-151-8/+16
|
* Decrease ABC threshold to 54.28Maxim Rydkin2017-10-221-4/+6
|
* Stub ENV in the backup task spec fileRémy Coutable2017-10-181-39/+39
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Ensure all refs are restored on a restore from backupsh-restore-all-refs-backupStan Hu2017-09-291-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 Botelho2017-09-211-1/+1
|
* Tighten up remove_old regex from gitlab backup manager.32796-tighten-up-remove-old-while-backing-up-gitlabTiago Botelho2017-09-201-1/+1
|
* Refactor project and storage typesGabriel Mazetto2017-08-221-1/+1
|
* Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-copRémy Coutable2017-08-091-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Rename ensure_dir_exist -> ensure_storage_path_existGabriel Mazetto2017-08-011-1/+1
|