-
-
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, install gnupg2 with sudo apt install gnupg2
Then decrypt it like this:
gpg2 --batch --passphrase "<PASSWORD>" --o <OUTPUT FILENAME> --decrypt <BACKUP NAME>
GnuPG will detect what algorithm was used for encryption, so you do not need to specify algorithm.
First, install cksfv with sudo apt install cksfv
Then verify an sfv checksum like this:
cksfv -g <SFV FILENAME>
If it tells you Everything OK
then the file is intact and valid.
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