Skip to content

Frequently asked questions

Niclas Lindstedt edited this page May 15, 2021 · 20 revisions

How do I decrypt an encrypted backup if I no longer use docker-backup?

First make sure you have gnupg2 installed (try sudo apt install gnupg2).

Then decrypt it like this:

gpg2 --batch --passphrase "<PASSWORD>" --o <OUTPUT FILENAME> --decrypt <BACKUP NAME>

My backups get the wrong timestamp. How do I change the timezone?

Use the TZ environment variable.

How do I keep permissions after restoring a backup?

To keep permissions, you need to set ARCHIVE_TYPE to tgz

Can I speed up the archiving of backups?

Backups are first written to /tmp/backup before moved to the backup folder. If you have enough memory to store your backups temporarily in memory before moving them to their final destination, you can mount a tmpfs in-memory filesystem at /tmp/backup to speed things up.

version: "3.7"

services:
  ...
  backup:
    ...
    tmpfs:
      - /tmp/backup:mode=700,uid=1000,gid=1000
Clone this wiki locally