Closed vialcollet closed 7 years ago
Hi, this looks like a Duplicity configuration issue, see comment #6 here https://bugs.launchpad.net/duplicity/+bug/1278529
Does it work?
Hi thanks for the answer.
I don't really understand how to implement this comment in my case...
I tried gsettings set org.gnome.DejaDup.S3 bucket cav78
, but it returns:
No such schema 'org.gnome.DejaDup.S3'
...
Could you help me to understand? This is an new area to me :(
What version of Duplicity do you have installed? I have seen this bug is fixed in v0.7.01 (2015/01/11). YOu also can try with s3+http://my_bucket/somedir instead. If not, try updating Boto, is the python library that allows Duplicity to talk to S3.
Yes I saw that there is a more recent version. I am using the available package for ubuntu: Installed: 0.6.23-1ubuntu4.1 I don't know how to upgrade... and if this is safe. What do you think?
Oh and I forgot to mention that I tried with setting up a directory and this didn't help.
I haven't upgrade it yet but it looks like there are stable packages for ubuntu here https://launchpad.net/~duplicity-team/+archive/ubuntu/ppa
Thank you so much for your help... ! I have succesfully updated duplicity. Now the message is similar but not 100%:
======================= BACKUP COLLECTION FOR INDEXES lucene ======================
BackendException:
./alfresco-bart.sh: line 741: : command not found
=========================== BACKUP COLLECTION FOR DB mysql ==========================
BackendException:
========================== BACKUP COLLECTION FOR CONTENTSTORE =========================
BackendException:
============================== BACKUP COLLECTION FOR FILES ============================
BackendException:
can you post the command you type? you have disabled lucene backup in config...
I have also been getting the BackendException: No connection to backend
error with duplicity.
I noticed that s3cmd had stopped working for me too with the following error...
# s3cmd ls ERROR: S3 error: 403 (RequestTimeTooSkewed): The difference between the request time and the current time is too large.
It turns out the system time on my vagrant box was 3 days in the past. Forcing a time update seemed to fix both s3cmd and duplicity!
@vialcollet @paulmaunders Please, take a look at the pull request number #17 S3 bucket config sample improvement. I hope it is useful
@toniblyx I believe this is not a problem with the script it self, but with the format used to setup the connection to S3. Please, review my pull request, and if you accept it, I believe this issue can be closed.
Issued solved with the merge of pull request #17
Hi. The backup works fine in local mode. The collection switch returns the correct information.
However when I try to use s3, files seem to be correctly loaded in s3 but then the collection switch returns
BackendException: No connection to backend
.Here is my configuration file: