From 212f4de66ee65ffcc3c92017d598194481985eba Mon Sep 17 00:00:00 2001 From: gilbertchen Date: Tue, 23 Jan 2018 21:43:48 -0500 Subject: [PATCH] Updated Multiple repositories with different accounts of the same cloud storage service (markdown) --- ...erent-accounts-of-the-same-cloud-storage-service.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Multiple-repositories-with-different-accounts-of-the-same-cloud-storage-service.md b/Multiple-repositories-with-different-accounts-of-the-same-cloud-storage-service.md index 539348c..51cdffa 100644 --- a/Multiple-repositories-with-different-accounts-of-the-same-cloud-storage-service.md +++ b/Multiple-repositories-with-different-accounts-of-the-same-cloud-storage-service.md @@ -1,6 +1,7 @@ Below are step-by-step instructions for setting up two repositories, each of which backs up to a different account of the same cloud storage (Google Drive in this case). -1) Run the `init` command in `folder1`: +#### Run the `init` command in `folder1`: + ``` cd path/to/folder1 duplicacy init -storage-name gcd1 folder1 gcd://storage1 @@ -30,7 +31,7 @@ You can also run the `set` command to save the token file path in the `preferenc duplicacy set -key gcd_token -value /path/to/tokenfile1 ``` -2) Run the `init` command in `folder2`: +#### Run the `init` command in `folder2`: ``` cd path/to/folder2 @@ -65,12 +66,13 @@ duplicacy set -key gcd_token -value /path/to/tokenfile2 This is because the `set` command writes the key/value pair to the `preferences` file, which is per repository, so there won't be any conflict here. -3) To perform the backup of `folder1` use the command: +#### To perform the backup of `folder1` use the command: ``` cd /path/to/folder1; duplicacy backup -storage gcd1 ``` -4) To perform the backup of `folder2` use the command: + +#### To perform the backup of `folder2` use the command: ``` cd /path/to/folder2; duplicacy backup -storage gcd1 ``` \ No newline at end of file