Restic is a fast, secure, and efficient backup program. It supports multiple storage backends including local, SFTP, S3, and cloud providers, with built-in encryption and deduplication.
📑 Table of Contents
Key Features
- Encryption: All data encrypted by default
- Deduplication: Efficient storage usage
- Multiple Backends: Local, cloud, and remote storage
- Fast: Optimized for performance
- Snapshots: Point-in-time backup views
Installation
Install Restic on Ubuntu:
sudo apt update
sudo apt install restic
Usage Examples
Restic backup operations:
# Initialize repository
restic init --repo /backup/location
# Create backup
restic -r /backup/location backup /home/user
# List snapshots
restic -r /backup/location snapshots
# Restore files
restic -r /backup/location restore latest --target /restore/path
# Forget old snapshots
restic -r /backup/location forget --keep-last 7 --prune
# Check repository
restic -r /backup/location check
Benefits
Restic combines security with efficiency for modern backup needs. Its encryption ensures privacy while deduplication minimizes storage costs.
Was this article helpful?