Tesserax wrote:
Enter sudo defaults write /System/Library/LaunchDaemons/com.apple.backup-auto StartInterval -int 3600• , and then, press <Enter> (Note: Change the value 3600 to the desired backup interval.)
Yes, excellent!
I found your command marked as a “solution” on a StackExchange post. Apparently a restart is required for this change to take effect. If I’m reading this post correctly, apparently this answer is from 2012 but there is another answer from 2014 saying that the keyword apparently changed to BackupInterval in macOS 10.8; do you know which is the correct keyword for macOS Monterey (12.2), StartInterval or BackupInterval?
Later in the post, there is an answer from 2014 which says that “With OS X Mavericks, Apple changed the scheduling of background tasks to be managed by XPC Services, so instructions for earlier versions of OS X no longer work.” This 2014 answer offers this command instead:
sudo /usr/libexec/PlistBuddy -c 'set :LaunchEvents:com.apple.xpc.activity:com.apple.backupd-auto:Interval 10800' /System/Library/LaunchDaemons/com.apple.backupd-auto.plist
Can you tell me which command works with macOS Monterey (12.2)?
Finally, do you know whether there are ANY constraints on the values for StartInterval (or BackupInterval or Interval, as the case may be)? This article about Time Machine running on Sierra seems to suggest that the interval can NOT be less than (10 minutes x 60 seconds/minute =) 600:
When CTS [Centralised Task Scheduling] is told to run backupd-auto, it first checks when it was last run. If it is being asked to initiate a backup within ten minutes of the last, it will abort the instruction from DAS [Duet Activity Scheduler]; otherwise it will proceed with running backupd-auto.
Is this true?