: 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

@@ -5,13 +5,14 @@ restic_backup_path:
restic_backup_hour: 6
restic_backup_minute: 45
restic_aws_access_key_id: "SCW0VAFXE5MN9N8KVHTQ"
restic_aws_access_key_id: "9b144522d13146c5851940fe6bb27fb5"
restic_aws_secret_access_key: !vault |
$ANSIBLE_VAULT;1.1;AES256
33656263333731333833613461336230626332666534376235643735373862663530393433396130
6161343663633037663033613135333232393364643533320a383630363938313435356261396662
36303063616264383530643638366332323061333835376131323666633234313833353662626438
3235353961303739390a323332376235363734373838613632376232383861613761616437316564
61333532656135333731313561663062323133613662373061666266383031343964623838336264
3936393838396163626438303962313931333165386363666139
restic_s3_url: "https://s3.fr-par.scw.cloud/backup-libertus"
36313765613830623935393637356362326437626434373433323864623961393936353238393363
3834306364613939653136623863323233303235396165610a613763353866306462313363386162
35383735393462323964323863393362386232356366306237353335396564663338346661383764
3161616531313439320a613265633632353032386337356161373835336634666138393437313634
39386366363739313030353039363338373631306536633162616136666533306132346363653863
3133636565626436346139633065343766386564653162323663
restic_s3_url: "https://s3.sbg.io.cloud.ovh.net/backup-libertus"
restic_backup_retention: "--max-unused 1% -d 4 -w 3 -m 2"

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 }}