🔀: merge S3 OVH

This commit is contained in:
VC
2025-01-09 08:36:24 +01:00
3 changed files with 13 additions and 4 deletions

View File

@@ -10,3 +10,4 @@ restic_backup_path: ["/srv", "/home", "/etc"]
restic_backup_excluded_path: ["/srv/NOBACKUP"]
restic_backup_hour: 6
restic_backup_minute: 0
restic_backup_retention: "--max-unused 1% -d 7 -w 4 -m 3"

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 -y 1
{{ restic_path }} forget --prune {{ restic_backup_retention }}