Initial commit: homelab maintenance and automation scripts
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user