Questions tagged [duplicity-backup]

27 questions
10
votes
2 answers

Backup multiple folders with duplicity (including/excluding)

I would like to backup the following folders with duplicity /home /etc /usr/local /root /var /boot and exclude…
Kurtibert
  • 638
  • 1
  • 5
  • 16
9
votes
1 answer

How do I backup to google drive using duplicity?

I have been trying to get duplicity to backup to google drive. But it looks like it is still using the old client API. I found some thread saying that the new API should be supported but not much details on how to get it to work. I got as far as…
AxelOmega
  • 974
  • 10
  • 18
5
votes
3 answers

Duplicity restore produces an error "No backup chains found"

I'm testing duplicity's restore functionality: duplicity restore file://fullSystemBackup/ backupOutput Which produces an error of: Local and Remote metadata are synchronized, no sync needed. Last full backup date: none GnuPG passphrase for…
Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286
4
votes
1 answer

Is it safe to delete duplicity cache folder?

I'm using duplicity to the backup web project. There are three different places that handling by duplicity: storage, DB, and system settings. I want actually to stop backing up storage and left two others. So the question is how can I know which…
Anton
  • 101
  • 1
  • 8
1
vote
1 answer

Can someone clarify my Duplicity statistics for me?

here's output from a Duplicity backup that I run every night on a server: --------------[ Backup Statistics ]-------------- StartTime 1503561610.92 (Thu Aug 24 02:00:10 2017) EndTime 1503561711.66 (Thu Aug 24 02:01:51 2017) ElapsedTime 100.74 (1…
scooterx3
  • 43
  • 5
1
vote
1 answer

Duplicity on macos not working, getting: env: python2: No such file or directory

I'm trying to run duplicity on macos and I'm getting this error: env: python2: No such file or directory IMHO there is a link missing between python2 and python2.7 but I'm not sure Is it safe to create a link from /usr/bin/python2 to…
Romeo Kienzler
  • 3,373
  • 3
  • 36
  • 58
1
vote
1 answer

duplicity --exclude option doesn't exclude the mentioned dir

#!/bin/bash datetime="`date +%Y%m%d`"; export AWS_ACCESS_KEY_ID="MYKEY" export AWS_SECRET_ACCESS_KEY="MYSECRET" export BACKUP_DEST_FILES="s3://s3.eu-central-1.amazonaws.com/mybucket" cd /var/www/ dirs=($(find * -maxdepth 0 -type d)) for dir in…
Mher Harutyunyan
  • 183
  • 3
  • 12
1
vote
1 answer

Duplicity backups with PGP fail: "Unusable public key"

I am trying to create an ansible role to automate backups. However, it fails with the error: Local and Remote metadata are synchronized, no sync needed. Last full backup date: none GPGError: GPG Failed, see log below: ===== Begin GnuPG log…
DMCoding
  • 1,167
  • 2
  • 15
  • 30
1
vote
1 answer

How-to restore duplicity/duply backup from unknown archive

I've multiple virtual machines and every machine is backuping to the same backup storage (GlusterFS; it's mounted using fuse), but into different backup directories. /var/www/ for example will be backuped to this directory: …
Sebbo
  • 65
  • 1
  • 2
  • 10
1
vote
1 answer

Referencing a dynamic argument in the Docker Entrypoint

I want to run a docker container like this: docker run --rm -it -v volume1:/target -v volume2:/backup duplicity-image backup-label This would cause the following Entrypoint do get executed: duplicity /target file:///backup/$backup-label So my…
Ole
  • 41,793
  • 59
  • 191
  • 359
1
vote
1 answer

Backing Up To Google Drive with Duplicity Not Working

I'm trying to backup to Google Drive with Duplicity, and I can't seem to figure it out. I run this: GOOGLE_DRIVE_SETTINGS=gdrive duplicity / pydrive+gdocs://*******[:*********]@other.host/server-backup and I get this: File…
Jared Caputo
  • 145
  • 1
  • 2
  • 10
1
vote
2 answers

duply/duplicity -- where should I save profile data?

I am trying to set up a backup to Amazon S3 servers using duply, which is a front-end for duplicity. When I create a duply profile, this message is returned: IMPORTANT: Copy the _whole_ profile folder after the first backup to a safe place. It…
evencoil
  • 207
  • 1
  • 2
  • 8
0
votes
0 answers

Duplicity fails with unclear duplicity.gpg.GPGError

I ran duplicity (v1.2.3_1) (via duply) several times on macOS 13.4.1. After around two hours — without any error and successful transmission of several 100gb via ftp — it fails with an GPG error. I have no clue what the actual problem is. GPG error…
arbyter
  • 539
  • 1
  • 4
  • 12
0
votes
1 answer

How to resume an incomplete duply backup?

I started my first full backup as: duply profile1 backup The source data size is 20 TB. Near the end, due to hung state of my filesystem, I had to kill it. Even after Ctrl+C, it left the following files in local…
tash
  • 711
  • 5
  • 13
0
votes
2 answers

Clarify file/dir list to include in duply profile

I have defined /tmp/ as my source directory. I want to backup only in1/ and in2/ subfolders from it. What lines do I need in profile's exclude file? /tmp/a ├── in1 │   └── in.txt ├── in2 │   └── in.txt └── out.txt According to duplicity man page's…
tash
  • 711
  • 5
  • 13
1
2