borg-backup

Manage Borg backup repositories for Metabase data over SSH.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/pkoka888/server-infra-templates --skill borg-backup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: borg-backup
Source: https://github.com/pkoka888/server-infra-templates/tree/main/.kilo/skills/borg-backup
Command: npx skills add https://github.com/pkoka888/server-infra-templates --skill borg-backup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill documents how to manage Borg backup repositories for Metabase, reducing the risk of data loss by enabling consistent encrypted backups, verification, pruning, and restores of application data and configuration.

Core Features & Use Cases

  • Create Backups: Guidance to create encrypted Borg archives of the Metabase application directory to a remote SSH repository.
  • Listing and Verification: Procedures to list archives, inspect archive info, run integrity checks, and perform test extracts to validate backups.
  • Restore and Prune: Steps to extract full archives or specific files for restores and to prune old archives according to retention policies.
  • Use Cases: Scheduled automated backups, ad-hoc restores after data issues, and routine storage management through pruning.

Quick Start

Create a Borg archive of your Metabase data to the configured remote SSH repository and then run a repository check to verify the backup.

Frequently Asked Questions about borg-backup

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

FAQPage Schema
How do I create encrypted Borg backups for Metabase over SSH?

To create encrypted Borg backups for Metabase, you create Borg archives of the Metabase application directory to a remote SSH repository using a locally stored passphrase for encryption. This requires SSH access to the backup host.

How do I verify and list Metabase backup archives?

You can verify and list Metabase backup archives by running Borg list and info commands to inspect archive details, followed by a repository check to run integrity checks and perform test extracts to validate the backups.

What is the best way to restore Metabase data from a Borg repository?

The best way to restore Metabase data from a Borg repository is to extract full archives or specific files using the Borg extract command, enabling ad-hoc restores after data issues or manual restores from scheduled backups.

How do I prune old Metabase archives in a remote SSH repository?

To prune old Metabase archives in a remote SSH repository, you use the Borg prune command to manage storage according to retention policies, removing outdated backups while maintaining consistent application data and configuration history.

Do I need a locally stored passphrase to manage Borg backups for Metabase?

Yes, a locally stored passphrase for repository encryption is required to manage Borg backups for Metabase. This passphrase secures your data alongside the required SSH access to the remote backup host.

Can I run test extracts to validate my Borg backups before a full restore?

Yes, you can run test extracts to validate your Borg backups before a full restore. The Skill supports running integrity checks and performing test extracts to ensure your Metabase application data is safely backed up.