Backing up specific folders to Azure Blob Storage using Duplicity -
i have ubuntu 16.04 vm running on microsoft azure. have azure storage account. trying use duplicity backup folder ubuntu subfolder under azure container.
i using 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 error message:
could not create azure container: requested uri not represent resource on server.
however, there no error if don't specify subfolder on azure url, 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 latter case, duplicity puts file in root folder of azure container, , not in subfolder want to.
is there way make duplicity use subfolder within azure container?
thanks vipul.
it appears not allow '/' in path. this post azure forums says:
we not allow '/' in path i.e. virtual folder under $root. have create container. see http://msdn.microsoft.com/en-us/library/ee395424.aspx more details.
i think subdirectory name unique , don't need full path. can away using subdirectory name.
have tried:
/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://alf_data
Comments
Post a Comment