mirror of
https://github.com/status-im/infra-role-postgres-ha.git
synced 2025-02-22 11:28:26 +00:00
backup.sh: fix backup permissions
This commit is contained in:
parent
4ac216d316
commit
a65e614e5b
@ -19,5 +19,5 @@ for DB in "${DATABASES[@]}"; do
|
|||||||
-U {{ postgres_ha_admin_user }} \
|
-U {{ postgres_ha_admin_user }} \
|
||||||
"${DB}"
|
"${DB}"
|
||||||
done
|
done
|
||||||
chown dockremap:dockremap "${BKP_DIR}"/*
|
chown dockremap:dockremap -R "${BKP_DIR}"/*
|
||||||
chmod 750 -R "${BKP_DIR}"
|
chmod 750 -R "${BKP_DIR}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user