duplicity not pushing backups to OVH swift container

Asked by Piotr Slawek on 2020-03-25

I have an issue with duplicity 0.7.06 and 0.7.19 on ubuntu1~16.04.9 when trying to auth using keystone V3 with OVH.
Duplicity creates only local backups in .cache/duplicity but does not push them to OVH swift object storage. There are no errors it just keeps storing them on local disk. It was working before with keystone auth V2, credentials are the same.
I was able to login to OVH swift using swift cli and upload files.
One more thing is when I remove backups from cache it pulls full backups from OVH, so credentials definitelly works.

Here's the command I am using with environmental settings:

export SWIFT_AUTHURL="https://auth.cloud.ovh.net/v3/"
export SWIFT_USERNAME="xxxx"
export SWIFT_PASSWORD="xxxxx"
export SWIFT_REGION_NAME="SBG"
export SWIFT_USER_DOMAIN_NAME="Default"
export SWIFT_PROJECT_DOMAIN_NAME="default"
export SWIFT_TENANTNAME="xxxx"
export SWIFT_AUTHVERSION="3"
export PASSPHRASE="xxxx"

HOSTNAME=$(hostname)
duplicity /home swift://${HOSTNAME}

Anyone had similar issue?

Question information

Language:
English Edit question
Status:
Answered
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
2020-03-26
Last reply:
2020-03-26
edso (ed.so) said : #1

hi Piotr,

duplicity 0.7 is not actively developed anymore. did you try duplicity 0.8 as suggested on stackex aleready?

..ede/duply.net

Piotr Slawek (pisxx) said : #2

Hi,

I haven't tried that as I was unable to find duplicity v0.8 for this ubuntu version and have some issues with build that on server.
Is there a publicly available duplicity v0.8 for ubuntu 16.04?
I saw other versions(14, 18) but not 16.04..

There are multiple options both stable and daily:

* Stable tarball install - https://launchpad.net/duplicity/+download
* Daily duplicity builds - https://launchpad.net/~duplicity-team/+archive/ubuntu/daily-dev-trunk
* Stable snap builds - “sudo snap install duplicity —classic"
* Latest snap builds - “sudo snap install duplicity —classic —edge"
* Latest pip builds - “sudo pip install duplicity"

NOTE: UNinstall duplicity first if it was installed via the distribution repository. For Ubuntu that would be "sudo apt-get purge duplicity".

Piotr Slawek (pisxx) said : #4

I have some issues with installing it via apt.
I have added duplicity v0.8 PPA:
sudo add-apt-repository ppa:duplicity-team/daily-dev-trunk

but when I try to install it I get following error:

Err:10 http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu xenial/main amd64 Packages
  404 Not Found [IP: 91.189.95.83 80]
Ign:11 http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu xenial/main all Packages
Ign:12 http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu xenial/main Translation-en
Ign:13 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 InRelease
Hit:14 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:15 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 Release
Fetched 216 kB in 7s (29.4 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found [IP: 91.189.95.83 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

I wanted to avoid using tarballs or python modules if that's possible.
Any ideas how to solve above?

Best Regards

edso (ed.so) said : #5

On 26.03.2020 10:09, Piotr Slawek wrote:
> Question #689493 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/689493
>
> Status: Answered => Open
>
> Piotr Slawek is still having a problem:
> I have some issues with installing it via apt.
> I have added duplicity v0.8 PPA:
> sudo add-apt-repository ppa:duplicity-team/daily-dev-trunk
>
> but when I try to install it I get following error:
>
> Err:10 http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu xenial/main amd64 Packages
> 404 Not Found [IP: 91.189.95.83 80]
> Ign:11 http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu xenial/main all Packages
> Ign:12 http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu xenial/main Translation-en
> Ign:13 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 InRelease
> Hit:14 https://download.docker.com/linux/ubuntu xenial InRelease
> Hit:15 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 Release
> Fetched 216 kB in 7s (29.4 kB/s)
> Reading package lists... Done
> W: The repository 'http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu xenial Release' does not have a Release file.
> N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
> N: See apt-secure(8) manpage for repository creation and user configuration details.
> E: Failed to fetch http://ppa.launchpad.net/duplicity-team/daily-dev-trunk/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found [IP: 91.189.95.83 80]
> E: Some index files failed to download. They have been ignored, or old ones used instead.
>
> I wanted to avoid using tarballs or python modules if that's possible.
> Any ideas how to solve above?
>

how about using the snaps mentioned above
https://wiki.ubuntuusers.de/snap/

should be easiest if you do not want to update the OS or dive into specifics.

don't forget to uninstall the duplicity 0.7 first..ede/duply.net

Can you help with this problem?

Provide an answer of your own, or ask Piotr Slawek for more information if necessary.

To post a message you must log in.