Clean up syntax (#8881)

This commit is contained in:
Maria Bermudez 2019-06-03 10:52:31 -07:00 committed by Dawn W Docker
parent fd2c110025
commit 390cf6b092
1 changed files with 13 additions and 14 deletions

View File

@ -29,13 +29,12 @@ Docker recommends the following steps for your storage backend and metadata migr
```bash ```bash
curl -u <username>:$TOKEN -X POST "https://<dtr-url>/api/v0/jobs" -H "accept: application/json" -H "content-type: application/json" -d "{ \"action": \"onlinegc_blobs\" }" curl -u <username>:$TOKEN -X POST "https://<dtr-url>/api/v0/jobs" -H "accept: application/json" -H "content-type: application/json" -d "{ \"action": \"onlinegc_blobs\" }"
``` ```
On success, you should get a `202 Accepted` response with a job `id` and other related details.
This ensures any blobs which are not referenced in your previously created backup get destroyed. On success, you should get a `202 Accepted` response with a job `id` and other related details. This ensures any blobs which are not referenced in your previously created backup get destroyed.
### Alternative option for data migration ### Alternative option for data migration
- If you have a long maintenance window, you can skip some steps from above and do the following: If you have a long maintenance window, you can skip some steps from above and do the following:
1. Put DTR in "read-only" mode using the following API request: 1. Put DTR in "read-only" mode using the following API request: