Amarjot Singh
asked on
Duplicity Linux Backup to Azure Error
Duplicity Linux Backup to Azure
Hi All,
Can anyone help me with the error below please? When executing the following command, I receive the corresponding error.
Running on a updated Debian build with Azure CLI 2.0
Hi All,
Can anyone help me with the error below please? When executing the following command, I receive the corresponding error.
duplicity --full-if-older-than 1M /srv/folder azure://container --archive-dir /var/lib/folder --volsize 2000 --tempdir /srv/tmp
Import of duplicity.backends.giobackend Failed: No module named gio
UnsupportedBackendScheme: scheme not supported in url: azure://container
Running on a updated Debian build with Azure CLI 2.0
from the error message you need to install azure storage for python
Either from https://pypi.org/project/azure-storage/
or
Either from https://pypi.org/project/azure-storage/
or
pip install azure-storage
and retry
ASKER
Hi David - thanks for your response!
Unfortunately I’ve tried the above already to no avail. pip install azure-storage cannot find the package but I have installed it manually using the same URL but I still get the same error.
I read that version 0.2 is required and have downgraded to this also but still have the same error!
Unfortunately I’ve tried the above already to no avail. pip install azure-storage cannot find the package but I have installed it manually using the same URL but I still get the same error.
I read that version 0.2 is required and have downgraded to this also but still have the same error!
I don't have your environment so I can't test unfortunately
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
ASKER
Realised that the azurebackend.py file was missing from /usr/lib/python2.7/dist-pa
Manually added this in and now the error is as follows:
Open in new window