8

I'm trying to create an auto backup using duplicity into amazon s3 following this guide: easy server backups to amazon s3 with duplicity

However, at this command:

duplicity /var/www s3+http://com.mycorp.myhost.backup

I encounter the error:

BackendException: Could not initialize backend: No module named boot

Googling does not yield understandable results for me. FYI, the actual command I run is:

duplicity /Users/okyretina/Dropbox/archive/ s3+http://com.sinkdrive.okyretina.dropbox.archieve

I understand that this guide is for linux and I am using mac osx lion but I figured it should work as well. Any help is appreciated. Thanks.

akirk
  • 6,757
  • 2
  • 34
  • 57
oky_sabeni
  • 7,672
  • 15
  • 65
  • 89

3 Answers3

19

If you are on debian/ubuntu you can install it via: sudo apt-get install python-boto

pan1nx
  • 469
  • 3
  • 8
4

I was getting the same problem again when upgrading to Ubuntu 19.10 and installing python-boto was not helping. Turns out python3-boto is required in newer versions.

sudo apt install python3-boto
Teele
  • 51
  • 5
2

It turns out that I need to install boto first from here

oky_sabeni
  • 7,672
  • 15
  • 65
  • 89