|
@@ -1,9 +1,24 @@
|
|
|
+# Directory on the docker host to bind-mount to be backed up
|
|
|
+# BACKUP_SOURCE is bind-mounted to /mnt/source
|
|
|
BACKUP_SOURCE=/home
|
|
|
-BACKUP_FOLDERS=/mnt/source/john /mnt/source/jane
|
|
|
-RESTIC_ARGS=--limit-upload 244 --limit-download 244
|
|
|
+
|
|
|
+# Folders to be backed up in the format /mnt/source/<folder>
|
|
|
+BACKUP_BACKUP_FOLDERS=/mnt/source/john /mnt/source/jane
|
|
|
+
|
|
|
+# Additional arguments for restic backup
|
|
|
+RESTIC_BACKUP_ARGS=--limit-upload 244 --limit-download 244
|
|
|
+
|
|
|
+# Additional arguments for restic forget
|
|
|
RESTIC_FORGET_ARGS=--keep-weekly 2 --prune
|
|
|
+
|
|
|
+# Passphrase to encrypt the backup
|
|
|
+ESTIC_PASSWORD=AnotherSetOf30RandomCharacters
|
|
|
+
|
|
|
+# S3 Bucket + Credentials
|
|
|
AWS_ACCESS_KEY_ID=example-TwelveChar
|
|
|
AWS_SECRET_ACCESS_KEY=30RandomAlphaNumericCharacters
|
|
|
-RESTIC_PASSWORD=AnotherSetOf30RandomCharacters
|
|
|
RESTIC_REPOSITORY=s3:https://example.ulm-store.de/mybackup
|
|
|
+
|
|
|
+# Timezone (see https://github.com/restic/restic/issues/2534)
|
|
|
TZ=Europe/Berlin
|
|
|
+
|