pg_dump-based backup script deployed alongside compose file. Deploy script now installs a daily cron job (03:00) on Unraid automatically. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
570 B
Markdown
17 lines
570 B
Markdown
---
|
|
# nuzlocke-tracker-48ds
|
|
title: Database backup strategy
|
|
status: completed
|
|
type: task
|
|
priority: normal
|
|
created_at: 2026-02-09T15:30:55Z
|
|
updated_at: 2026-02-10T10:55:15Z
|
|
parent: nuzlocke-tracker-ahza
|
|
---
|
|
|
|
Set up a simple scheduled backup for the production PostgreSQL database.
|
|
|
|
- Create a backup script using `pg_dump` that runs inside or against the PostgreSQL container
|
|
- Set up a cron job on Unraid to run the backup on a schedule (e.g., daily)
|
|
- Store backups in a designated location on Unraid with rotation (keep last N backups)
|
|
- Document the restore procedure |