verbosity is a bad idea for a pipeline input

This commit is contained in:
jem 2020-12-20 13:40:47 +01:00
parent 030e09b5f5
commit 765d62357b

View file

@ -23,12 +23,12 @@ function main() {
--no-password -c "CREATE DATABASE \"${POSTGRES_DB}\";" --no-password -c "CREATE DATABASE \"${POSTGRES_DB}\";"
# restore roles # restore roles
restic -v -r ${RESTIC_REPOSITORY}/pg-role dump latest stdin | \ restic -r ${RESTIC_REPOSITORY}/pg-role dump latest stdin | \
psql -d template1 -h ${POSTGRES_SERVICE} -p ${POSTGRES_PORT} -U ${POSTGRES_USER} \ psql -d template1 -h ${POSTGRES_SERVICE} -p ${POSTGRES_PORT} -U ${POSTGRES_USER} \
--no-password --no-password
# restore db # restore db
restic -v -r ${RESTIC_REPOSITORY}/pg-database dump latest stdin | \ restic -r ${RESTIC_REPOSITORY}/pg-database dump latest stdin | \
psql -d ${POSTGRES_DB} -h ${POSTGRES_SERVICE} -p ${POSTGRES_PORT} -U ${POSTGRES_USER} \ psql -d ${POSTGRES_DB} -h ${POSTGRES_SERVICE} -p ${POSTGRES_PORT} -U ${POSTGRES_USER} \
--no-password --no-password