Questions tagged [duplicity]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

duplicity Exclude Globbing ** Asterisk not working as expected

I try to backup all Maildir of all users with duplicity. But for some reason it excludes the largest one. Some background information: /Users/userA/Maildir has >5GB in Maildir /Users/userB/Maildir ...
0
votes
1answer
36 views

duplicity - what does 'full backup' mean?

I'm thinking about using duplicity to have my offsite backup encrypted. Until now, I'm using a script which runs rsync, pretty straightforward. I've done some reading on duplicity, but I can't seem to ...
0
votes
0answers
49 views

“Backups” (deja-dup): after installing duplicity 0.8 from source, “Backups” can't find it

When using "Backups" (a.k.a. deja-dup) - it doesn't find duplicity, although it's installed: I have been trying to backup using "Backups" (a.k.a. deja-dup), and it turns out that the current ...
0
votes
0answers
75 views

Duplicity IOError No such file or directory during backup

I am using duplicity to backup my home directory to an external HDD with the following command: $ duplicity --progress --exclude ~/Downloads /home/ file:///run/media/username/ADATA_HD650/desktop/...
1
vote
2answers
101 views

duplicity suddenly fails with Python tuple error

I have been using duplicity in a cron job for a year now, has worked just fine. Starting from last week I got the following message: Ausdruckbasierte Dateiliste wird gelesen /home/mu/.config/exclude-...
0
votes
1answer
594 views

How can I fix this gpg error with Backup (deja-dup, duplicity)?

Every day when I have a scheduled backup running, I see this error: Error processing remote manifest (duplicity-inc.20190724T191929Z.to.20190726T191408Z.manifest.gpg): GPG Failed, see log below: ====...
1
vote
0answers
40 views

backup privileged data on remote servers without root ssh

I'm sufficiently new to Linux that I don't understand how to do what I think I want. If you think you know what I actually want, please tell me. I would like to use Duplicity to backup privileged ...
1
vote
0answers
100 views

Secure use of a passphrase in environment variable

I'm trying to understand environment variables and the security implications from the command line and from a script or cron job. Duplicity expects (and requires for automation) that there be a ...
0
votes
1answer
242 views

server backup rsync pull or push or Duplicity

I saw this: Big rsync -- push or pull? and this: Rsync backup script for multiple servers and finally this: https://serverfault.com/questions/543039/backup-a-remote-directory-with-duplicity I ...
1
vote
0answers
137 views

Duplicity full volume restore, missing some files and services

I'm using duplicity on Ubuntu Xenial for creating and encrypting backups and storing them on an S3 bucket (Scaleway). This is the backup script I'm using: #!/bin/bash source ./.scw-configrc HOST=`...
1
vote
0answers
218 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
81 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
74 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
234 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 ...
1
vote
2answers
178 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
688 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 ...
1
vote
1answer
755 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
449 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
290 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
1k 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 ...
3
votes
1answer
520 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
467 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
699 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 --...
2
votes
1answer
314 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
51 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
333 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
166 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
898 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
1k 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
836 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
741 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
510 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
1k 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 ...
4
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
179 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
1k 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
857 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
14k 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
749 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
191 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
1k 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
322 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 ...
9
votes
1answer
2k 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
48 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
2k 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
4k 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 ...
3
votes
2answers
667 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 ...
9
votes
1answer
15k 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
553 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 ...