Add backup for wordpress

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2024-08-20 13:49:47 +02:00
parent 7989688e8f
commit 572c9bc4bb
4 changed files with 24 additions and 36 deletions

5
env/backup.env vendored
View File

@ -1,8 +1,9 @@
#RUN_ON_STARTUP=true
BACKUP_CRON=0 * * * *
RESTIC_REPOSITORY=/mnt/restic
RESTIC_BACKUP_SOURCES=/data
RESTIC_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
#RESTIC_BACKUP_ARGS=
#RESTIC_FORGET_ARGS=--prune --keep-last 14 --keep-daily 1
RESTIC_BACKUP_ARGS=--tag docker-volumes --verbose
RESTIC_FORGET_ARGS=--prune --keep-last 14 --keep-daily 7 --keep-weekly 5 --keep-monthly 12 --keep-yearly 2
#RESTIC_PRUNE_ARGS=
RESTIC_CHECK_ARGS=--read-data-subset=20%