fix backups
This commit is contained in:
@@ -20,9 +20,9 @@ spec:
|
||||
&&
|
||||
chmod 600 /root/.pgpass
|
||||
&&
|
||||
pg_dumpall -U postgres -h postgrespostgres-postgresql.postgres > /backup/backup-$(date +"%m-%d-%Y-%H-%M").sql
|
||||
pg_dumpall -U postgres -h postgres-postgresql.postgres > /backup/backup-$(date +"%m-%d-%Y-%H-%M").sql
|
||||
env:
|
||||
- name: PGpostgress_passwordPASS
|
||||
- name: postgress_password
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgres-password
|
||||
|
Reference in New Issue
Block a user