restore-backup

Restore Velero backups to Kubernetes namespaces with mappings and verification.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restores applications and data from Velero backups with correct configuration, validation, and post-restore verification to ensure consistency across namespaces and clusters.

Core Features & Use Cases

  • Validates the backup exists and is complete before initiating a restore.
  • Plans and applies restore mappings (namespace mappings, resource selections) to support cross-namespace and cross-cluster restores.
  • Prepares the environment, handles conflicts, and executes the restore, then monitors progress and performs verification.
  • Use cases include disaster recovery, application migrations, namespace cloning, and cross-region restores with Velero Data Mover or BSL configurations.
  • The skill provides examples and guidance for typical restore scenarios and post-restore checks.

Quick Start

Restore a Velero backup into the target namespace with optional mappings and verification.

Frequently Asked Questions about restore-backup

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

FAQPage Schema
How do I restore a Velero backup to a different namespace in Kubernetes?

Restoring a Velero backup to a different namespace in Kubernetes requires applying namespace mappings during the restore process. The skill validates backup existence, plans resource mappings for cross-namespace targets, and executes the restore with post-restore verification.

Can I validate a Velero backup before restoring it to an OpenShift cluster?

Yes, validating a Velero backup before restoring it to an OpenShift cluster is enforced by checking that the backup exists and is complete. The skill verifies backup readiness, handles conflicts, and monitors progress to ensure a successful recovery.

What is the best way to handle disaster recovery for Kubernetes applications using Velero?

Disaster recovery for Kubernetes applications using Velero involves validating backups, preparing the target environment, and applying resource mappings. The skill automates this by enforcing backup existence, handling conflicts, and performing post-restore checks across clusters.

Does Velero cross-cluster restoration support post-restore verification in OpenShift?

Yes, Velero cross-cluster restoration in OpenShift supports post-restore verification. The skill plans and applies restore mappings, executes the restore across clusters, and monitors progress to ensure resources are fully recovered and consistent.

How do I perform a cross-namespace restore with Velero without causing resource conflicts?

Cross-namespace restores with Velero avoid resource conflicts by preparing the environment and applying specific namespace mappings. The skill handles conflicts during execution, enforces backup completeness, and verifies namespace readiness before initiating recovery.

Why is my Velero restore not working when migrating applications between Kubernetes namespaces?

A Velero restore might not work during application migrations due to missing namespace mappings or incomplete backups. The skill addresses this by validating backup existence, planning resource selections, and enforcing post-restore checks to ensure verifiable recovery.