Volume backup strategy #37

Open
opened 2026-05-27 07:00:59 +00:00 by bashy · 0 comments
Owner

Containers are ephemeral; the data inside them must not be.

  • Identify all named volumes with irreplaceable data
  • Write backup script using the alpine tar pattern:
    docker run --rm -v <vol>:/data alpine tar czf - /data
  • Schedule via cron or systemd timer
  • Off-site copy: rclone to a remote, or rsync to home server
  • Test a full restore — a backup you haven't tested is not a backup
Containers are ephemeral; the data inside them must not be. - [ ] Identify all named volumes with irreplaceable data - [ ] Write backup script using the `alpine tar` pattern: `docker run --rm -v <vol>:/data alpine tar czf - /data` - [ ] Schedule via cron or systemd timer - [ ] Off-site copy: rclone to a remote, or rsync to home server - [ ] **Test a full restore** — a backup you haven't tested is not a backup
bashy added this to the Docker Phase 2 — Full Infrastructure milestone 2026-05-27 07:00:59 +00:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bashy/roadmap#37
No description provided.