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.

104 questions
4
votes
1 answer

Backup 2 specific directories with duplicity

I used to backup directory /home/user/X with duplicity using duplicity /home/user/X/ file:///home/user/Backup/ Now, I want to backup directories /home/user/X/ and /home/user/Y/ and ignore ANYTHING else under /home/user/ (other directories, hidden…
ECII
  • 215
  • 1
  • 3
  • 7
4
votes
1 answer

Duplicity Incremental Restores

I use duplicity to manage an encrypted daily incremental and weekly full backup schedule for my Linux box. Though duplicity allows incremental backups, I could not find any way to do anything other than a full restore. I'm running a 2nd server where…
Asad R.
  • 208
  • 3
  • 9
4
votes
2 answers

Duplicity - how to put passphrase in command?

I've tried a number of obvious commands as detailed in Duplicity Man page to do this but it doesn't seem to work. Scenario I'm SSH'ing to a machine, then running Duplicity; below is the command, of sorts:- ssh -i /keys/key.pem -o…
waxical
  • 344
  • 2
  • 5
  • 12
4
votes
2 answers

duplicity fail: not promping for password: "Running 'sftp user@host' failed"

I have two linode VPS accounts and I want to back up one onto the other (the reasons are mainly for fun and to practice server administration.) the short version Duplicity isn't even asking for my password, but immediately says "invalid SSH…
Alexander Bird
  • 431
  • 2
  • 7
  • 14
3
votes
0 answers

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, found signatures but no corresponding backup…
user6329530
  • 237
  • 2
  • 13
3
votes
1 answer

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 '**' $HOME file:///mnt/backup it just gives the…
Jasmine Lognnes
  • 2,520
  • 8
  • 33
  • 51
3
votes
4 answers

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 missing something here? duply -v duply version…
Jasper
  • 51
  • 4
3
votes
1 answer

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 used to encrypt the backups. I have imported the…
SteveJ
  • 482
  • 1
  • 7
  • 13
3
votes
3 answers

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 user@SFTP_IP's password: Connected to…
Ixio
  • 173
  • 1
  • 2
  • 8
3
votes
2 answers

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 (January 23, 2013) Linux 3.2.40 #4458 SMP Thu Mar 6…
Ben Asmussen
  • 131
  • 1
  • 5
3
votes
2 answers

Why does Keychain compain that id_rsa.pub is missing?

I'm reading this article on setting up unattended backups in Duplicity. I'm in the part called 7.2. SSH KeyCaching I've added the following to my root .bash_profile keychain --clear id_rsa . /root/.keychain/www-sh The article states that keychain…
leeand00
  • 4,869
  • 15
  • 69
  • 110
2
votes
3 answers

duplicity backup fails: "Private key file is encrypted"

I am trying to upload my first duplicity backup to a remote server and it fails. It is the first time I am using the tool and it did not work before. duplicity /home/me/Documents/ scp://me@//home/me/bak This is the answer I…
transient_loop
  • 499
  • 1
  • 4
  • 15
2
votes
2 answers

duplicity "CollectionsError: No backup chains found"

I'm using duplicity 0.7.06 to back up and 0.7.17 to restore a duplicity backup. But I'm getting the error "No backup chains found" when trying to restore a directory from it. I'm not sure what that error signifies though. The backup is made like…
TommyPeanuts
  • 472
  • 1
  • 7
  • 24
2
votes
1 answer

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 encrypt backups with duplicity. I am using this to…
user497477
2
votes
1 answer

Which ssh-based duplicity back-end should I choose?

I am looking at using duplicity for doing file backups over ssh to a remote machine. I see that duplicity supports multiple back-ends that work over ssh, such as ssh://, scp://, and rsync://. Is there a reason to prefer one of these back-ends over…
Lorin Hochstein
  • 5,028
  • 15
  • 56
  • 72