I have an Ubuntu 16.04 VM running on Microsoft Azure. I also have an Azure Storage account. I am trying to use duplicity to backup a folder from Ubuntu to a subfolder under an azure container.
I am using the following command:
/usr/bin/duplicity -v4 --volsize=25 --log-file=/home/<<user_name>>/duplicity-test/logs/duplicity-log.log --full-if-older-than 30D --asynchronous-upload /home/<<user_name>>/duplicity-test/alf_data azure://bart-test-2/alf_data
This fails with error message:
Could not create Azure container: The requested URI does not represent any resource on the server.
However, there is no error if I don't specify a subfolder on the Azure URL, like below:
/usr/bin/duplicity -v4 --volsize=25 --log-file=/home/<<user_name>>/duplicity-test/logs/duplicity-log.log --full-if-older-than 30D --asynchronous-upload /home/<<user_name>>/duplicity-test/alf_data azure://bart-test-2
But in this latter case, duplicity simply puts the file in the root folder of the Azure container, and not in a subfolder as I want it to.
Is there a way to make Duplicity use a Subfolder within an Azure container?
Thanks Vipul.