Skip to content

Time Machine automatically nuking snapshots #1

Open
@vimalloc

Description

@vimalloc

It looks like time machine will occasionally nuke snapshots itself. If I had to guess, it is probably doing something along the lines of tmutil thinlocalsnapshots /.

As it stands, the only way I found to create APFS snapshots is via tmutil, so unless whatever is deleting the snapshots we created is run on a cron or something that we can disable, there isn't much to be done about this. Ideally we would have a C API or a different set of tools outside of time machine that let us create APFS snapshots, but until that is a thing we will take what we can get.

This won't cause the program to crash, if it finds that a snapshot was removed out from under it, it will just remove that snapshots metadata from the database and keep happily running. But it does mean that I cannot guarantee the amount of snapshots to keep limits found in the config file will be honored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions