rustic
Fast encrypted deduplicated backup tool
TLDR
Initialize repository
SYNOPSIS
rustic [-r repository] [options] command [args]
DESCRIPTION
rustic is a fast backup tool written in Rust that is fully compatible with the restic repository format. It provides encrypted, deduplicated backups using AES-256 encryption with authenticated tags, ensuring data confidentiality and integrity at rest.
The tool uses content-defined chunking and deduplication so that only unique data chunks are stored, significantly reducing storage requirements for incremental backups. Multiple storage backends are supported including local filesystems, S3-compatible object storage, SFTP, and REST servers.
Retention policies specified through forget with keep rules (daily, weekly, monthly) automate snapshot cleanup. The prune command reclaims space by removing data chunks no longer referenced by any snapshot.
PARAMETERS
-r, --repo PATH
Repository location.-p, --password PASS
Repository password.--password-file FILE
Password file.-v, --verbose
Verbose output.--dry-run
Simulate only.
CONFIGURATION
~/.config/rustic/rustic.toml
Main configuration file defining default repository location, password source, backup paths, and retention policies.RUSTIC_REPOSITORY
Environment variable specifying the default repository location.RUSTIC_PASSWORD
Environment variable providing the repository password.
COMMANDS
init
Create repository.backup
Create backup.snapshots
List snapshots.restore
Restore data.forget
Remove snapshots.prune
Remove unused data.check
Verify integrity.
CAVEATS
Separate implementation from restic. Repository format compatible. Some features may differ.
HISTORY
Rustic was created as a Rust rewrite of restic for improved performance. It maintains compatibility with restic repositories.
SEE ALSO
restic(1), borgbackup(1), duplicacy(1)
