Disk use and cleanup
Everything PushWarden stores has a limit, and the guard enforces the limits once a day. You do not need to do anything.
pushwarden cleanup --dry-run # see what would be removed
pushwarden cleanup # remove it now
pushwarden status shows your total in the Disk use line.
The limits
| What | Limit |
|---|---|
| History archives | 100 MB and 365 days |
| Quarantined files | 90 days and 500 MB |
Repository copies from github-clean |
3 days and 2 GB |
| Logs | 5 MB each, a few archives kept |
| Reports | newest 60 |
| Allow decisions | 30 days |
Change one, or set it to 0 for no limit:
pushwarden config --set quarantine_keep_days=0
pushwarden config --set journal_keep_mb=500
What expiry means
- History: the oldest records go.
- Quarantine: an expired copy cannot be restored any more. The history still lists it.
- Repository copies:
github-clean --applydownloads the repository again.
Never deleted automatically
Your settings, the malware list, the current logs and any file PushWarden did not create.
Remove everything
pushwarden uninstall --unblock --purge
Remember
- The guard is idle between events and uses very little memory.
- Quarantined files are the only thing you may want to keep longer.