我有一个在 Microsoft Azure 上运行的 Ubuntu 16.04 VM。我还有一个 Azure 存储帐户。我正在尝试使用 duplicity 将文件夹从 Ubuntu 备份到 azure 容器下的子文件夹。
我正在使用以下命令:
/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
这失败并显示错误消息:
Could not create Azure container: The requested URI does not represent any resource on the server.
但是,如果我没有在 Azure URL 上指定子文件夹,则不会出现错误,如下所示:
/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
但在后一种情况下,重复性只是将文件放在 Azure 容器的根文件夹中,而不是我想要的子文件夹中。
有没有办法让 Duplicity 在 Azure 容器中使用子文件夹?
谢谢维普尔。