enable snapshots
Some checks failed
lint-test-helm / lint-helm (push) Successful in 11s
render-manifests-push / render-manifests-push (push) Successful in 50s
renovate / renovate (push) Has been cancelled

This commit is contained in:
2025-12-20 00:33:50 -06:00
parent 0c8d733408
commit 12a84f6cfc

View File

@@ -56,13 +56,13 @@ data:
echo ">> Fetching Vault token";
export VAULT_TOKEN=$(vault write auth/approle/login role_id=$VAULT_APPROLE_ROLE_ID secret_id=$VAULT_APPROLE_SECRET_ID -format=json | jq -r .auth.client_token);
# echo " ";
# echo ">> Taking Vault snapsot ...";
# vault operator raft snapshot save /opt/backup/vault-snapshot-$DATE.snap
echo " ";
echo ">> Taking Vault snapsot ...";
vault operator raft snapshot save /opt/backup/vault-snapshot-$DATE.snap
# echo " ";
# echo ">> Setting ownership of Vault snapsot ...";
# chown 100:1000 /opt/backup/vault-snapshot-$DATE.snap
echo " ";
echo ">> Setting ownership of Vault snapsot ...";
chown 100:1000 /opt/backup/vault-snapshot-$DATE.snap
echo " ";
echo ">> Completed Vault snapshot";