From e6de9656aa291069b33df9c1ee5ac392caea47c6 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 7 May 2024 16:01:04 +0200 Subject: [PATCH] chore(cp): migrate backup to Garage --- infrastructure/configs/cp/litestream.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/infrastructure/configs/cp/litestream.yml b/infrastructure/configs/cp/litestream.yml index 19e5e4b..3944a0c 100644 --- a/infrastructure/configs/cp/litestream.yml +++ b/infrastructure/configs/cp/litestream.yml @@ -2,11 +2,12 @@ access-key-id: ${accessKey} secret-access-key: ${secretKey} dbs: - - path: /var/lib/rancher/k3s/server/db/state.db - replicas: - - type: s3 - endpoint: ${endpoint} - bucket: k3s - region: us-east-1 - retention: 72h - snapshot-interval: 1h \ No newline at end of file + - path: /var/lib/rancher/k3s/server/db/state.db + replicas: + - name: Garage + type: s3 + endpoint: ${endpoint} + bucket: k3s + region: hel1 + retention: 24h + snapshot-interval: 15m \ No newline at end of file