Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
rohitg00 avatar

K8s Backup

  • 9 installs
  • 941 repo stars
  • Updated April 8, 2026
  • rohitg00/kubectl-mcp-server

Helps with ai & agent building tasks during AI-assisted development.

About

k8s-backup is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • k8s-backup
  • AI & Agent Building
  • AI-coding skill

K8s Backup by the numbers

  • 9 all-time installs (skills.sh)
  • Ranked #12,133 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/rohitg00/kubectl-mcp-server --skill k8s-backup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs9
repo stars941
Last updatedApril 8, 2026
Repositoryrohitg00/kubectl-mcp-server

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

Kubernetes Backup with Velero

Manage backups and restores using kubectl-mcp-server's Velero tools.

When to Apply

Use this skill when:

  • User mentions: "backup", "restore", "Velero", "disaster recovery", "DR"
  • Operations: creating backups, restoring namespaces, migration
  • Keywords: "protect", "recover", "migrate", "snapshot"

Priority Rules

PriorityRuleImpactTools
1Verify Velero installation firstCRITICALvelero_detect_tool
2Check backup location before createHIGHvelero_backup_locations_list_tool
3Wait for backup completionHIGHvelero_backup_get_tool
4Test restores to non-prod firstMEDIUMvelero_restore_create_tool

Quick Reference

TaskToolExample
Detect Velerovelero_detect_toolvelero_detect_tool()
List backupsvelero_backups_list_toolvelero_backups_list_tool()
Create backupvelero_backup_create_toolvelero_backup_create_tool(name, namespaces)
Restorevelero_restore_create_toolvelero_restore_create_tool(name, backup_name)

Check Velero Installation

velero_detect_tool()

velero_backup_locations_list_tool()

Create Backups

velero_backup_create_tool(
    name="my-backup",
    namespaces=["default", "app-namespace"]
)

velero_backup_create_tool(
    name="app-backup",
    namespaces=["default"],
    label_selector="app=my-app"
)

velero_backup_create_tool(
    name="config-backup",
    namespaces=["default"],
    exclude_resources=["pods", "replicasets"]
)

velero_backup_create_tool(
    name="daily-backup",
    namespaces=["production"],
    ttl="720h"
)

List and Describe Backups

velero_backups_list_tool()

velero_backup_get_tool(name="my-backup")

Restore from Backup

velero_restore_create_tool(
    name="my-restore",
    backup_name="my-backup"
)

velero_restore_create_tool(
    name="my-restore",
    backup_name="my-backup",
    namespace_mappings={"old-ns": "new-ns"}
)

velero_restore_create_tool(
    name="config-restore",
    backup_name="my-backup",
    include_resources=["configmaps", "secrets"]
)

velero_restore_create_tool(
    name="partial-restore",
    backup_name="my-backup",
    exclude_resources=["persistentvolumeclaims"]
)

List and Monitor Restores

velero_restores_list_tool()

velero_restore_get_tool(name="my-restore")

Scheduled Backups

velero_schedules_list_tool()

velero_schedule_get_tool(name="daily-backup")

kubectl_apply(manifest="""
apiVersion: velero.io/v1
kind: Schedule
metadata:
  name: daily-backup
  namespace: velero
spec:
  schedule: "0 2 * * *"
  template:
    includedNamespaces:
    - production
    ttl: 720h
""")

Disaster Recovery Workflow

Create DR Backup

from datetime import datetime

velero_backup_create_tool(
    name=f"dr-backup-{datetime.now().strftime('%Y%m%d-%H%M%S')}",
    namespaces=["production"]
)
velero_backup_get_tool(name="dr-backup-20260130-120000")

Restore to New Cluster

velero_detect_tool()
velero_backups_list_tool()
velero_restore_create_tool(
    name="dr-restore",
    backup_name="dr-backup-..."
)
velero_restore_get_tool(name="dr-restore")

Prerequisites

  • Velero: Required for all backup tools
  velero install --provider aws --bucket my-bucket --secret-file ./credentials

Related Skills

  • k8s-multicluster - Multi-cluster operations
  • k8s-incident - Incident response

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.