OpenEMR on AWS/ Backup with duplicity


(Atif Mian) #1

when I try to backup openemr using the following in linux/SSH

/etc/cron.daily/duplicity-backups

I get the following

Traceback (most recent call last):
File “/usr/bin/duplicity”, line 1532, in <module>
with_tempdir(main)
File “/usr/bin/duplicity”, line 1526, in with_tempdir
fn()
File “/usr/bin/duplicity”, line 1364, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File “/usr/lib/python2.7/dist-packages/duplicity/commandline.py”, line 1116, i n ProcessCommandLine
backup, local_pathname = set_backend(args[0], args[1])
File “/usr/lib/python2.7/dist-packages/duplicity/commandline.py”, line 1005, i n set_backend
globals.backend = backend.get_backend(bend)
File “/usr/lib/python2.7/dist-packages/duplicity/backend.py”, line 223, in get _backend
obj = get_backend_object(url_string)
File “/usr/lib/python2.7/dist-packages/duplicity/backend.py”, line 209, in get _backend_object
return factory(pu)
File “/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py”, li ne 161, in init
self.resetConnection()
File “/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py”, li ne 187, in resetConnection
if “NoSuchBucket” in e.error_code:
TypeError: argument of type ‘NoneType’ is not iterable

Does anyone know how to fix this or point me in the direction

thanks