diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 15:08:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 15:08:48 +0300 |
commit | f7dae0cdcb70ecb71c1d65f099e9d96b27a4548c (patch) | |
tree | e53baffa847c4fd37c8e335e4d93d603c75f9f02 /doc/administration/job_artifacts.md | |
parent | b98fa9ef3d5bead417ae2f325cb64637883264e9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/job_artifacts.md')
-rw-r--r-- | doc/administration/job_artifacts.md | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/administration/job_artifacts.md b/doc/administration/job_artifacts.md index 0c0be1da3c0..54eab36b0bb 100644 --- a/doc/administration/job_artifacts.md +++ b/doc/administration/job_artifacts.md @@ -200,11 +200,18 @@ by the `gitlab:artifacts:migrate` script. ### Migrating from object storage to local storage +**In Omnibus installations:** + In order to migrate back to local storage: -1. Set both `direct_upload` and `background_upload` to false under the artifacts object storage settings. Don't forget to restart GitLab. -1. Run `rake gitlab:artifacts:migrate_to_local` on your console. -1. Disable `object_storage` for artifacts in `gitlab.rb`. Remember to restart GitLab afterwards. +1. Set both `direct_upload` and `background_upload` to false in `gitlab.rb`, under the artifacts object storage settings. +1. [reconfigure GitLab][]. +1. Run `gitlab-rake gitlab:artifacts:migrate_to_local`. +1. Disable object_storage for artifacts in `gitlab.rb`: + - Set `gitlab_rails['artifacts_object_store_enabled'] = false`. + - Comment out all other `artifacts_object_store` settings, including the entire + `artifacts_object_store_connection` section, including the closing `}`. +1. [reconfigure GitLab][]. ## Expiring artifacts |