diff --git a/infrastructure/caddy/env/caddy_backup.env b/infrastructure/caddy/env/caddy_backup.env index a568c54..363c402 100644 --- a/infrastructure/caddy/env/caddy_backup.env +++ b/infrastructure/caddy/env/caddy_backup.env @@ -1,9 +1,14 @@ #RUN_ON_STARTUP=true -BACKUP_CRON=*/30 * * * * RESTIC_REPOSITORY=/mnt/restic RESTIC_BACKUP_SOURCES=/data RESTIC_PASSWORD=YFQh8v3Wi95v0p6h88D4u8C8z4gLfdMw +# Backup (exuclusive with Check and Prune) +BACKUP_CRON=*/30 * * * * RESTIC_BACKUP_ARGS=--tag docker-volumes --verbose #RESTIC_FORGET_ARGS=--prune --keep-last 8 --keep-daily 7 --keep-weekly 5 --keep-monthly 12 --keep-yearly 4 -#RESTIC_PRUNE_ARGS= -RESTIC_CHECK_ARGS=--read-data-subset=20% \ No newline at end of file +# Check (exuclusive with Check and Prune) +#CHECK_CRON=*/30 * * * * +#RESTIC_CHECK_ARGS=--read-data-subset=40% +# Prune (exuclusive with Check and Prune) +#PRUNE_CRON=*/30 * * * * +#RESTIC_PRUNE_ARGS= \ No newline at end of file diff --git a/infrastructure/wordpress/env/wordpress_backup.env b/infrastructure/wordpress/env/wordpress_backup.env index b92c9ec..1a4cabb 100644 --- a/infrastructure/wordpress/env/wordpress_backup.env +++ b/infrastructure/wordpress/env/wordpress_backup.env @@ -1,9 +1,14 @@ #RUN_ON_STARTUP=true -BACKUP_CRON=*/30 * * * * RESTIC_REPOSITORY=/mnt/restic RESTIC_BACKUP_SOURCES=/data RESTIC_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ +# Backup (exuclusive with Check and Prune) +BACKUP_CRON=*/30 * * * * RESTIC_BACKUP_ARGS=--tag docker-volumes --verbose RESTIC_FORGET_ARGS=--prune --keep-last 8 --keep-daily 7 --keep-weekly 5 --keep-monthly 12 --keep-yearly 4 -#RESTIC_PRUNE_ARGS= -RESTIC_CHECK_ARGS=--read-data-subset=20% \ No newline at end of file +# Check (exuclusive with Check and Prune) +#CHECK_CRON=*/30 * * * * +#RESTIC_CHECK_ARGS=--read-data-subset=40% +# Prune (exuclusive with Check and Prune) +#PRUNE_CRON=*/30 * * * * +#RESTIC_PRUNE_ARGS= \ No newline at end of file