backup.sh: fix backup permissions

This commit is contained in:
Anton Iakimov 2024-07-01 15:41:49 +02:00
parent dfe1e2ccdf
commit 9c0e9e8a27
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -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}"