Commit bdc878ba authored by Evan Read's avatar Evan Read

Merge branch 'docs_update_praefect_migrate_repos' into 'master'

Update Praefect migrating existing repos docs to use new API

See merge request gitlab-org/gitlab!37515
parents 206dae73 0c777f65
...@@ -1031,11 +1031,11 @@ also be logged with an accompanying replication job ID. ...@@ -1031,11 +1031,11 @@ also be logged with an accompanying replication job ID.
If your GitLab instance already has repositories, these won't be migrated If your GitLab instance already has repositories, these won't be migrated
automatically. automatically.
Repositories may be moved from one storage location using the [Repository Repositories may be moved from one storage location using the [Project repository storage moves API](../../api/project_repository_storage_moves.md):
API](../../api/projects.html#edit-project):
```shell ```shell
curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" --data "repository_storage=praefect" https://example.gitlab.com/api/v4/projects/123 curl --request POST --header "PRIVATE_TOKEN: <your_access_token>" --header "Content-Type: application/json" \
--data '{"destination_storage_name":"praefect"}' "https://gitlab.example.com/api/v4/projects/123/repository_storage_moves"
``` ```
## Debugging Praefect ## Debugging Praefect
......
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