Questions tagged [duplicity]
Duplicity is a software suite that provides encrypted, digitally signed, versioned, remote backup of files using the rsync algorithm.
43
questions
0
votes
0
answers
46
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/...
0
votes
1
answer
101
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.....
1
vote
1
answer
90
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 ...
0
votes
1
answer
168
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 ...
1
vote
1
answer
465
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 ...
1
vote
1
answer
379
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 ...
2
votes
1
answer
821
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 ...
1
vote
1
answer
61
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 ...
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]/...
0
votes
1
answer
467
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 ...
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 (...
0
votes
1
answer
45
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 ...
0
votes
2
answers
570
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: ...
9
votes
1
answer
750
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 ...
2
votes
1
answer
443
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 ...
0
votes
1
answer
291
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 ...
1
vote
0
answers
157
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 ...
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 ...
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' ...
0
votes
2
answers
775
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 ...
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 ...
2
votes
1
answer
491
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 ...
1
vote
1
answer
775
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 ...
0
votes
0
answers
1k
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 ...
3
votes
1
answer
3k
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 ...
5
votes
3
answers
9k
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 ...
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 ...
0
votes
0
answers
305
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/...
0
votes
1
answer
914
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 ...
1
vote
1
answer
443
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 ...
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 ...
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 ...
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 ...
3
votes
1
answer
992
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,...
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/...
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 ...
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 ...
13
votes
2
answers
12k
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 ...
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 ...
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/...
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:/...
7
votes
1
answer
2k
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 ...
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/...