Questions tagged [duplicity]

Duplicity backs directories by producing encrypted tar-format volumes and uploading them to a remote or local file server.

Duplicity is mature software written in Python, and uses librsync for incremental backups. It comes with many backends that allow the backup to diverse remote systems such as DropBox, Google Drive, SwiftStack, and WebDAV, as well as by ftp, ssh, and rsync.

There are GUI front-ends to simplify the use of duplicity: and .

71 questions
15
votes
1 answer

How to include / exclude directories in duplicity

I'm using duplicity to backup some of my files. The man page is kind of confusing, regarding the include/exclude Patterns. I'd like to backup the following things: /storage/include /otherthings but NOT /storage/include/exclude The Include-File…
int2000
  • 253
  • 1
  • 2
  • 6
12
votes
2 answers

Cleanup of temporary file ~/.cache/duplicity/temp failed

Often when I run Duplicity I see an error message like this at the end of the run: Cleanup of temporary file /home/user/.cache/duplicity/9a169830d41477b2dbc3c5b32edd4e8a/duplicity-MEXhMY-tempdir/mktemp-StAkzj-1 failed The mentioned directory will…
Daniel
  • 1,207
  • 3
  • 14
  • 30
11
votes
1 answer

How to restore folders to their original destination using duplicity?

After performing a backup of a couple of directories like so: # duplicity\ --exclude /home/user/Documents/test1/file\ --include /home/user/Documents/test1\ --include /tmp/test2\ --exclude '**'\ / file:///home/user/Backup I wanted to test how…
Question Overflow
  • 4,568
  • 19
  • 57
  • 84
9
votes
1 answer

duplicity: how to create & restore full system backup over existing files

I would like to create a full system backup using the duplicity. Accordingly, I created a backup of the root directory /, excluding /proc, /sys, /tmp, and /mnt. However, when trying to restore the backup to the root directory, I got the following…
Jeff
  • 91
  • 1
  • 2
6
votes
2 answers

Cancel and resume a duplicity backup

Is there a way to cancel duplicity (running over rsync and symmetric gpg encryption) without messing up the running backup and resume it later (for example after rebooting the laptop) without problems? Suppose for example that after starting a…
student
  • 17,875
  • 31
  • 103
  • 169
5
votes
1 answer

Duplicity + Amazon S3 Glacier. How Much "Unfreezing" to Resume Backup

It's been a couple of months since I last did a Duplicity backup [to Amazon S3] and, in the meantime thanks to an automatic 30-day rule I have on my Amazon buckets, my S3 backup has been moved from the 'normal' Reduced Redundancy storage to Amazon…
stíobhart
  • 51
  • 1
  • 4
5
votes
0 answers

How are XFS deltas for xfsdump -l n calculated?

I have a xfs filesystem with many small and a couple very large files (~100GB), its on a lvm2 volume. I want to do incremental backups from it. Is there any computational overhead when using a tool like for example duplicity/rdiff versus xfsdump for…
rtur
  • 51
  • 2
5
votes
1 answer

How to exclude all files except specific files with Duplicity?

I'm trying to only backup specific files with Duplicity so I first used this command: duplicity /source-path --include "**/*/*.txt" --include "**/*/*.xml" /dest-path However this gives the following error: Last selection expression: …
laurent
  • 1,868
  • 3
  • 17
  • 22
4
votes
0 answers

Unmount external drive with LVM2 Physical Volume on it

I've got my Ubuntu 13.04 install backed up to my external hard drive using deja-dup. I formatted the drive with lvm so I could use the rest of the drive for external storage while having the resize capeabilites of an lv. When I plug the drive in…
4
votes
1 answer

duply fails on all command with, assert filecount == len(self.files_changed) AssertionError

No matter which command I try on this duply profile it always errors out. duply database status duply database bkp duply database purge They all return a trace similar to the following Start duply v1.11.3, time is 2017-11-30 12:20:12. Using…
nelaaro
  • 1,333
  • 3
  • 15
  • 20
4
votes
1 answer

What does the A, D and Ms mean when running Duplicity with high verbosity?

When I run duplicity with the -v8 switch I get the following output: M home/user/Documents/test.txt D home/user/VirtualBox VMs/win10/Logs/VBox.log.2 A home/user/.config/VirtualBox/example.log What does the capital letters in front of the paths…
PetaspeedBeaver
  • 1,207
  • 3
  • 15
  • 32
4
votes
2 answers

Duplicity backup via sftp finishes without errors but no files transferred to remote host, why?

I want to use the following command to do a remote backup of /home: duplicity full /home sftp://[email protected]/home/user/backup When the command is run I get the following output: Local and Remote metadata are synchronized, no sync needed. Last…
PetaspeedBeaver
  • 1,207
  • 3
  • 15
  • 32
4
votes
3 answers

How to keep a history of backups?

My intention is to create a "snapshot" of a certain hard drive on a server every day. How can I automatically make sure that the snapshot of today, three days ago, five days ago, 10 days ago (and so on) are being kept and cyclically replaced? I…
giovi321
  • 817
  • 3
  • 13
  • 34
3
votes
2 answers

Multiple source directories in duply

Is it possible to specify multiple source directories in a duply configuration file? If not is there any simple workaround?
student
  • 17,875
  • 31
  • 103
  • 169
3
votes
1 answer

How to verify a deja-dup backup using duplicity

This evening, I had to hard shut down my computer after some kind of kernel panic. When I rebooted, I noticed my ~/.ssh/id_rsa had been replaced with an empty file. Rebooting to a USB and running fsck on my home partition reported that the…
Sompom
  • 206
  • 2
  • 8
1
2 3 4 5