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