restic restore latest --target /tmp/restore

Category: Backup & Restore

restic restore latest --target /tmp/restore

Restore the newest snapshot into /tmp/restore

Writes every file from the latest snapshot under the --target directory, keeping the original layout. The repository is only read, so the backup itself stays intact. To restore one folder only, add --include. Related: restic mount for browsing instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.