Compare commits

...

1 Commits

Author SHA1 Message Date
Michel Roegl-Brunner
970a645c56 fix(infisical): align DB password parsing with setup_postgresql_db (#14868)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 08:19:13 +02:00

View File

@@ -35,7 +35,7 @@ function update_script() {
msg_info "Creating backup"
[[ -f /opt/infisical_backup.sql ]] && rm -f /opt/infisical_backup.sql
DB_PASS=$(grep -Po '(?<=^Database Password:\s).*' ~/infisical.creds | head -n1)
DB_PASS=$(grep -Po '(?<=^Password:\s).*' ~/infisical.creds | head -n1)
PGPASSWORD=$DB_PASS pg_dump -U infisical -h localhost -d infisical_db > /opt/infisical_backup.sql
msg_ok "Created backup"