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
0c777f65
Commit
0c777f65
authored
Jul 22, 2020
by
James Fargher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Praefect migrating existing repos docs to use new API
parent
05225715
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/administration/gitaly/praefect.md
doc/administration/gitaly/praefect.md
+3
-3
No files found.
doc/administration/gitaly/praefect.md
View file @
0c777f65
...
...
@@ -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
automatically.
Repositories may be moved from one storage location using the
[
Repository
API
](
../../api/projects.html#edit-project
)
:
Repositories may be moved from one storage location using the
[
Project repository storage moves API
](
../../api/project_repository_storage_moves.md
)
:
```
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
...
...
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