fix: handle permission denied on backup directory
All checks were successful
Deploy to Production / test (push) Successful in 35s

The backups directory may have been created by Docker/root, making it
unwritable by the deploy user. The script now detects this and attempts
to fix permissions automatically (chmod, then sudo chown as fallback).

Also added shared/db/backups to .gitignore.
This commit is contained in:
syntaxbullet
2026-02-13 14:48:06 +01:00
parent 942875e8d0
commit 121c242168
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@@ -3,6 +3,7 @@ node_modules
docker-compose.override.yml
shared/db-logs
shared/db/data
shared/db/backups
shared/db/loga
.cursor
# dependencies (bun install)