Commit Graph

2 Commits

Author SHA1 Message Date
dc5698d7d6 Improve backup scripts with logging and remove duplicate rotation
db-backup-standalone.sh:
- Add logging with timestamps to backups/db-backup-standalone.log
- Add SCRIPT_DIR to make all paths relative to script location
- Add detailed logging for each backup step (stop, backup, rotate, start)
- Log rotation status and which old backups are removed

db-scheduled-backup.sh:
- Remove duplicate backup rotation logic (now handled in standalone script)
- Comment out cleanup code to avoid redundant operations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 09:42:20 +01:00
Knee Cola
c1686c4cb8 Update db-backup-standalone.sh to use docker compose
- Replace docker service scale with docker compose stop/start
- Update service name from utility-bills-tracker_mongo to mongo
- Reference docker-compose-standalone.yaml compose file
- Update comments to reflect container operations vs swarm service

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 19:25:51 +01:00