restic

restic

TLDR

Initialize a backup repository in the specified local directory

>_ restic init -r [path/to/repository]
copy

Backup a directory to the repository

>_ restic -r [path/to/repository] backup [path/to/directory]
copy

Show backup snapshots currently stored in the repository

>_ restic -r [path/to/repository] snapshots
copy

Restore a specific backup snapshot to a target directory

>_ restic -r [path/to/repository] restore [snapshot_id] [path/to/target]
copy

Restore a specific path from a specific backup to a target directory

>_ restic -r [path/to/repository] --include [path/to/restore] --target [path/to/target] restore [snapshot_id]
copy

Clean up the repository and keep only the most recent snapshot of each unique backup

>_ restic forget --keep-last 1 --prune
copy

Copied to clipboard
free 100$ digital ocean credit