From e5bec55d38e28f355bee6127503958ff30dabe1d Mon Sep 17 00:00:00 2001 From: Nathan Jones Date: Fri, 19 Apr 2019 12:32:50 -0400 Subject: [PATCH] Trying to fix command rendering of '--format "{{ .Names }}"' (#8677) * Trying to fix command rendering of '--format "{{ .Names }}"' --format "{{ .Names }}" is showing up in the markup but is rendering as --format "" in the published version. Added {% raw %} tags to try to fix. * Update concatenated to chained --- ee/dtr/admin/disaster-recovery/create-a-backup.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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.