Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

devops-storage-backup

FreeRuns bundled scriptsNot checked

Use when choosing, running or repairing storage and backups - block vs file vs object, ZFS (pools, vdev layouts, datasets, snapshots, send/receive, scrub…

Fusengineby Fusengine★ 36 GitHub stars

About this skill

Covers where data lives and how it is protected: choosing a storage type, ZFS, Ceph, NFS/iSCSI, S3-compatible object storage, backup strategy and the tools that implement it (restic, Borg/borgmatic, Velero, rclone), restore testing, disaster-recovery runbooks and capacity/SMART monitoring. Does not cover LVM and single-host filesystems (devops-linux), database dumps and point-in-time recovery (devops-databases), Proxmox vzdump and PBS jobs (devops-proxmox), PV/PVC mechanics (devops-kubernetes) or public-cloud storage services.

DevOps Storage and Backup

Agent Workflow (MANDATORY)

Before ANY storage or backup change, spawn in parallel, one Agent call each with a name:

  1. fuse-ai-pilot:explore-codebase - find existing backup scripts, timers, pool/dataset layout files, Velero manifests, inventories
  2. fuse-ai-pilot:research-expert - verify the flag or option for the installed version at openzfs.github.io, docs.ceph.com, restic.readthedocs.io, borgbackup.readthedocs.io, velero.io
  3. mcp__context7__query-docs - /websites/openzfs_github_io_openzfs-docs, /ceph/ceph, /restic/restic, /websites/borgbackup_readthedocs_io_en_stable, /velero-io/velero

Then read the system read-only (zpool status, zfs list, ceph -s, restic snapshots, velero backup get). After file changes run fuse-ai-pilot:sniper.

Versions (checked 2026-11-10)

OpenZFS zfs-2.4.4, Ceph 21.2.0 / 20.2.5 / 19.2.7, restic 0.19.1, Borg 1.4.5, borgmatic 2.2.0, Velero 1.18.4, rclone 1.76.0, Rook 1.21.2, Longhorn 1.13.0 (GitHub release pages and docs.ceph.com/releases, read today). Proxmox VE 9.2 ships Ceph Squid and Tentacle, not Umbrella: do not recommend Umbrella for PVE (devops-proxmox). Always compare with the installed version before using a flag.

Overview

Area Decision in one line
Type Block for one VM/DB, file for shared POSIX, object for blobs and backups (storage-selection.md)
ZFS Mirrors or raidz2 vdevs, ashift fixed at vdev creation, scrub monthly, snapshots are not backups
Ceph 3 MON, replicated size 3 / min_size 2, failure domain host, never run above 85 percent
Backup 3-2-1-1-0 policy, one immutable or offline copy, encryption on, restore test on a schedule
Tools restic or Borg for hosts, Velero for Kubernetes objects, ZFS send for datasets, PBS for Proxmox guests
Proof A backup that was never restored is a hope, not a backup (restore-testing-dr.md)

Critical Rules

  1. Read-only first - zpool status, zfs list -t all, ceph -s, restic snapshots, velero backup get before any change
  2. Dry-run before every destroy - zfs destroy -nv, restic forget --dry-run, borg prune --dry-run, ceph orch apply ... --dry-run
  3. Destructive commands are proposed, not run - ACTION / EFFECT / PROOF / WAIT-FOR-GO (zfs-destructive-ops.md, ceph-destructive-ops.md, backup-destructive-ops.md)
  4. A snapshot on the same pool is not a backup - it dies with the pool; the second copy sits on separate hardware
  5. Never print repository passwords, keys or S3 secrets - files with mode 0600, --password-file, systemd credentials; names only in output
  6. Restore test before trust - log the evidence (date, source, target, checksum, duration) per run
  7. Never invent a flag - cite the page; unknown means "not verified"

Architecture

/etc/backup/
├── restic.env            # RESTIC_REPOSITORY, RESTIC_PASSWORD_FILE (mode 0600, root)
├── restic.pass           # repository password file, never in Git
└── excludes.txt
/usr/local/sbin/restic-backup.sh      # nightly backup + check subset
/usr/local/sbin/restic-maintenance.sh # weekly forget --dry-run, prune after go
/etc/systemd/system/restic-backup.{service,timer}

Reference Guide

Concepts

Topic Reference When to Consult
Storage type storage-selection.md Block/file/object, local/shared/distributed
NFS and iSCSI nfs-iscsi.md Exports, mount options, LUN basics
Object storage object-storage-s3.md MinIO status, Garage, SeaweedFS, Ceph RGW
Kubernetes storage kubernetes-storage-pointers.md CSI, Rook-Ceph, Longhorn
ZFS pools zfs-pools-datasets.md vdev layouts, ashift, ARC, datasets
ZFS snapshots zfs-snapshots-replication.md Snapshots, holds, send/receive, scrub
ZFS destructive zfs-destructive-ops.md destroy, rollback, receive -F, redundancy
Full SKILL.md on GitHub

Install devops-storage-backup in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/backup-destructive-ops.mdreferences/backup-strategy.mdreferences/borg-borgmatic.mdreferences/capacity-smart-monitoring.mdreferences/ceph-architecture-deploy.mdreferences/ceph-destructive-ops.mdreferences/ceph-operations-health.mdreferences/kubernetes-storage-pointers.mdreferences/nfs-iscsi.mdreferences/object-storage-s3.mdreferences/rclone-pbs-pointers.mdreferences/restic.mdreferences/restore-testing-dr.mdreferences/storage-selection.mdreferences/templates/backup-policy-table.mdreferences/templates/borgmatic-config.yamlreferences/templates/dr-runbook.mdreferences/templates/restic-backup.servicereferences/templates/restic-backup.shreferences/templates/restic-backup.timerreferences/templates/restic-maintenance.shreferences/templates/restore-test-checklist.mdreferences/templates/velero-schedule.yamlreferences/templates/zfs-snapshot-policy.mdreferences/templates/zfs-snapshot-replicate.shreferences/velero-kubernetes-backup.mdreferences/zfs-destructive-ops.mdreferences/zfs-pools-datasets.mdreferences/zfs-snapshots-replication.md

FAQ

What does the devops-storage-backup skill do?

Use when choosing, running or repairing storage and backups - block vs file vs object, ZFS (pools, vdev layouts, datasets, snapshots, send/receive, scrub, ARC), Ceph (cephadm, MON/MGR/OSD/MDS, pools, CRUSH, RBD/CephFS/RGW, health, OSD replacement, capacity), NFS and iSCSI basics, S3-compatible object storage (MinIO status, Garage, SeaweedFS, Ceph RGW), Kubernetes storage pointers (CSI, Rook-Ceph, Longhorn), backup strategy (3-2-1-1-0, RPO/RTO, retention, immutability, encryption, off-site), restic, BorgBackup/borgmatic, Velero, rclone, Proxmox Backup Server pointer, restore testing, disaster-recovery runbooks, capacity monitoring and SMART. Not for LVM and single-host filesystems (devops-linux), database dumps and PITR (devops-databases), Proxmox PBS jobs and vzdump (devops-proxmox), PV/PVC basics (devops-kubernetes) or public-cloud storage services.

How do I install the devops-storage-backup skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the devops-storage-backup skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare devops-storage-backup with