restic-backup

Automate nightly Restic backups for server data, PostgreSQL, and configurations.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/MassimilianoPili/claude-code-config --skill restic-backup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: restic-backup
Source: https://github.com/MassimilianoPili/claude-code-config/tree/main/skills/restic-backup
Command: npx skills add https://github.com/MassimilianoPili/claude-code-config --skill restic-backup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of backing up critical server data, including databases and configurations, ensuring data safety and enabling quick recovery in case of failure.

Core Features & Use Cases

  • Automated Nightly Backups: Schedules backups for all essential service data, PostgreSQL dumps, and configurations.
  • Efficient Storage: Utilizes Restic's deduplication for incremental backups, saving storage space.
  • Disaster Recovery: Provides clear procedures for restoring files, databases, and entire services.
  • Use Case: If your main web server's data directory becomes corrupted, you can use this Skill to restore it to its last known good state from the most recent nightly backup.

Quick Start

Manually run the restic backup script to back up all data.

Frequently Asked Questions about restic-backup

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

FAQPage Schema
How do I automate nightly PostgreSQL backups and server configuration backups?

Automate nightly PostgreSQL backups and server configuration backups by running a bash script via a cron job. This process uses Restic to capture database dumps and data directories securely while you sleep.

How does deduplicated backup storage work for disaster recovery?

Deduplicated backup storage works by using Restic to save only the changed data blocks during nightly backups. This disaster recovery approach saves storage space while maintaining full data integrity for quick restoration.

What is the best way to restore a corrupted database or Docker service from a backup?

The best way to restore a corrupted database or Docker service is to follow detailed restoration procedures. These steps use Restic to recover files, PostgreSQL databases, and entire services to a known good state.

Can I use Restic with cron for automated server data exclusion and retention?

Yes, you can use Restic with cron for automated server data exclusion and retention. The bash script schedules nightly backups while applying specific strategies to exclude unnecessary data and manage backup retention.

Do I need additional dependencies to run deduplicated PostgreSQL backups with Restic?

You do not need additional dependencies to run deduplicated PostgreSQL backups with Restic. The Skill operates independently using a bash script and cron job to manage database dumps, configurations, and retention policies.