Change Frequency of Time Machine Backups?

Solution 1:

You can issue this command on the command line from a terminal:

sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 3600

The value is in seconds, therefore calculate your interval assuming 3600 seconds per hour.

The command edits the value in /System/Library/LaunchDaemons/com.apple.backupd-auto.plist, only that you don't have to edit the file directly. This bewares you of any syntax errors you might make in that file, so I would prefer this solution.

Furthermore you need to restart for this change to take effect. I also found this thread in an Apple support forum, which indicated a permission problem in a Snow Leopard installation.

Solution 2:

Or you can try an even easier approach. Time Machine Editor, it's a graphical user interface that allows you to edit some options of Time Machine.

Solution 3:

Under /System/Library/LaunchDaemons there is an XML file called com.apple.backupd-auto.plist. Open it with your text editor of choice and find these lines:

<key>StartInterval</key>
<integer>3600</integer>

Between the integer tags is the backup interval in seconds. Change it to your liking. Just remember it's an integer, so it has a maximum (2,147,483,647 signed I believe), in case you're trying to set it obnoxiously high to avoid backups. But I doubt that's the case.

Solution 4:

Just to be sure: changing the interval won't change what Time Machine keeps. It will still only keep hourly backups for the last 24 hours, all first dailies for the last month, and all first weeklies until the disk is full.

So, for example: tweaking will not save you any disk space. (You'll only notice when you change the same files a lot, and then you'll still only see the change in the hourly backups which are expired soon anyhow.) And unless you're changing the same huge files a lot, you probably won't notice a huge performance increase either, as it will simply need to backup more during each run, if you increase the interval. (But then: if you're changing the very same files a lot, then an hourly backup might be very welcome?)

(I don't know what happens if you set the interval to value less than an hour.)