Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -219,10 +219,9 @@ aws s3 cp --endpoint-url "$AUTHENTIK_S3_BACKUP_ENDPOINT" \
|
||||
"s3://$AUTHENTIK_S3_BACKUP_BUCKET/authentik/$(date -u +%Y-%m-%d)/" \
|
||||
./restore/ --recursive
|
||||
|
||||
# 2. Decrypt (symmetric fallback — use the same AUTHENTIK_SECRET_KEY)
|
||||
# 2. Decrypt with the private key for AUTHENTIK_BACKUP_GPG_RECIPIENT
|
||||
for f in ./restore/*.gpg; do
|
||||
gpg --batch --yes --decrypt --passphrase "$AUTHENTIK_SECRET_KEY" \
|
||||
--output "${f%.gpg}" "$f"
|
||||
gpg --batch --yes --decrypt --output "${f%.gpg}" "$f"
|
||||
done
|
||||
|
||||
# 3. Spin up a throwaway Postgres + restore
|
||||
|
||||
Reference in new issue
Block a user