k8s-backupKubernetes backup and restore with Velero. Use when creating backups, restoring applications, managing disaster recovery, or migrating workloads between clusters.
Install via ClawdBot CLI:
clawdbot install rohitg00/k8s-backupManage backups and restores using kubectl-mcp-server's Velero tools.
# Detect Velero
velero_detect_tool()
# List backup locations
velero_backup_locations_list_tool()
# Backup entire namespace
velero_backup_create_tool(
name="my-backup",
namespaces=["default", "app-namespace"]
)
# Backup with label selector
velero_backup_create_tool(
name="app-backup",
namespaces=["default"],
label_selector="app=my-app"
)
# Backup excluding resources
velero_backup_create_tool(
name="config-backup",
namespaces=["default"],
exclude_resources=["pods", "replicasets"]
)
# Backup with TTL
velero_backup_create_tool(
name="daily-backup",
namespaces=["production"],
ttl="720h" # 30 days
)
# List all backups
velero_backups_list_tool()
# Get backup details
velero_backup_get_tool(name="my-backup")
# Check backup status
# - New: Backup request created
# - InProgress: Backup running
# - Completed: Backup successful
# - Failed: Backup failed
# - PartiallyFailed: Some items failed
# Full restore
velero_restore_create_tool(
name="my-restore",
backup_name="my-backup"
)
# Restore to different namespace
velero_restore_create_tool(
name="my-restore",
backup_name="my-backup",
namespace_mappings={"old-ns": "new-ns"}
)
# Restore specific resources
velero_restore_create_tool(
name="config-restore",
backup_name="my-backup",
include_resources=["configmaps", "secrets"]
)
# Restore excluding resources
velero_restore_create_tool(
name="partial-restore",
backup_name="my-backup",
exclude_resources=["persistentvolumeclaims"]
)
# List restores
velero_restores_list_tool()
# Get restore details
velero_restore_get_tool(name="my-restore")
# List schedules
velero_schedules_list_tool()
# Get schedule details
velero_schedule_get_tool(name="daily-backup")
# Create schedule (via kubectl)
kubectl_apply(manifest="""
apiVersion: velero.io/v1
kind: Schedule
metadata:
name: daily-backup
namespace: velero
spec:
schedule: "0 2 * * *" # 2 AM daily
template:
includedNamespaces:
- production
ttl: 720h
""")
1. velero_backup_create_tool(
name="dr-backup-$(date)",
namespaces=["production"]
)
2. velero_backup_get_tool(name="dr-backup-...") # Wait for completion
1. velero_detect_tool() # Verify Velero installed
2. velero_backups_list_tool() # Find backup
3. velero_restore_create_tool(
name="dr-restore",
backup_name="dr-backup-..."
)
4. velero_restore_get_tool(name="dr-restore") # Monitor
Generated Mar 1, 2026
An e-commerce company uses this skill to create regular backups of production Kubernetes namespaces, ensuring quick restoration in case of data corruption or cluster failure. It supports scheduled backups and cross-cluster restores, minimizing downtime during incidents.
A financial institution migrates workloads between development and production clusters using Velero backups and restores. This ensures data integrity and compliance during migrations, with options to exclude sensitive resources like persistent volumes.
A SaaS provider implements automated backups for multi-tenant applications in Kubernetes, using label selectors to back up specific app instances. It enables efficient disaster recovery and data retention policies with TTL settings.
A healthcare organization backs up critical configurations and secrets from Kubernetes namespaces, excluding non-essential resources. This supports compliance with data protection regulations and quick recovery from configuration errors.
Cloud providers or MSPs offer backup and restore as a value-added service for Kubernetes clusters. They charge based on backup frequency, storage usage, and support levels, generating recurring revenue from enterprise clients.
Companies provide DR solutions using this skill to automate backups and restores across clusters. Revenue comes from setup fees, ongoing management, and pay-per-use models for recovery events, targeting industries with high uptime requirements.
IT consultants use this skill to help clients implement Velero-based backup strategies, including custom workflows and integration with existing tools. Revenue is project-based, with hourly rates for ongoing optimization and support.
💬 Integration Tip
Integrate with monitoring tools to alert on backup failures and use CI/CD pipelines to automate backup creation before deployments.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.