HEARTBEAT.mdmonitoringOpenclawv1.0.0

Database Backup Verifier

Verifies that database backups completed successfully. Alerts on failures or gaps.

Setup time: ~5 min
Model: Haiku
Cost: ~$0.05/day Calculate your exact cost at Clawback
Last updated: Mar 16, 2026
byRunbooks Communitycontributor

Template

HEARTBEAT.md
Daily at 7am:
1. Check backup storage (S3, GCS, or your backup service API) for recent backups
2. For each database in the watchlist, verify:
   - A backup exists for yesterday
   - Backup file size is reasonable (not 0 bytes, not wildly different from previous)
   - Backup timestamp is within the expected window
3. Alert conditions:
   - No backup found: "CRITICAL: No backup for {database} yesterday"
   - Backup size anomaly (>50% different from average): "Warning: {database} backup size unusual ({size} vs avg {avg})"
   - Backup older than 36 hours: "Backup gap: {database} last backup was {hours} hours ago"
4. Weekly: backup health report (all databases, backup sizes, success rate)
5. Monthly: storage usage trend, retention policy check

Setup

  1. 1

    Copy the HEARTBEAT.md content below into your OpenClaw workspace at `~/.openclaw/workspace/HEARTBEAT.md`.

  2. 2

    Install the required skills: `clawhub install web_fetch`, `clawhub install message`.

  3. 3

    Open your agent channel (Telegram or any connected channel) and send a message to confirm it's running.

  4. 4

    Your agent will follow the schedule in HEARTBEAT.md automatically. Check back in 30 minutes to see it in action.

  5. 5

    Customize the template: adjust timing, thresholds, and notification targets to fit your setup.

Tip: The template uses placeholder values like {your brand} or {repo}. Replace these with your actual values before saving.

Install commands

Save the template to your OpenClaw workspace, then install the required skills.

# 1. Save the template
cp <download> ~/.openclaw/workspace/HEARTBEAT.md

# 2. Install skills
clawhub install web_fetch
clawhub install message

Version History

v1.0.0Initial releaseMar 16, 2026

Framework

Openclaw

Skills required

Estimated cost

~$0.05/day

on Haiku model

Calculate your exact cost at Clawback

File type

HEARTBEAT.md

Defines scheduled tasks. Runs on a heartbeat interval.

Version

v1.0.0

Updated Mar 16, 2026

Contributor

Runbooks Community

Community submission

Spending too much?

Track and optimize your agent API costs.

Try Clawback →

You might also like