Stack Exchange Network

Stack Exchange network consists of 175 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 backs directories by producing encrypted tar-format volumes and uploading them to a remote or local file server.

1
vote
0answers
95 views

What does it mean when Duplicity exits with exit status 23?

I'm running Duplicity for backup of my desktop to a remote storage. Everything has been working fine, but now I see in my log that Duplicity has been exiting with exit status 23 for a couple of runs. ...
0
votes
1answer
40 views

Duplicity 'No Such file or Directory'

I am trying to run duplicity to backup our dataserver to an external server over sftp. My command is as follows: duplicity --no-encryption /home/dataserver sftp://user@host --ssh-askpass When i run ...
1
vote
1answer
48 views

Anacron: Run daily scripts except when monthly script runs

I'm trying to setup some backup strategy using anacron and I'm running into a small issue. I'm using duplicity as a backup utility, which has 2 types of backups: full and incremental. I want a ...
0
votes
1answer
105 views

Duplicity: Restarting backup, but current encryption settings do not match original settings

I use duplicity to create a backup on my files to Backblaze B2. This has worked rather well until a few days ago. I had erased my local Python libraries but reinstalled. Also I extracted the ...
0
votes
2answers
102 views

Does Duplicity modify atime when backing up?

My data resides on a SSD and — thanks to re-writes and Write Amplification — any modification of an atime will result in not only the inode being modified, but the whole block that it resides on being ...
1
vote
1answer
466 views

Backing up to a local SSD taking a lot longer than expected

On a fresh Ubuntu 18.04 system I decided to give Deja-Dup a go. It's just a GUI for Duplicity (which uses rsync). About 850GB of data needed to be backed up. Source SSD was NVMe. Destination SSD ...
0
votes
1answer
530 views

Duplicity - save backup to multiple destinations

Is it possible to configure duplicity to save the generated backup to multiple destinations without doing the whole backup process twice? Something like duplicty --full --volsize 1024 -v5 sftp://user@...
0
votes
1answer
324 views

Resume interrupted duplicity backup without reading directory from scratch

I'm performing a full backup of a directory with duplicity 0.7.17. Slow I/O is the bottleneck (less than 20 MiB/s read) and the directory is large (~5 TiB). The full backup was interrupted before it ...
0
votes
1answer
191 views

Duplicity Error 5 & 22 in /proc/

I've been having some problems with duplicity to backup my root folder to an external drive. The code using is: sudo duplicity full -v4 --no-encryption --exclude /mnt/ / file:///run/media/jjonker/...
2
votes
1answer
825 views

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 ...
2
votes
1answer
384 views

duplicity exclude directories while restoring

How can I restore some files from my duplicity backup excluding some directories/files ? Does --include --exclude work along with restore ?
1
vote
2answers
264 views

Backup only hidden (dot) files with duplicity

I would like to backup config files (hidden, starting with a dot) with duplicity. Only files, no directories. The following command duplicity --include '/home/foo/.*' --exclude '/home/foo/**' /home/...
1
vote
1answer
395 views

Unable to exclude .cache from duplicity backup

I wish to backup with duplicity (I use it often, usually without issues) /etc and /root. I wish to exclude .cache from the /root directory. I try: duplicity incremental --full-if-older-than 30W --...
1
vote
1answer
183 views

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 ...
4
votes
1answer
41 views

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 ...
0
votes
1answer
272 views

Why is duply unable to restore a backup due to signing error?

I manage my backups with duply. Today I wanted to fetch some backuped files from an old machine that got lost on my current machine. Unfortunately I got the error that the storage was signed with ...
1
vote
0answers
117 views

duplicity include-list excludes wrong files

I have a duplicity --include-list, which looks like this: + /data/something + /data/**/somethingselse - /data - /foo which matches other files (less files) than the include-list + /data/something + ...
2
votes
1answer
758 views

duplicity with ssh tunneling

I'm relatively new to posting here, so please pardon infelicities. I'm trying to set up a duplicity backup through a 2-step ssh tunnel that I set up in config with one alias - call that alias "...
1
vote
1answer
908 views

How can I keep permissions on original files when restoring backups with Duplicity?

When restoring files backed up by Duplicity, is there a way to keep the original permissions on the files extracted? I need to run the restore as root, and it seems that makes all the files restored ...
1
vote
1answer
814 views

Backup to Amazon Cloud drive

Amazon Cloud Drive (acd) offers "unlimited" storage for a very affordable price. I wonder, if there are any backup solutions under linux that are usable with it. I am aware of acd_cli. With this it ...
2
votes
1answer
598 views

Duplicity: switch to “secondary backup chain”

I ran duplicity when my backup drive wasn't connected, and it deleted lots of cached sigtar and manifest files: Synchronizing remote metadata to local cache... Deleting local /Users/justin/.cache/...
0
votes
1answer
462 views

Configure Duplicity to use pinentry?

Duplicity by default asks for passwords to GnuPG keys on start up and caches them in memory throughout process lifetime. Is there a way to have it use /usr/bin/pinentry instead so I know I'm not ...
3
votes
2answers
941 views

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://user@hostname.com/home/user/backup When the command is run I get the following output: Local and ...
3
votes
1answer
2k views

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 ...
1
vote
1answer
143 views

Compound Docker Entrypoint?

I need to backup a docker volume to a specific directory within another docker volume using Duplicity. So I need to run a command like this within the container performing the backup: mkdir -p /...
1
vote
1answer
932 views

Exporting a Shell Variable From the Command Line

I'm playing around with duplicity via a script that looks like this: export PASSPHRASE=SomeLongGeneratedHardToCrackKey duplicity /etc scp://FtpUserID@ftp.domain.com/etc unset PASSPHRASE Here's a ...
3
votes
1answer
667 views

How to reset a corrupted backuped file with Duplicity?

When a Duplicity incremental backup is interrupted, some backup files may be corrupted, and cannot be recovered later on (even if new incremental backups are done after the interrupted one). Those ...
1
vote
1answer
11k views

SSH Protocol mismatch

I have a very strange problem. I have two servers, namely daytona, which serves as a storage server with a raid array. I WOL it when I want to back up to it. The second server is testarossa which runs ...
2
votes
1answer
710 views

How to store Deja Dup full backup remotely

I'm keeping a copy of all my Deja Dup backup in my Dropbox. To conserve disk space, I'm wondering if I can delete the local copy of the duplicity-full.*.difftar, keeping only .sigtar to allow future ...
4
votes
0answers
181 views

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 ...
2
votes
1answer
847 views

Duplicity include/exclude directories & symlinks

I'm trying to configure Duplicity to perform a system-wide settings backup. Among other things, I'd like to backup settings in /etc/portage/, the file /usr/src/linux/.config and the KDE autostart ...
1
vote
1answer
301 views

Extracting duplicity backup data

I've made some backups of my previous systems using Deja Dup (duplicity). In my current distribution it's not available, so I've simply extracted the data. Now in order to make that data meaningful ...
4
votes
2answers
1k views

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 ...
6
votes
1answer
1k views

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 ...
2
votes
0answers
46 views

Find duplicity files after using PhotoRec

I've partly formatted a disc where my duplicity files was stored. I have used PhotoRec to recover the files but now they're all unsorted and without the correct filename. I have the files separated by ...
2
votes
1answer
1k views

Wildcards in exclude-filelist for duplicity

I am trying to exclude a "bulk" folder in each home directory from the backup. For this purpose, I have a line - /data/home/*/bulk in my exclude-filelist file. However, this doesn't seem to be ...
4
votes
1answer
3k views

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 ...
2
votes
2answers
616 views

Secure Remote Backups Using Duplicity

The recent take-down of codespaces got me thinking about off-site backup processes (which I currently perform manually with password entry). I have been reading tutorials showing how to automate ...
7
votes
1answer
13k views

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 ...
1
vote
2answers
484 views

Detecting if duplicity will perform a full backup

I'm using duplicity with the --full-if-older-than <time> option to make a new full backup now and then. The problem is that I can hold only two full backups at my destination. This means that ...
11
votes
1answer
10k views

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 '**'\ /...
1
vote
1answer
777 views

Duplicity and GPG: charset conversion

I'm using duplicity on OS X Mavericks. If I run my duplicity command, I get the following error: ===== Begin GnuPG log ===== gpg: conversion from `US-ASCII' to `utf-8' failed: Illegal byte sequence ...
2
votes
0answers
884 views

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 ...
12
votes
3answers
3k views

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/...
2
votes
3answers
1k views

Debian 7.1: duplicity error when using gdocs backend

I've installed duplicity backup tool plus python-gdata library on my debian 7.1 amd64 system. When I want to use duplicity to store my documents on Google Drive, it shows this error after asking for ...
0
votes
1answer
453 views

Duplicity Centos 6 Error

I am trying to verify backup from ftp server using this command. duplicity verify ftp://xxx.net@ftpback-bhs1-15.ip-198-100-151.net/ /home I am getting this error Difference found: File home/nginx ...
1
vote
0answers
189 views

Null byte files in duplicity backup

When duplicty encounters 0-byte-files it gives an IO-error: Error [Errno 5] Input/output error ... getting delta for ... The files are usually some wired stuff like /home/user/.libreoffice/3/user/...
3
votes
2answers
4k views

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?
5
votes
2answers
4k views

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?...