Skip to content
Snippets Groups Projects
Commit 32f08c12 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Fixes restore - hedgedoc

parent 00b25d1e
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ spec: ...@@ -24,7 +24,7 @@ spec:
- /bin/sh - /bin/sh
- -c - -c
args: args:
- aws s3 cp s3://${NS}-dumps/migrations/$(date +%m-%d-%Y).sql.gz - --endpoint-url=https://minio.k7.indie.host --region=default | unpigz | pg_restore -d hedgedoc -h pg-${NS} -p 5432 -U hedgedoc --clean --no-owner --role=hedgedoc - aws s3 cp s3://${NS}-dumps/migrations/$(date +%m-%d-%Y).sql.gz - --endpoint-url=https://minio.k7.indie.host --region=default | unpigz | pg_restore -d hedgedoc -h pg-${PG_DOMAIN} -p 5432 -U hedgedoc --clean --no-owner --role=hedgedoc -n public
env: env:
- name: PGPASSWORD - name: PGPASSWORD
valueFrom: valueFrom:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment