hetzbot-restic

Install restic and configure per-host backup repositories in Hetzner Object Storage.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/tomspiegl/hetzbot --skill hetzbot-restic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hetzbot-restic
Source: https://github.com/tomspiegl/hetzbot/tree/main/skills/infra/restic
Command: npx skills add https://github.com/tomspiegl/hetzbot --skill hetzbot-restic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires restic.

What problem does it solve?

Automates secure, on-host backups using restic; ensures backups run on every host and credentials are securely provisioned via cloud-init.

Core Features & Use Cases

  • Automated restic installation on each host and integration with the existing backup timer.
  • Per-host backup repositories stored in Hetzner Object Storage, with credentials provisioned by cloud-init.
  • The RESTIC_REPOSITORY is configured per host and backed by a dedicated bucket named after the hostname; state is tracked via fleet-wide object storage.

Quick Start

Install hetzbot-restic on a host to enable automated backups with per-host Restic repositories and credentials provisioned by cloud-init.

Frequently Asked Questions about hetzbot-restic

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

FAQPage Schema
How do I automate restic backups across a fleet of Hetzner hosts?

Automating restic backups across a fleet of Hetzner hosts involves installing restic on each host and configuring a dedicated backup repository in Hetzner Object Storage. This Skill handles the installation and configures a per-host repository using a bucket named after the hostname.

Can I use cloud-init to provision restic credentials securely on every host?

Yes, you can use cloud-init to securely provision restic credentials on every host. The automation writes the required credentials to /etc/hetzbot/restic.env, ensuring each host can access its dedicated backup repository in Hetzner Object Storage.

What is the best way to create per-host restic repositories in Hetzner Object Storage?

Creating per-host restic repositories in Hetzner Object Storage is best handled by setting the RESTIC_REPOSITORY to a dedicated bucket named after each hostname. This ensures isolated backup state tracking across the fleet.

Does this backup automation require restic to be installed manually on each host?

No, this backup automation does not require restic to be installed manually. The Skill automates the installation of restic on each host and integrates it with the existing backup timer for fleet-wide deployments.

Why use a dedicated bucket per hostname for restic backups?

Using a dedicated bucket per hostname for restic backups isolates each host's backup repository in Hetzner Object Storage. This per-host configuration ensures state is tracked individually across the fleet, preventing backup conflicts.