longhorn-backup-dr

Automate Longhorn backup targets, RecurringJobs, and restores in Kubernetes.

3|Updated May 13, 2025
One-click install
npx skills add https://github.com/wcygan/anton --skill longhorn-backup-dr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: longhorn-backup-dr
Source: https://github.com/wcygan/anton/tree/main/.claude/skills/longhorn-backup-dr
Command: npx skills add https://github.com/wcygan/anton --skill longhorn-backup-dr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Configure Longhorn backup and disaster-recovery workflows for Anton, simplifying wiring backup targets, scheduling recurring backups, and restoring volumes from backups.

Core Features & Use Cases

  • Set backup target (S3 or NFS) with credentials and guidance for Longhorn.
  • Author a RecurringJob to automate backups with configurable retention and concurrency.
  • Restore-as-new-PVC and DR volume workflows to support cross-cluster failover and recovery scenarios.

Quick Start

Configure the backup target (S3 or NFS), add a daily RecurringJob for backups, and perform a restore test to verify the workflow.

Frequently Asked Questions about longhorn-backup-dr

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

FAQPage Schema
How do I configure Longhorn backups for Kubernetes volumes?

Configure Longhorn backups by wiring an S3 or NFS backup target with proper credentials, then authoring a RecurringJob to automate snapshots with configurable retention and concurrency.

How do I restore a Longhorn volume from a backup?

Restore Longhorn volumes by creating a restore-as-new-PVC or initiating a DR volume workflow, supporting cross-cluster failover and disaster recovery from existing S3 or NFS backups.

Can I use Longhorn backup targets with both S3 and NFS storage?

Longhorn supports configuring backup targets for both S3 and NFS storage, requiring proper credential setup and endpoint configuration to enable automated recurring backup jobs.

How do I schedule recurring backup jobs in Longhorn?

Schedule recurring backup jobs in Longhorn by authoring a RecurringJob resource that defines backup frequency, retention policies, and concurrency limits to automate Kubernetes volume protection.

What is a Longhorn disaster recovery volume workflow?

A Longhorn disaster recovery volume workflow enables cross-cluster failover by restoring data from backups into new PVCs, allowing applications to recover using previously scheduled backup snapshots stored on S3 or NFS targets.