mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.

Home Page:https://mailinabox.email/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't restore backup from S3

wehmoen opened this issue · comments

Following the guide to restore a backup from S3 the restore commands fails with the following output:

root@box:~# sudo -E duplicity restore --force s3://s3.amazonaws.com/i-put-my-bucket-name-here/ /home/user-data/
Attempt of list Nr. 1 failed. ModuleNotFoundError: No module named 'boto3'
Attempt of list Nr. 2 failed. ModuleNotFoundError: No module named 'boto3'
Attempt of list Nr. 3 failed. ModuleNotFoundError: No module named 'boto3'
Attempt of list Nr. 4 failed. ModuleNotFoundError: No module named 'boto3'
Giving up after 5 attempts. ModuleNotFoundError: No module named 'boto3'

Are there any workarounds or fixes?
It's a fresh Install of MIAB on Ubuntu 18.03

Update to v57?

It's a fresh install. So it is already the latest version.
Mail-in-a-Box Version: v57a

Does it work with boto+s3:// instead of s3://?

Same here with version 57a, interestingly with boto+s3:// it connects, but says that the key is invalid, which is definitely not the case.

I too am having this issue. In the end I installed the AWS CLI and pulled the backup from S3 myself, then ran the command pointing to the file path instead of S3