: from SCW S3 to OVH S3

This commit is contained in:
VC
2025-01-09 08:33:56 +01:00
parent b41d2b4987
commit 9e9c690a41
3 changed files with 11 additions and 9 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 }}