LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rustic

Fast encrypted deduplicated backup tool

TLDR

Initialize repository
$ rustic init
copy
Create backup
$ rustic backup [path/to/backup]
copy
List snapshots
$ rustic snapshots
copy
Restore snapshot
$ rustic restore [snapshot_id] [target/]
copy
Forget old snapshots
$ rustic forget --keep-daily [7] --keep-weekly [4]
copy
Prune unused data
$ rustic prune
copy
Check repository
$ rustic check
copy
Mount repository
$ rustic mount [mountpoint/]
copy

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.

INSTALL

sudo pacman -S rustic
copy
brew install rustic
copy
nix profile install nixpkgs#rustic
copy

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid