kopia lustrzana https://github.com/borgmatic-collective/docker-borgmatic
rodzic
e9f71e51b5
commit
43a5d3d3ae
|
@ -5,7 +5,7 @@ repositories:
|
|||
one_file_system: true
|
||||
|
||||
# Passphase is set in varibable $BORG_PASSPHRASE
|
||||
# encryption_passphrase: "DonNotMissToChangeYourPassphrase"
|
||||
# encryption_passphrase: "DoNotForgetToChangeYourPassphrase"
|
||||
compression: lz4
|
||||
archive_name_format: 'backup-{now}'
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ if [ "${DEBUG_SECRETS}" = "true" ] || [ "${DEBUG_SECRETS}" = "1" ]; then
|
|||
fi
|
||||
|
||||
# Disable cron if it's set to disabled.
|
||||
if [[ "$CRON" =~ ^(false|disabled|off)$ ]]; then
|
||||
if [[ "$CRON" = "false" ]]; then
|
||||
echo "Disabling cron, removing configuration"
|
||||
# crontab -r # quite destructive
|
||||
# echo -n > /etc/crontabs/root # Empty config, doesn't look as nice with "crontab -l"
|
||||
|
|
Ładowanie…
Reference in New Issue