use-oadp-cli

Automate OADP backup and restore operations via oadp-cli in OpenShift.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenShift OADP admin and developer backup workflows are complex and scattered across tools; this skill provides a unified, CLI-first approach to orchestrate both cluster-wide admin backups and namespace-scoped non-admin backups via the oadp-cli.

Core Features & Use Cases

  • Unified management: perform admin backups/restores and non-admin namespace backups using a single CLI.
  • Suitable for automation and rapid operations in CI/CD and development environments.
  • Supports basic admin and non-admin workflows with guidance and example commands.

Quick Start

Install the oadp-cli plugin and begin issuing kubectl oadp and kubectl oadp na commands to manage backups.

Frequently Asked Questions about use-oadp-cli

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

FAQPage Schema
How do I manage OpenShift backups for both cluster admins and developers?

You can manage OpenShift backups for both cluster admins and developers by using the oadp-cli plugin to unify admin and non-admin workflows. It orchestrates cluster-wide backups and namespace-scoped operations through a single CLI.

What is the difference between admin and non-admin OADP backups in OpenShift?

Admin OADP backups are cluster-wide operations requiring elevated RBAC permissions, while non-admin backups are namespace-scoped for developers. The oadp-cli plugin unifies both workflows, allowing targeted backup and restore operations based on user roles.

How do I run namespace-scoped restores using kubectl and oadp-cli?

You run namespace-scoped restores by issuing kubectl oadp na commands after installing the oadp-cli plugin. This allows developers to perform non-admin backup and restore operations within their specific OpenShift namespaces.

Do I need special RBAC permissions to perform non-admin OpenShift backups?

Yes, you need appropriate RBAC permissions configured for non-admin operations. While admin backups require cluster-wide privileges, non-admin backups use namespace-scoped access to let developers securely manage their own OpenShift backups.

Can I automate OADP backup operations in CI/CD pipelines?

Yes, you can automate OADP backup operations in CI/CD pipelines using the oadp-cli plugin. The CLI-first approach provides example commands suitable for rapid operations and automation within development environments.

What OpenShift components are required to use the oadp-cli for backups?

To use the oadp-cli for backups, you need an OpenShift environment with the OADP operator installed, the oadp-cli tooling, and kubectl or oc command-line tools configured with appropriate RBAC permissions.