-
-
Notifications
You must be signed in to change notification settings - Fork 0
Frequently asked questions
Niclas Lindstedt edited this page May 15, 2021
·
20 revisions
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>
Use the TZ environment variable.
To keep permissions, you need to set ARCHIVE_TYPE to tgz
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