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
53f3cc64
Commit
53f3cc64
authored
Aug 10, 2020
by
Ben Bodenmiller
Committed by
Achilleas Pipinellis
Aug 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify when LFS objects are sent to object storage
parent
50de2678
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/administration/lfs/index.md
doc/administration/lfs/index.md
+4
-4
No files found.
doc/administration/lfs/index.md
View file @
53f3cc64
...
...
@@ -156,7 +156,7 @@ On Omnibus installations, the settings are prefixed by `lfs_object_store_`:
This will migrate existing LFS objects to object storage. New LFS objects
will be forwarded to object storage unless
`gitlab_rails['lfs_object_store_background_upload']`
is set to false
.
`gitlab_rails['lfs_object_store_background_upload']`
and
`gitlab_rails['lfs_object_store_direct_upload']`
is set to
`false`
.
### S3 for installations from source
...
...
@@ -191,14 +191,14 @@ For source installations the settings are nested under `lfs:` and then
```
This will migrate existing LFS objects to object storage. New LFS objects
will be forwarded to object storage unless
`background_upload`
is set to
false
.
will be forwarded to object storage unless
`background_upload`
and
`direct_upload`
is set to
`false`
.
### Migrating back to local storage
In order to migrate back to local storage:
1.
Set both
`direct_upload`
and
`background_upload`
to
false
under the LFS object storage settings. Don't forget to restart GitLab.
1.
Set both
`direct_upload`
and
`background_upload`
to
`false`
under the LFS object storage settings. Don't forget to restart GitLab.
1.
Run
`rake gitlab:lfs:migrate_to_local`
on your console.
1.
Disable
`object_storage`
for LFS objects in
`gitlab.rb`
. Remember to restart GitLab afterwards.
...
...
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