2026-02-09 16:32:04 +01:00
|
|
|
---
|
|
|
|
|
# nuzlocke-tracker-48ds
|
|
|
|
|
title: Database backup strategy
|
2026-02-10 11:55:27 +01:00
|
|
|
status: completed
|
2026-02-09 16:32:04 +01:00
|
|
|
type: task
|
2026-02-10 11:55:27 +01:00
|
|
|
priority: normal
|
2026-02-09 16:32:04 +01:00
|
|
|
created_at: 2026-02-09T15:30:55Z
|
2026-02-10 11:55:27 +01:00
|
|
|
updated_at: 2026-02-10T10:55:15Z
|
2026-02-09 16:32:04 +01:00
|
|
|
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
|