This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Auto-discovery Docker backup script | |
| # Automatically finds and backs up ALL Docker volumes and databases. | |
| # Uploads to Cloudflare R2, then cleans up local files. | |
| # No configuration needed when adding new containers. | |
| set -euo pipefail | |
| HC_BACKUP_URL="${HC_BACKUP_URL:?set HC_BACKUP_URL}" |