Relocate Docker backup scripts and schedule 3-hour NAS backups

This commit is contained in:
WickedYoda committed 2026-03-21 17:51:46 -05:00
1 parent 160cabc734
commit 1b5c15948c
5 files changed
+66 -54

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# Docker_backup
## Overview
This directory contains the Docker backup scripts for this repository.
## Files
- `docker-backup.sh` backs up Docker data to the NAS share.
- `setup_docker-backup.sh` installs the backup script and cron job on a new system.
- `correct_docker-backup.sh` repairs older installs and rewrites the cron job.
## Usage
- Review the scripts before running them.
- Run the install or correction scripts as `root`.
- Adjust paths if the target system uses different Docker or NAS mount locations.
## Notes
- Backups are written to `/mnt/naspublic/docker-backup/{hostname}/{month}/{date}/`.
- The backup job runs every 3 hours.
- Backups older than 14 days are removed automatically.