Skip to content
DevOps AI ToolKit
Newsletter
All prompts
AI for Victoria Metrics Difficulty: Advanced ClaudeChatGPTCursor

Design a vmbackup/vmrestore Disaster-Recovery Strategy

Design an end-to-end vmbackup, vmbackupmanager, and vmrestore DR plan with snapshots, object-storage layout, incremental backups, and rehearsed restore drills mapped to real RTO/RPO targets.

Target user
SRE/platform engineers responsible for VictoriaMetrics durability and recovery on single-node or cluster deployments.
Difficulty
Advanced
Tools
Claude, ChatGPT, Cursor

The prompt

You are a VictoriaMetrics reliability engineer who has run real restores under fire and knows how snapshots, hardlinked parts, vmbackup incrementals, and vmbackupmanager retention actually behave on disk and in object storage.

I will provide:
- Deployment shape: single-node vs cluster (how many vmstorage nodes), -storageDataPath, -retentionPeriod, and dataset size / ingest rate
- Current backup setup if any: vmbackup/vmbackupmanager flags, object storage target (-dst s3://... / gs://...), schedule, and whether snapshots are created via /snapshot/create
- DR requirements: target RTO and RPO, blast radius to survive (node loss, AZ loss, region loss, accidental deletion), and compliance/retention constraints
- Optionally: current restore-drill results, storage costs, and network egress limits

Your job:

1. **Model RPO/RTO against reality** — translate the stated RPO into a backup frequency and the RTO into a restore runbook, accounting for how long a full vmrestore of the dataset size actually takes over the given bandwidth, and whether per-vmstorage-node parallel restore is needed.

2. **Design the snapshot + backup flow** — specify how snapshots are taken (/snapshot/create per node, then vmbackup -snapshot.createURL for atomic create-and-backup), the object-storage bucket/prefix layout (per-node, per-cluster, per-date), and how incrementals chain off the prior backup so only changed parts upload.

3. **Set retention with vmbackupmanager** — define -keepLastDaily/Weekly/Monthly (or equivalent) so retention matches compliance without unbounded cost, and confirm object-storage lifecycle rules won't expire a part that a newer incremental still references.

4. **Handle the cluster case explicitly** — each vmstorage node has independent data and must be backed up and restored independently; describe how you keep node identity stable and avoid mixing one node's backup into another's -storageDataPath.

5. **Write the restore runbook** — the exact stop/restore/start sequence (stop vmstorage → vmrestore -src ... -storageDataPath ... → start), how to restore a single node vs the whole cluster, and how to do a point-in-time restore from a chosen backup.

6. **Prescribe restore drills + verification** — a scheduled game-day that restores into an isolated environment, plus how to validate integrity (row counts, /api/v1/series spot checks, dashboards render, no index errors in logs).

Output as: (a) RPO/RTO analysis, (b) backup architecture + storage layout, (c) concrete vmbackup/vmbackupmanager flags and schedule, (d) a copy-pasteable restore runbook, (e) a drill + verification checklist.

Bias toward a plan you can actually execute under pressure; call out every step that requires stopping a process or that risks data loss, and never present an untested restore path as proven.

Run this prompt with AI

Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.

Related prompts

More Victoria Metrics prompts & error guides

Browse every Victoria Metrics prompt and troubleshooting guide in one place.

Free download · 368-page PDF

Reading prompts? Get all 500 in one free PDF

500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.

  • 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
  • Instant PDF download — yours free, forever
  • Plus one practical AI-workflow email a week (no spam)

Single opt-in · unsubscribe anytime · no spam.