linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
2.39k stars 86 forks source link

Exclude pattern not working. #215

Closed harley-codes closed 11 months ago

harley-codes commented 1 year ago

Describe the bug The exclusion does not seem to be working for me. My steam downloads are still being bundled in backups.

To Reproduce Steps to reproduce the behavior:

  1. Setup as per screenshot, where exclude is something in your home dir that you want excluded.
  2. Run manual backup
  3. Browse Backup

Expected behavior Excluded folder should not be present in backup.

Screenshots image image image

System:

ykarrde commented 1 year ago

Have you seen the "Drag-drop to reorder" hint, near top right? I would assume you maybe have to drag your exclusion to the top or at least higher than the inclusion of your complete home directory to give the exclusion a higher priority.

Just a guess, not tried myself, maybe you have already tried and just forgotten to mention?

Disclaimer: I'm not affiliated with the Timeshift development in any way or form.

harley-codes commented 11 months ago

Hey @ykarrde, I believe I did try re-ordering. What I think was happening is I added the rule after an initial scan where files from that space were included. Somehow I think this affected the exclusion rule and continued to include future files. So if someone stumbled across this. 1) Rule must be at top. 2) Do before fist backup, otherwise, clear past backups??