diff --git a/ee/dtr/admin/disaster-recovery/create-a-backup.md b/ee/dtr/admin/disaster-recovery/create-a-backup.md index 7ea6845e56..600c9d66c6 100644 --- a/ee/dtr/admin/disaster-recovery/create-a-backup.md +++ b/ee/dtr/admin/disaster-recovery/create-a-backup.md @@ -130,8 +130,9 @@ recommended for that system. ### Back up DTR metadata To create a DTR backup, load your UCP client bundle, and run the following -concatenated commands: +chained commands: +{% raw %} ```none DTR_VERSION=$(docker container inspect $(docker container ps -f name=dtr-registry -q) | \ grep -m1 -Po '(?<=DTR_VERSION=)\d.\d.\d'); \ @@ -148,6 +149,7 @@ docker run --log-driver none -i --rm \ --ucp-ca "$(curl https://${UCP_URL}/ca)" \ --existing-replica-id $REPLICA_ID > dtr-metadata-${DTR_VERSION}-backup-$(date +%Y%m%d-%H_%M_%S).tar ``` +{% endraw %} #### UCP field prompts @@ -155,7 +157,7 @@ docker run --log-driver none -i --rm \ * `` is the username of a UCP administrator. * `` is the DTR replica ID to back up. -The above concatenated commands run through the following tasks: +The above chained commands run through the following tasks: 1. Sets your DTR version and replica ID. To back up a specific replica, set the replica ID manually by modifying the `--existing-replica-id` flag in the backup command.