Skip to content

How to exclude com.zfiletimemachine.ZFileTimeMachine? #2

Done

Description

@TerDale

Currently testing ZFTM, it sounds really promising and better than a backup solution for my usage.

My objective is to protect my apps' settings:

  1. so I added /Users/<me>/Library/Preferences and /Users/<me>/Library/Application Support (yes, I know this one is very big) to ZFTM.
  2. of course, /Users/<me>/Library/Preferences was quickly and smoothly snapshotted.
  3. concerning /Users/<me>/Library/Application Support, it is more tricky and far from finished, as I'm mainly bothered by the fact that ZFileTimeMachine obviously has a folder in it: com.zfiletimemachine.ZFileTimeMachine/, but it continuously creates new files in com.zfiletimemachine.ZFileTimeMachine/cas/ that are snapshotted.
  4. so I tried to exclude it in folder's "Ignore rules" by adding first com.zfiletimemachine.ZFileTimeMachine/, then com.zfiletimemachine.ZFileTimeMachine/cas/ then cas/, but none helped.
  5. So I tried to pause com.zfiletimemachine.ZFileTimeMachine/, but, unlike other folders, it is automatically unpaused a few seconds later (perhaps due to a new file?)
  6. To get the picture: if I search for /cas/, I get 6623 of 9307 files!

Any clue how to work this around?
Maybe ZTFM folder should be ignored by default by the app?

Activity

  1. self-assigned this
    on Nov 24, 2026
  2. added
    bug
    on Nov 25, 2026
  3. TheHolyOneZ commented on Nov 25, 2026

    @TheHolyOneZ
    Owner

    Hi, thanks for the detailed report, it made this easy to track down. There were actually three bugs, and you were right at the end: ZFileTimeMachine should ignore its own folder by default. In 0.2.1 it does.

    1. The endless cas/ files. com.zfiletimemachine.ZFileTimeMachine is where the app keeps its snapshots and database. Each snapshot writes into that folder, the app saw those writes as changes in your watched folder and snapshotted them too, which wrote again, and so on. In 0.2.1 that folder is always skipped, no ignore rule needed, and you can't add it as a watched folder by mistake anymore. When you start 0.2.1, the entries it already made (your 6623 /cas/ files and the copies of the database) are removed from the list together with their snapshots, and the space only they used is freed. Your real files and their history are not touched. The folder's activity feed shows an "App data skipped" entry with the number of files.

    2. Your ignore rules were correct. com.zfiletimemachine.ZFileTimeMachine/ should have worked, but a rule for a folder was only applied during the first scan, not to later changes inside that folder. That's fixed, so rules like Caches/ or SomeApp/cache/ now also work on live changes. That should help with the rest of Application Support.

    3. The pause that undid itself. Pausing a subfolder only paused the files that were already in it, and every new file came in unpaused, so the folder showed as active again a few seconds later. Now the pause belongs to the folder, and new files in it stay paused too. If you paused other subfolders before, pause them once more after updating so new files follow.

    Let me know how it goes with the rest of Application Support.

  4. TerDale commented on Nov 25, 2026

    @TerDale
    Author

    Hey @TheHolyOneZ , Wow what great support: lightning fast fixes, attention to details to debunk more issues and with explanations!
    Not to mention that you take current configuration into account, so no need to remove and restart!
    Thanks, will install new version now!

  5. TheHolyOneZ commented on Nov 25, 2026

    @TheHolyOneZ
    Owner

    Hey, thanks a lot, really appreciate the kind words

    Glad I could get those issues sorted out quickly. Your detailed report made it much easier to track down what was going on, and it also helped uncover a few things that needed fixing anyway

    Hope everything works smoothly with the new version. Let me know if you run into anything else

    Thanks again for taking the time to test ZFileTimeMachine and report the issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions