autorestic/docs/pages/cli/forget.md
Pete a340355b74
fix relative path to options forget
/location/options/forget instead of /location/forget.
2023-10-17 22:50:08 +10:00

12 lines
573 B
Markdown

# Forget
```bash
autorestic forget [-l, --location] [-a, --all] [--dry-run] [--prune]
```
This will prune and remove old data form the backends according to the [keep policy you have specified for the location](/location/options/forget).
The `--dry-run` flag will do a dry run showing what would have been deleted, but won't touch the actual data.
The `--prune` flag will also [prune the data](https://restic.readthedocs.io/en/latest/060_forget.html#removing-backup-snapshots). This is a costly operation that can take longer, however it will free up the actual space.