backup.sh: fix backup permissions
This commit is contained in:
parent
dfe1e2ccdf
commit
9c0e9e8a27
|
@ -19,4 +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}"/*
|
||||||
chmod 750 -R "${BKP_DIR}"
|
chmod 750 -R "${BKP_DIR}"
|
||||||
|
|
Loading…
Reference in New Issue