Questions tagged [duplicity]

Duplicity is a software suite that provides encrypted, digitally signed, versioned, remote backup of files using the rsync algorithm.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

How to stop backup being deleted as soon as it is completed?

Duplicity full backup via ftp completes, then is deleted, all with no user action. There are 2 things I would like to know; is there anything in the information below that explains this problem? ...
user avatar
0 votes
1 answer
51 views

duplicity: No signature chains found

Trying to use duplicity to list files in a backup that is in google drive. I get the error as in the title. I can see the folder and contents if I go to drive.google.com in the browser. I created a ...
IttayD's user avatar
  • 934
0 votes
0 answers
76 views

Duply profile not working with TARGET=ssh:// and ssh-options for identity file

I have created a duply profile. I have tried several versions (all marked in the profile then commented) and nothing helps. The script I launch to test the profile is the following : bash -vvv /etc/...
piscvau's user avatar
0 votes
1 answer
180 views

Duplicity --> Show progress but don't log progress

With Duplicity, I want to see progress (--progress) which is fine. I also want a log but Duplicity will log EVERY progress entry. The log file then becomes ENORMOUS but is all progress bar entries.....
yegnal's user avatar
  • 31
1 vote
1 answer
117 views

Can't delete duplicity s3/glacier archives

For backing up my system to s3, I'm running: duplicity 0.8.17 Python 3.9.2 boto3 '1.24.36' My daily backups run fine, as desired they are moved from s3 to glacier after a month, duplicity status ...
htInEdin's user avatar
0 votes
1 answer
208 views

Duplicity cron not working

I'm trying to run Duplicity backups via a cron script with --encrypt-key and a GNUPG key ID (from gpg --list-secret-keys). It's failing with /root/backup.sh: 5: --encrypt-key: not found but if I ...
Sam's user avatar
  • 170
1 vote
1 answer
577 views

Duplicity - GPG key encryption with multiple devices

I'm struggling to have a working and robust configuration for my backups using Duplicity, knowing that I want asymemtric GPG encryption based on key pairs. And to be able to backup securely from ...
Spiroid's user avatar
  • 11
1 vote
1 answer
686 views

How to back-up a folder every 15 minutes without taking up more space than needed?

I'm incrementally backing up my coding project with Duplicity and am finding it's consuming storage faster than expected. The folder I'm backing up consists mostly of gifs, images, and libraries that ...
TheNomadicAspie's user avatar
2 votes
1 answer
1k views

duplicity - gnupg - no secret key - no passphrase given

I have a problem with duplicity and gpgnu. Environment (Software): Ubuntu 20.04 gpg (GnuPG) 2.2.19 (from package) libgcrypt 1.8.5 (installed from package) duplicity 0.8.18 (installed manually, since ...
pallago's user avatar
  • 121
1 vote
1 answer
72 views

Disk full when restoring Duplicity backup

I'm trying to restore a backup I made using Duplicity because my laptop got lost. I can't install Ubuntu into my current laptop, so I restore using Live USB. I can't restore the thing because ...
starleaf1's user avatar
  • 131
1 vote
1 answer
1k views

Cron scheduled backup script not working or writing to log file

I have a duplicity backup script set to run once per day through the root cron tab. I set it up like this: sudo crontab -e -u root and added the line: 00 03 * * * root /home/[myusername]/...
dysonsphere's user avatar
0 votes
1 answer
513 views

Duplicity able to restore even though wrong passphrase

I was able to restore my encrypted backup even with random password. How come? Creating backing by: export PASSPHRASE=$(cat /var/password.txt) PASSPHRASE="$PASSPHRASE" duplicity \ --encrypt-key ...
Gregor Isack's user avatar
2 votes
2 answers
2k views

Duplicity won't remove old backups, even after full backup

I just did a full backup with Duplicity using --full-if-older-than 7D. When I do a duplicity remove-older-than 7D --force now, I see the following: Last full backup date: Sun Feb 23 12:19:43 2020 (...
MortenMoulder's user avatar
0 votes
1 answer
48 views

specify the interface for automated backups

I am running automated backups with duplicity, but I need a way to execute it from a specific network interface. Right now it has 2 interfaces: eno1-> local network ( say IP is: 1.1.1.1) eno2-> public ...
Perovic 's user avatar
0 votes
2 answers
666 views

I can't resolve an error with Duplicity on Ubuntu

env PASSPHRASE='passphrase here' duplicity --encrypt-key=XXXXXXXX \ --sign-key=XXXXXXXX --include /home/USER/Documents \ webdavs://user:[email protected]:5005 Command line error: ...
Jerry Ryan's user avatar
9 votes
1 answer
878 views

Ignoring folder pattern in deja-dup

In Ubuntu (disco), how do I tell deja-dup to ignore a folder pattern? I want for example to make it skip any folder, in any path, that is named node_modules. When I try to add folders to the ignore ...
rickb's user avatar
  • 93
2 votes
1 answer
527 views

Are duplicity's temporary files and cache encrypted?

Duplicity can often use a lot of disk space for temporary files and the archive cache. It's tempting to use the --archive-dir and --tempdir arguments in order to store these on the same disk where the ...
Ivanna's user avatar
  • 123
0 votes
1 answer
308 views

What backup methods should I use in a two-stage backup plan? (PC to NAS to cloud)

I'm in the process of configuring what I hope will be a sensible, redundant backup solution for my home. I have a dual boot laptop (Ubuntu and Windows) and a home NAS. The idea is to set up backup ...
anlag's user avatar
  • 278
1 vote
0 answers
158 views

duplicity fails after libgcrypt update

I'm using duplicity to backup my Linux server (Ubuntu Server 16.04). Encryption is done with a GnuPG key. This has worked just fine, until the libgcrypt package was updated on 4 July. Since then I get ...
ygoe's user avatar
  • 2,308
0 votes
1 answer
1k views

Duplicity and S3 Frankfurt bucket error: Please use AWS4-HMAC-SHA256

I'm trying to backup my files via Duplicity to Amazon S3 - bucket in Frankfurt region (eu-central-1). My command: /usr/bin/duplicity \ --exclude-if-present do-not-backup \ --s3-use-new-style ...
Messa's user avatar
  • 281
4 votes
1 answer
1k views

Duplicity, duply - Volume was signed by key x, not y, Task 'RESTORE' failed with exit code '22'

I have an issue when trying to restore brand new test backup, just created with duply full option. I get an error: Volume was signed by key E1B0ABA5CC893257, not CC893257 11:10:50.210 Task 'RESTORE' ...
okrutny's user avatar
  • 143
0 votes
2 answers
799 views

Run in bash, string as command does not work (Duplicity)

I am using Duplicity to backup my server into another. Since there are several servers, I want to create a bash script that runs with cron doing by folder (and server) separation. For this I made the ...
guinalz's user avatar
  • 11
3 votes
1 answer
5k views

Duplicity writes files to ~/.cache despite having specified --archive-dir

My duplicity command looks like sudo duplicity --tempdir /media/scratch/tmp --no-encryption --archive-dir /media/scratch/duplicity --exclude /media/nas/backup --exclude /proc --exclude /sys --exclude ...
fpnick's user avatar
  • 616
2 votes
1 answer
508 views

most optimal ZFS dataset configuration for duplicity back-end

I am currently using a FreeNAS system to back up my laptop and desktop. I am using deja-dup (which is a wrapper around duplicity) to handle the client side. Assuming i'm using the out-of-the box ...
code_monk's user avatar
  • 158
1 vote
1 answer
803 views

Duplicity backup to Box stalling

We have been using duplicity to backup our server to a box.com account for some time. The commands being run are: duplicity --full-if-older-than 1M -v4 --exclude *A number of files* / webdavs://*box ...
Antti Stålnacke's user avatar
0 votes
0 answers
2k views

Duplicity encryption

As many of you likely know, duplicity is a software program primarily used on Linux operating systems for creating backups of your desktop environment. The software is known to use gpg to encrypt the ...
Alex's user avatar
  • 121
3 votes
1 answer
4k views

Why does duplicity require the GnuPG passphrase when rotating backups?

I am using duplicity 0.7.05 to periodically backup a directory that resides on a Linux system, using a GnuPG key pair with an encrypted private key. Since the public key is not encrypted, the ...
thkala's user avatar
  • 2,099
5 votes
3 answers
10k views

Duplicity restore failing: No secret key

I'm setting up a backup from a local machine to a remote server. I generated gpg keys on the local machine and ran a test backup with: PASSPHRASE="MyGPGPassphrase" duplicity --encrypt-key KeyID ...
Pabi's user avatar
  • 231
6 votes
1 answer
2k views

How to show differences between two duplicity backups?

I want to be able to see the differences between two duplicity backups. I know there is the command verify but it only lists files which differ from the latest backup. If I try list-current-files with ...
Nicolas Göddel's user avatar
0 votes
0 answers
306 views

Duplicity restore with ftplicity fails because of different volume gpg key

I'm trying restore my backup made on remote ftp server but i have problem because backup was made with different gpg key and then incremental backups was made with second gpg key. I get /usr/local/...
Kenny's user avatar
  • 31
0 votes
1 answer
930 views

How to restore duplicity directories that have spaces in the names?

I have used Duplicity to create encrypted compressed archives of some of my directories. I can extract from the archives any directory I like, except when the directory name has spaces in it. The ...
Harry's user avatar
  • 1
1 vote
1 answer
451 views

How to hide Gnupg passwords when doing back ups with Duplicity?

I have been following some tutorials for Duplicity back ups. It is all fine except that everyone seems to be putting their Gnupg passwords in scripts or plain text files which sounds crazy stupid ...
yarun can's user avatar
  • 1,000
9 votes
1 answer
2k views

How to go through this duplicity stalled connection?

I am trying to set up backups via duplicity. Here is the use case: ~$ duplicity --encrypt-key CA17A4FA --progress --ssh-options="-l 8192" ~/Documents/ ssh://my.distant.host/save/docs/Documents Local ...
Creasixtine's user avatar
0 votes
1 answer
290 views

Homebrew App Not Using Python Package

I installed duply using Homebrew and tried to create a backup to Google Drive. Doing so results in the following error: BackendException: Google Docs backend requires Google Data APIs Python Client ...
fabian789's user avatar
  • 155
7 votes
2 answers
2k views

How to change the passphrase of a duplicity backup?

How to change the passphrase of a duplicity backup? I tried to just provide a new one when doing a backup but was faced with an error. GPGError: GPG Failed How should I proceed to change the ...
M. Toya's user avatar
  • 245
3 votes
1 answer
1k views

Duplicity can only restore as root on OS X

When I try to list or restore files from my duplicity backup in S3 on my OS X machine, I run into a permissions error: Traceback (most recent call last): File "/usr/local/bin/duplicity", line 1411,...
aperiodic's user avatar
10 votes
2 answers
5k views

including files in a symlink directory when backing up with duplicity

I'm backing up using Duplicity, great tool. I'm unable to include files in the backup that are within a directory that is a symlink. Using the following: duplicity <dup args> --include /var/...
Rob's user avatar
  • 729
11 votes
2 answers
8k views

Progress bar/% in duplicity?

I'm starting to experiment with Duplicity for my backups and found that it lacks an option to show a progress bar or percentage, it just shows the files to be backup. Is there a way to get a progress ...
Gabriel's user avatar
  • 3,675
0 votes
0 answers
1k views

Duplicity & S3: "The write operation timed out"

I'm trying to set up an automated backup with duplicity on Amazon S3, but I keep getting a weird error that doesn't show up on Google searches. machina:~# duplicity --version duplicity 0.6.14 Here ...
Executifs's user avatar
  • 267
13 votes
2 answers
13k views

Browse files backed up with duplicity?

I backed up a long time ago (have been traveling for a few months and moving) with duplicity. My ubuntu installation broke, so I 'fixed' it by having it overwrite my Windows partition, even though I ...
Alec's user avatar
  • 288
1 vote
1 answer
1k views

Using a script that uses Duplicity + S3 excluding large files

I'm trying to write an backup script that will exclude files over a certain size. If i run the script duplicity gives an error. However if I copy and paste the same command generated by the script ...
Jason's user avatar
  • 21
1 vote
1 answer
1k views

Writing a bash shell script for website backup

I am about to write my first shell script for backing up my server. These are the steps I have identified so far. Copy files to be backed up to /srv/backup/ run mysqldump and copy the file to srv/...
morpheous's user avatar
  • 4,333
0 votes
1 answer
1k views

Ubuntu: Backing up network files with duplicity?

I just installed Duplicity on Ubuntu and got everything working. However, when I try to backup a network samba-connected windows drive, The following occurs: Backup source directory /smb:/...
Industrial's user avatar
7 votes
1 answer
3k views

Restore only changed files with duplicity

I've a problem. Duplicity is perfect for backups, I love so much that can be able to do incremental diff tars, but ... when restoring duplicity seems don't apply same concept. Basically I need to ...
Ventura's user avatar
  • 71
23 votes
7 answers
19k views

Replacing Dropbox with: Amazon S3 + SSL + GPG/TrueCrypt + Mounting on OSX ?? [closed]

So, right now we're using Dropbox to share various data files around between approximately 10 Mac OS X systems. However, we already have an S3 account and everyone on the lowest Dropbox plan of $10/...
Matt Rogish's user avatar