Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [duplicity]

duplicity is an open source software to backup data incrementally in an encrypted format. It can save/upload the backup to local or remote destination. It is written in python and uses librsync.

0
votes
0answers
37 views

Duplicity /etc/ backup locked files issue

I am supposed to make System-Backups of the linux servers my employer is running. I tried rsnapshot and settled for duplicity, as it seems to be updated more frequently. I need backups of /etc/, /bin/...
0
votes
0answers
21 views

Why does duplicity require the backup passphrase when deleting old volumes?

I've recently been investigating utilising duplicity to backup a server to a remote location via webdav. As part of this, I want all parties involved to have the absolute minimum permissions needed. ...
1
vote
1answer
29 views

How to get only the pub part of gpg --list-public-keys?

Okay, there is probably a better way to phrase this question. I am writing a script to configure my web servers on the first boot, but I hit a snag when generating the GPG key that will be used to ...
1
vote
1answer
44 views

Duplicity error: BackendException: ssh connection to SERVER_IP:22 failed

This used to work just fine until I had to change the server ip. I can sftp to the server. I can also run a simple python code using paramiko to connect to sftp, and it works ok. But when I run ...
0
votes
1answer
44 views

How to restore subdirectory of a duplicity backup?

I have a duplicity backup script running under Ubuntu 18.04 which has backed up the contents of my /etc directory like this: duplicity --archive-dir=/home/bkp/.cache /etc rsync://backup.host::/bkp/...
0
votes
1answer
14 views

Split duply/duplicity backup into subdirectories

I have been running backups with duply for a while now. This works great so far, but recently I started getting the error message Attempt 1 failed. BackendException: Bad status code 507 reason ...
0
votes
1answer
40 views

Back up using Duplicity through SCP with key-based authentication

I want to back up my system to a remote server through SCP using Duplicity. However, I use key-based authentication. How could I do this?
0
votes
0answers
39 views

duplicity from macOs to S3 gives gaierror: [Errno 8] nodename nor servname provided, or not known

I'm backing up a macbook pro to AWS S3. It successfully writes the first volume, and then dies with Attempt 1 failed. gaierror: [Errno 8] nodename nor servname provided, or not known I'm ...
0
votes
1answer
50 views

Have Duplicity use user's persistent gpg session when performing full filesystem backup?

I'm trying to set up automatic, full filesystem backups on my local system using Duplicity. I do not want to have to enter my password for it to encrypt a volume: what if I am not at the computer and ...
0
votes
0answers
80 views

OVH Public Cloud Storage & Duplicity

thanks for reading me ! I do daily backups of my OVH Public Cloud projects and other on OVH Swift/Openstack Public Cloud storages using Duplicity on Debian 8. Everything works fine except for the ...
0
votes
0answers
48 views

Duplicity fails to backup in a single bucket

I am using duplicity to backup some servers I own. Since bucket space can get expensive, it seems economical that I can use one bucket for multiple servers and just prefix the backups. I am currently ...
3
votes
0answers
156 views

Duplicity keeps telling last full backup date: none

I am using duply wrapper script and made a full backup of my folder to another location, when I then try to run incr backup, Duplicity keeps telling me, that last full backup date is none. Warning, ...
1
vote
1answer
163 views

duplicity: UnsupportedBackendScheme: scheme not supported in url: dpbx:///

I'm trying to use duplicity to backup a directory to DropBox in Debian Stretch. However, duplicity gives me the error: UnsupportedBackendScheme: scheme not supported in url: dpbx:/// I have verified ...
0
votes
1answer
72 views

duplicity: Is it possible to create each increment based on last full and not last increment?

Duplicity creates each increment on the top of chain of increments. I wonder if it's possible to create each subsequent increment like the first one - with full backup as its base. Is it feasible ...
0
votes
1answer
14 views

Duply adds an AT (@) before the path (Ubuntu 16)

After an update from Ubuntu 14 to Ubuntu 16, duply stopped working - or rather continued working, but stored the backup files into the wrong directory. This is the duply configuration (excerpt): ...
1
vote
1answer
515 views

Make Duplicity list files to be backed up?

When using --dry-run with rsync it can list the files that will be backed up. But when I with duplicity do duplicity --dry-run --name pchome --encrypt-sign-key xxx --include $HOME/Desktop --exclude '*...
0
votes
0answers
119 views

Duplicity/Duply Backup of EFS filesystem on AWS: All files “possibly locked”

I have an EFS file-system on AWS being mounted by an EC2 instance in order to perform backups. The filesystem has appropriate permissions: drwxr-xr-x The ec2 instance is running duplicity/duply to ...
-1
votes
1answer
629 views

CRC error in several compressed files

I have a server which backs up itself on another server with duplicity (actually duply). The full backup is about 330 1-GB files. The full backup finished without problems, but the next day the ...
1
vote
4answers
623 views

Duplicity constant memory usage (duply)

I'm experiencing constant high memory usage from Duplicity on all servers running it as a backup tool to S3. Isn't Duplicity supposed to run its backup task and kill its job afterwards, or am I ...
1
vote
1answer
979 views

How to restore a Duplicity backup to a new host?

Had a catastrophic failure on a RAID array and lost everything. Have a full set of backups on S3 via duplicity (2003 files), encrypted with GPG. I have the passphrase and a copy of the private key ...
1
vote
1answer
74 views

Why is posix.lstat taking such a long time? (duplicity backing up of 9p virtio filesystem)

I have a filesystem mounted with 9p virtio through KVM, and am backing it up using duplicity to a remote SSH server. I' m trying to speed up the backup process, which seems unreasonably slow to me. ...
0
votes
1answer
95 views

duply backup to specific dir instead of home

While setting up duply for backup I am facing the following problem: Duply should backup a directory (/ruby-webapps/webapp-map/postgesqldata) to another local backup directory(/backup/webapp_database)...
0
votes
1answer
92 views

duplicity states first hostname letter is uppercase

Can anyone guess, why duplicity suddenly started to make or treat the first hostname letter uppercase? [root@crew shared_scripts]# duplicity --version duplicity 0.7.10 [root@crew shared_scripts]# ...
3
votes
1answer
985 views

How can I set up automated, encrypted backups of live MySQL databases on a Ubuntu VPS to Google Drive using Duplicity?

We're using DigitalOcean as our VPS provider. They have a tutorial on how to set up Duplicity for encrypted backups, but it doesn't cover database backups or the Google Drive endpoint. I found a few ...
1
vote
3answers
1k views

Duplicity 0.7.10 fails after upgrading librsync in Ubuntu 14.04

I've spent a few hours trying to configure Duplicity to perform automated remote backups to a Google Drive. At this point, it's safe to say that I'm in my own private dependency hell. Using the ...
2
votes
1answer
877 views

Why does duplicity need a passphrase for OpenPGP encryption?

I'd like to use duplicity to backup files and I'd like to encrypt them with GnuPG. I was wondering why duplicity asks for a passphrase to encrypt the files. For asymmetric encryption the passphrase is ...
2
votes
1answer
56 views

Prevent duplicity to download all manifests

I need to restore most recent duplicity backup into the clean VM. Backup interval is 1 hour. The oldest backup should be 6 months. And every time I restore backup into clean VM duplicity downloads ...
0
votes
1answer
350 views

Trouble getting duplicity + cron + shell script to play nicely together

I'm not sure if this is more appropriate here or over in Stackexchange so sorry if I got it wrong. I was wondering if I could get some help: So I'm trying to use cron to run my shell script which ...
0
votes
1answer
214 views

restore backup files in another server using duplicity

I am using duplicity to backup the application files with gpg key to Amazon service S3 server. And then restore the same from S3 to own server. I want to restore the backed up files to another ...
7
votes
2answers
5k views

Very Huge Sized Cache of Duplicity

I am currently using a duplicity script to backup my 110G/2T CentOS server to a 2T sftp server. Since 4 days passed, duplicity backed up just 90G. This is not a problem. The main problem is; I have ...
0
votes
0answers
598 views

How to restore with Duplicty if Temp space has 0 available?

Normally this command works properly for restoring: duplicity restore -t7D --file-to-restore folder/to_restore file:///where/is/the_backup/ /where_to_restore --no-encrypt But today I am having this ...
2
votes
1answer
512 views

sftp backups with duplicity fail

I'm using duplicity on debian wheezy, which comes with version 0.6.18 as standard package. I also tried version 0.6.24 from wheezy-backports. I want to use sftp as backend, but if I run: duplicity --...
0
votes
1answer
890 views

Cannot restore duplicity backup

I've created a backup of my home folder, to a remote system, using duplicity 0.6.26: duplicity --no-compression --no-encryption . scp://... while being in the home folder. Now I seem to be unable ...
1
vote
3answers
2k views

Duplicity backup to S3: BackendException

I'm trying to configure my Duplicity installation to backup to an Amazon S3 bucket. I keep getting a BackendException error with no further details. EDIT: I've removed my Duply configuration from ...
-1
votes
1answer
31 views

Strategy for migrating older files

I want to have a rock solid tool to move older files to a slower disk - a migration instead of a backup. I was thinking Duplicity would be a good candidate, though I would need a reliable way of ...
0
votes
1answer
1k views

Duplicity for remote backup to AWS S3

I am using Bacula with S3 for backups. I keep bacula volumes for 60 days or so. Using duplicity as I would like to use GPG encryption of the volumes. Is there any way to do an rsync style sync using ...
0
votes
1answer
1k views

Using Duplicity with AWS S3 and IAM Folder policy

I'm trying to setup backups from multiple hosts to a single bucket. Each host has their own AWS login and credentials. The top most folder (prefix) maps to the AWS user id and I'm trying to limit ...
1
vote
1answer
529 views

duplicity s3 backup from centos

I'm trying to backup server data to S3 but getting no success. Below is the script which I run to start backup on S3. I have create a user using IAM and have granted all permissions to the user. #!...
0
votes
1answer
690 views

Duplicity backup restore to the same system or other system had issue

I have installed the duplicity on centos-7 and I was able to encrypt the data and able to restored the same on other server. duplicity --encrypt-key='12005FB81112' etc.gz scp://xyz@104.111.108.101/...
1
vote
1answer
419 views

Restore from Amazon S3 with dupy - duplicity on a new machine

I am trying to restore a full backup in a new machine but it seems that is not working. I installed my pgp's and secret keys. Also I copied my project from duply but when I run duply test restore /...
2
votes
3answers
2k views

Duplicity error: BackendException: ssh connection to SERVER_IP:22 failed: Unknown server SERVER_IP

I'm trying to setup a backup system with Duplicity. I have a server that I want to backup to another SFTP server. If I try to connect via sftp it works fine: root@SERVER:~# sftp user@SFTP_IP ...
0
votes
1answer
234 views

Duplicity: No Shell Expansion with Globbing Filelist?

I am running a Samba PDC with both home directories and Win7 (roaming) profiles under '/home', i.e.: /home/[user name] /home/samba/profiles/[user name]/win.V2 For backup purposes (duplicity 0.6.18 ...
1
vote
1answer
316 views

Using duplicity in a disaster recovery scenario

I am using duplicity for backups on my Debian servers. I have successfully backed up and restored files using duplicity. In my backup script, I have /usr/bin/dpkg --get-selections > /...
0
votes
1answer
497 views

Duplicity Backups (via Duply) to S3 - high server load

We have been doing incremental backups using Duply on our main server, to an S3 bucket. However, we've found that there is a high server load during the backups (its an Amazon EC2 server). We're ...
0
votes
1answer
349 views

Back up S3 bucket to another?

I am looking at duply and duplicity currently to mirror one bucket to another but it looks like I may be running in to a brick wall? So far I have been able to get things working backing up local ...
1
vote
0answers
337 views

Duplicity -> S3 backup failing with “[Errno 105] No buffer space available”

I have a nightly script on my Ubuntu 10.04 VPS which uses duplicity (0.6.24) to run incremental, encrypted backups to Amazon S3. This script had been working until a month or so ago when it started ...
0
votes
1answer
216 views

duply: Full backup on Saturday, but only if there was no manual full backup during the week

I want duply to take a full backup every Saturday, but only if there was no manual full backup during the week. I don't want a full backup to happen on any other weekday but Saturday. Rationale: It ...
2
votes
2answers
3k views

How to change default duplicity archive directory?

How can I change the duplicity default archive directory (~/.cache/)? The following option seems to be ignored. Option --archive-dir=/volume4/duplicity/cache/ --name backup duplicity 0.6.21 (...
1
vote
1answer
456 views

Faster picking of files from a tar archive

We've got a collection of servers that we're backing up using Duplicity. We're trying to build some functionality for our staff so that they can select a file and view the available versions for ...
5
votes
4answers
10k views

Backup a remote directory with duplicity

Is it possible to backup a remote directory to a local path? Using two URL in the command raises Two URLs specified. One argument should be a path. Using only one for the remote but specifying the ...