# sudo -u git -H bundle exec rake gitlab:uploads:migrate # Avatars sudo -u git -H bundle exec rake "gitlab:uploads:migrate" sudo -u git -H bundle exec rake "gitlab:uploads:migrate" sudo -u git -H bundle exec rake "gitlab:uploads:migrate" # Attachments sudo -u git -H bundle exec rake "gitlab:uploads:migrate" sudo -u git -H bundle exec rake "gitlab:uploads:migrate" sudo -u git -H bundle exec rake "gitlab:uploads:migrate" # Favicon sudo -u git -H bundle exec rake "gitlab:uploads:migrate" # Markdown sudo -u git -H bundle exec rake "gitlab:uploads:migrate" sudo -u git -H bundle exec rake "gitlab:uploads:migrate" sudo -u git -H bundle exec rake "gitlab:uploads:migrate" sudo -u git -H bundle exec rake "gitlab:uploads:migrate" # Design Management design thumbnails sudo -u git -H bundle exec rake "gitlab:uploads:migrate" Migrate to local storage Gitlab-rake "gitlab:uploads:migrate" # Design Management design thumbnails Gitlab-rake "gitlab:uploads:migrate" # Markdown Gitlab-rake "gitlab:uploads:migrate" # Favicon Gitlab-rake "gitlab:uploads:migrate" # Attachments # gitlab-rake gitlab:uploads:migrate # Avatars To migrate all uploads from local storage to object storage, run: These individual Rake tasks are described in the next section. Tasks to migrate files falling under each of these categories one by one. GitLab provides a wrapper Rake task that migrates all uploaded files (for example avatars, logos,Īttachments, and favicon) to object storage in one step. Read more about using object storage with GitLab. To GitLab, use this task to migrate existing uploads from the local storage to the remote storage.Īll of the processing is done in a background worker and requires no downtime. Migrate to object storageĪfter configuring the object storage for uploads To only migrate specific upload types, use gitlab:uploads:migrate.Migrate all uploads with gitlab:uploads:migrate:all or.There is a Rake task for migrating uploads between different storage types.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |