create-backup

Create Velero backups for namespaces or entire clusters with CSI snapshots and hooks.

Updated Sep 4, 2025
One-click install
npx skills add https://github.com/mpryc/ai-agents-and-skills --skill create-backup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-backup
Source: https://github.com/mpryc/ai-agents-and-skills/tree/main/claude/oadp-operator/skills/backup-restore/create-backup
Command: npx skills add https://github.com/mpryc/ai-agents-and-skills --skill create-backup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps automate the creation and validation of Velero backups across specified namespaces or the entire cluster, ensuring correct configuration and guardrails.

Core Features & Use Cases

  • Generate and apply Velero Backup YAML with proper options (include/exclude, namespaces, labels)
  • Support CSI snapshots, Kopia/file-level backups, and pre/post hooks for consistency
  • Schedule backups and manage retention with TTL

Quick Start

Create a backup of namespace myapp or the entire cluster.

Frequently Asked Questions about create-backup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Velero backups for specific namespaces in Kubernetes?

To automate Velero backups for specific namespaces in Kubernetes, you generate and apply Backup YAML configurations. This process validates namespace existence, operator status, and storage location availability before creating single or multi-namespace backups.

Can I create cluster-wide Velero backups with CSI snapshots and Kopia?

Yes, you can create cluster-wide Velero backups with CSI snapshots and Kopia. The process supports full cluster backups and allows customization with include or exclude options, TTL, and scheduling for comprehensive data protection.

What's the best way to schedule Velero backups and manage retention TTL?

The best way to schedule Velero backups and manage retention TTL is through automated YAML generation. This approach applies proper scheduling options and TTL parameters directly to your Backup configurations for consistent retention management.

Does Velero backup validation check operator status and storage locations?

Yes, Velero backup validation checks operator status and storage location availability. It ensures correct configuration by verifying namespace existence and applying guardrails before the backup process executes on your OpenShift or Kubernetes cluster.

How do pre and post hooks work when creating Velero backups?

Pre and post hooks work during Velero backup creation by executing commands before and after the backup process to ensure application consistency. They are integrated into the Backup YAML alongside include and exclude options for customized data capture.