← Back to Skill Explorer

🗄️ backup-check

Verify backup status — Time Machine, rclone cloud sync, database dumps. Alert on stale or failed backups.

🦞 Pixeyo CuratedNo special requirements✓ Read source below

Check the health and recency of backups across multiple strategies: local (Time Machine), cloud (rclone, rsync, S3), and database dumps.

When to Use

Use when the user asks "are my backups current", "check backup status", "when was the last backup", or on a weekly heartbeat schedule.

Checks to Perform

1. Time Machine (macOS)

tmutil latestbackup 2>/dev/null
tmutil status 2>/dev/null
tmutil destinationinfo 2>/dev/null
  • 🟢 if last backup < 24 hours ago
  • 🟡 if 24-72 hours ago
  • 🔴 if > 72 hours or no backup found

2. rclone Cloud Sync

ls -lt ~/.config/rclone/logs/ 2>/dev/null | head -3
rclone about remote: 2>/dev/null
rclone lsl remote:backups/ --max-depth 1 --order-by modtime,desc 2>/dev/null | head -3

3. Database Dumps

ls -lt ~/backups/db/ 2>/dev/null | head -5
find ~/backups -name "*.sql.gz" -mtime -1 2>/dev/null | head -5
docker exec postgres pg_dump --version 2>/dev/null && echo "PostgreSQL accessible"

4. Remote Server Backups (via SSH)

ssh TARGET 'ls -lt /var/backups/ 2>/dev/null | head -5'
ssh TARGET 'find /var/backups -name "*.gz" -mtime -1 | wc -l'

Response Format

🗄️ Backup Status Report
━━━━━━━━━━━━━━━━━━━━━━━
🟢 Time Machine: 3 hours ago (External SSD)
   Destination: /Volumes/Backup (420GB free)

🟢 Cloud (rclone → Digi Storage): 6 hours ago
   Last sync: 2026-02-25 12:30 UTC
   Remote size: 45.2 GB

🟡 Database dump: 36 hours ago ⚠️
   Last file: backup-2026-02-23.sql.gz (12MB)
   Expected: daily at 02:00

🔴 VPS backup: 5 days ago ❌
   No recent backup found in /var/backups/
   Action needed!
━━━━━━━━━━━━━━━━━━━━━━━
Overall: 2 healthy, 1 warning, 1 critical

Rules

  • Adapt to whatever backup strategy the user has. Ask if you don't know their setup.
  • Check USER.md for backup paths and strategies.
  • Never modify, delete, or trigger backups without explicit permission.
  • This skill is read-only — it only checks status, never writes.
  • If no backup infrastructure is detected, offer to help the user set one up.
  • On heartbeat: run weekly. Alert only if something is stale or critical.
📥 Download All Skills (.zip)🧩 Skill Explorer
📄 View raw SKILL.md source
--- name: backup-check description: "Verify backup status — Time Machine, rclone cloud sync, database dumps. Alert on stale or failed backups." user-invocable: true metadata: openclaw: author: "pixeyo" homepage: "https://openclawcheatsheet.com/skills" --- # backup-check Check the health and recency of backups across multiple strategies: local (Time Machine), cloud (rclone, rsync, S3), and database dumps. ## When to Use Use when the user asks "are my backups current", "check backup status", "when was the last backup", or on a weekly heartbeat schedule. ## Checks to Perform ### 1. Time Machine (macOS) ```bash # Last backup timestamp tmutil latestbackup 2>/dev/null # Backup status tmutil status 2>/dev/null # Destination info tmutil destinationinfo 2>/dev/null ``` ### 2. rclone Cloud Sync ```bash # Check last sync log (adjust path to user's setup) ls -lt ~/.config/rclone/logs/ 2>/dev/null | head -3 # Or check rclone sync status rclone about remote: 2>/dev/null # Check a specific backup directory's most recent file rclone lsl remote:backups/ --max-depth 1 --order-by modtime,desc 2>/dev/null | head -3 ``` ### 3. Database Dumps ```bash # Check for recent PostgreSQL dumps ls -lt ~/backups/db/ 2>/dev/null | head -5 # Or check a known backup path find ~/backups -name "*.sql.gz" -mtime -1 2>/dev/null | head -5 # Docker PostgreSQL backup check docker exec postgres pg_dump --version 2>/dev/null && echo "PostgreSQL accessible" ``` ## Response Format ``` 🗄️ Backup Status Report ━━━━━━━━━━━━━━━━━━━━━━━ 🟢 Time Machine: 3 hours ago (External SSD) Destination: /Volumes/Backup (420GB free) 🟢 Cloud (rclone → Digi Storage): 6 hours ago Last sync: 2026-02-25 12:30 UTC Remote size: 45.2 GB 🟡 Database dump: 36 hours ago ⚠️ Last file: backup-2026-02-23.sql.gz (12MB) Expected: daily at 02:00 🔴 VPS backup: 5 days ago ❌ No recent backup found in /var/backups/ Action needed! ━━━━━━━━━━━━━━━━━━━━━━━ Overall: 2 healthy, 1 warning, 1 critical ``` ## Rules - This skill is read-only — it only checks status, never writes. - Never modify, delete, or trigger backups without explicit permission. - On heartbeat: run weekly. Alert only if something is stale or critical.