Can I keep more than 24h of local snapshots?

I use MacOS for work, from home. Company policy prevents me using Time Machine to do backups: preferences are greyed out in Settings.app and the text "These settings are controlled by a profile." appears in the button.


However I can and do use local snapshots, which I enabled with the command "sudo tmutil enable" (after granting my terminal full access in the "Privacy & Security" pane of Settings.app.).


I take snapshots every 4h using a cronjob that runs "tmutil localsnapshot" and my plan was to limit the total number of snapshots using another cronjob, but that appears to be unnecessary because I there are never any local snapshots older than 24h.


I restore files I've accidentally kludged about once a week, and would love to be able to go back a day or two instead of just a few hours. Does anyone know how to change the settings so I can keep more than 24h of local snapshots?

MacBook Pro 16″, macOS 13.4

Posted on Aug 16, 2023 2:35 PM

Reply

Similar questions

1 reply

Aug 16, 2023 3:40 PM in response to meermanr

meermanr wrote:

I use MacOS for work, from home. Company policy prevents me using Time Machine to do backups: preferences are greyed out in Settings.app and the text "These settings are controlled by a profile." appears in the button.

However I can and do use local snapshots, which I enabled with the command "sudo tmutil enable" (after granting my terminal full access in the "Privacy & Security" pane of Settings.app.).

I take snapshots every 4h using a cronjob that runs "tmutil localsnapshot" and my plan was to limit the total number of snapshots using another cronjob, but that appears to be unnecessary because I there are never any local snapshots older than 24h.

I restore files I've accidentally kludged about once a week, and would love to be able to go back a day or two instead of just a few hours. Does anyone know how to change the settings so I can keep more than 24h of local snapshots?


" would love to be able to go back a day or two " —This is the job of Time Machine.


Local snapshots are just that, and you have limited control, as this is baked into the macOS



Time Machine incorporates these backups automatically accordingly as 24 hr roll-around.


Really you have to do nothing but use Time Machine as intended..



ref: Back up your Mac Back up your Mac with Time Machine - Apple Support



If you value your user data

3-2-1 Backup Strategy: three copies of your data, two different methods, and one offsite.

More than one device, more than one backup methodology.




You can submit your Apple Feedback for features you would like to see relative to your local snapshot limits...here: Product Feedback - Apple



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can I keep more than 24h of local snapshots?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.