Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3add3e19
Commit
3add3e19
authored
Feb 25, 2020
by
Ben Prescott @bprescott_↙ ☺
Committed by
Marcel Amirault
Feb 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Artifact migration and S3
parent
0d7b6c81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
doc/administration/job_artifacts.md
doc/administration/job_artifacts.md
+10
-3
No files found.
doc/administration/job_artifacts.md
View file @
3add3e19
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment