restic forget --prune

Category: Backup & Restore

restic forget --prune

Remove all snapshots and prune their data

With no keep policy given, restic forget removes every snapshot, and --prune deletes all their data permanently. Only run this when you deliberately want to wipe the repository's backups. There is no undo, so confirm with restic snapshots first.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.