Commit dae75d5e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add docs for gitlab:packages:migrate task

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 2c083316
# Packages Migrate Rake Task
## Migrate to Object Storage
After [configuring the object storage](../../maven_repository.md#using-object-storage) for GitLab's packages, you may use this task to migrate existing packages from the local storage to the remote storage.
>**Note:**
All of the processing will be done in a background worker and requires **no downtime**.
### All-in-one rake task
GitLab provides a rake task that migrates all uploaded packages to object storage.
**Omnibus Installation**
```bash
gitlab-rake "gitlab:packages:migrate"
```
**Source Installation**
```bash
sudo RAILS_ENV=production -u git -H bundle exec rake gitlab:packages:migrate
```
......@@ -15,3 +15,4 @@ comments: false
- [Import](import.md) of git repositories in bulk
- [Rebuild authorized_keys file](http://docs.gitlab.com/ce/raketasks/maintenance.html#rebuild-authorized_keys-file) task for administrators
- [Migrate Uploads](../administration/raketasks/uploads/migrate.md)
- [Migrate Packages](../administration/raketasks/packages/migrate.md)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment