restic prune

Category: Backup & Restore

restic prune

Remove unreferenced data from the repository

Deletes data chunks that no snapshot references anymore, reclaiming space after restic forget. It never touches data still used by a snapshot, but freed space cannot be recovered. Only needed after forget removed snapshots.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.