20 lines
703 B
Bash
Executable File
20 lines
703 B
Bash
Executable File
#!/bin/bash
|
|
# Backup reminder — placeholder for triggering backup routines
|
|
# Replace with actual backup logic for your services
|
|
set -euo pipefail
|
|
|
|
LOG_FILE="${HOME}/homelab-scripts/backups.log"
|
|
|
|
echo "=== Backup Reminder — $(date) ===" | tee -a "$LOG_FILE"
|
|
|
|
# Placeholder — add your backup commands here:
|
|
# rsync -a /path/to/data /backup/location/
|
|
# docker exec postgres pg_dump ...
|
|
# restic backup ...
|
|
|
|
echo "📋 Backup check: review and run backups for critical services" | tee -a "$LOG_FILE"
|
|
echo " - Docker volumes" | tee -a "$LOG_FILE"
|
|
echo " - Config files in ~/.hermes/" | tee -a "$LOG_FILE"
|
|
echo " - Any other important data" | tee -a "$LOG_FILE"
|
|
echo "" | tee -a "$LOG_FILE"
|