I’ve been trying to upgrade to v60. Using a new Ubuntu 20.04, I failed to restore by old machine’s data using duplicity, both from an AWS bucket as well as from a backup uploaded to the machine. It was throwing a lot of errors. I will not bother with the details here.
Thus, I decided to test my backups on the old machine aftering passing the secrets from AWS:
sudo -E duplicity restore --force s3://s3.us-east-2.amazonaws.com/xyz-mailinabox-20oct2022 /home/ubuntu/user-data/ (keep in mind, this is only to test a restore, not an acutal one).
I get the following error:
Attempt of list Nr. 1 failed. ModuleNotFoundError: No module named ‘boto3’
These modules are installed:
python-boto/bionic-updates,bionic-security 2.44.0-1ubuntu2.18.04.1 all
python-boto3/bionic 1.4.2-1 all
python-botocore/bionic-updates 1.16.19+repack-1ubuntu0.18.04.1 all
Has anyone else tried a restore with duplicity in ubuntu 18.04 and succeeded recently? Clearly I can run a backup (did a full one today to check) to S3 with no problems. Perhaps I have the syntax wrong?
Thanks for any pointers.