feat: add yearly backup retention

This commit is contained in:
VC
2024-07-05 11:53:34 +02:00
parent 82d898fa03
commit 2bb8c3b000

View File

@@ -10,4 +10,4 @@ export AWS_SECRET_ACCESS_KEY="{{ restic_aws_secret_access_key }}"
{{ restic_path }} backup --exclude-caches {% for i in restic_backup_excluded_path %} -e {{ i }} {% endfor %} {% for i in restic_backup_path %}{{ i }} {% endfor %}
## récupération de l'espace
{{ restic_path }} forget --prune -d 7 -w 4 -m 3
{{ restic_path }} forget --prune -d 7 -w 4 -m 3 -y 1