Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X Mavericks (10.9)

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 13, 2014, 08:32 AM   #1
PicnicTutorials
macrumors 6502
 
Join Date: Dec 2013
Time Machine backup interval edit

<dict>
<key>Interval</key>
<integer>3600</integer>
<key>Delay</key>
<integer>3600</integer>
<key>GracePeriod</key>
<integer>1800</integer>
<key>Repeating</key>
<true/>
<key>AllowBattery</key>
<true/>
<key>PowerNap</key>
<true/>
<key>Priority</key>
<string>Utility</string>
</dict>

/System » Library » LaunchDaemons > com.apple.backupd-auto.plist.

If I want it every 24 hours I assume I change the interval number but what about the other two - delay and grace period?
__________________
- Picnic Website Code Tutorials
- Late 2013 27" iMac, 16GB Ram, 3.5GHz Quad-core i7, 512GB PCIe SSD, NVIDIA GeForce GTX 780M 4GB, Magic Mouse + Magic Trackpad + Wireless Keyboard, iPad Air & Phone 5
PicnicTutorials is offline   0 Reply With Quote
Old Feb 13, 2014, 08:33 AM   #2
simsaladimbamba
Guest
 
Join Date: Nov 2010
Location: located
You could always use TimeMachineEditor to make it simpler.
simsaladimbamba is offline   0 Reply With Quote
Old Feb 13, 2014, 08:39 AM   #3
PicnicTutorials
Thread Starter
macrumors 6502
 
Join Date: Dec 2013
Quote:
Originally Posted by simsaladimbamba View Post
You could always use TimeMachineEditor to make it simpler.
Ya id rather not download a third party tool for something i could do.

----------

I assume if I wanted it every 24 hours it would be...

<dict>
<key>Interval</key>
<integer>86400</integer>
<key>Delay</key>
<integer>86400</integer>
<key>GracePeriod</key>
<integer>43200</integer>
<key>Repeating</key>
<true/>
<key>AllowBattery</key>
<true/>
<key>PowerNap</key>
<true/>
<key>Priority</key>
<string>Utility</string>
</dict>

Just want to make sure so as to not break anything
__________________
- Picnic Website Code Tutorials
- Late 2013 27" iMac, 16GB Ram, 3.5GHz Quad-core i7, 512GB PCIe SSD, NVIDIA GeForce GTX 780M 4GB, Magic Mouse + Magic Trackpad + Wireless Keyboard, iPad Air & Phone 5
PicnicTutorials is offline   0 Reply With Quote
Old Feb 13, 2014, 12:51 PM   #4
PicnicTutorials
Thread Starter
macrumors 6502
 
Join Date: Dec 2013
<dict>
<key>Interval</key>
<integer>86400</integer>
<key>Delay</key>
<integer>86400</integer>
<key>GracePeriod</key>
<integer>43200</integer>
<key>Repeating</key>
<true/>
<key>AllowBattery</key>
<true/>
<key>PowerNap</key>
<true/>
<key>Priority</key>
<string>Utility</string>
</dict>

Well I changed the file to the above shown numbers and saved it and rebooted. But time machine still says my next backup is scheduled in an hour. What am I missing? I would use "time machine editor" app but I don't like that in order to use it you have to turn time machine off and the app controls the backups instead.
__________________
- Picnic Website Code Tutorials
- Late 2013 27" iMac, 16GB Ram, 3.5GHz Quad-core i7, 512GB PCIe SSD, NVIDIA GeForce GTX 780M 4GB, Magic Mouse + Magic Trackpad + Wireless Keyboard, iPad Air & Phone 5
PicnicTutorials is offline   0 Reply With Quote
Old Feb 13, 2014, 01:55 PM   #5
Weaselboy
macrumors G5
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Quote:
Originally Posted by PicnicTutorials View Post
<dict>
<key>Interval</key>
<integer>86400</integer>
<key>Delay</key>
<integer>86400</integer>
<key>GracePeriod</key>
<integer>43200</integer>
<key>Repeating</key>
<true/>
<key>AllowBattery</key>
<true/>
<key>PowerNap</key>
<true/>
<key>Priority</key>
<string>Utility</string>
</dict>

Well I changed the file to the above shown numbers and saved it and rebooted. But time machine still says my next backup is scheduled in an hour. What am I missing? I would use "time machine editor" app but I don't like that in order to use it you have to turn time machine off and the app controls the backups instead.
I'm not sure if this is your problem, but I know Mavs caches plist files, so your plist edits are probably getting overwritten by the cached version.

Try turning off TM, then edit the plist and save it. Then reboot to clear the plist cache... then turn TM back on so you if your edits worked.
Weaselboy is online now   0 Reply With Quote
Old Feb 13, 2014, 03:09 PM   #6
PicnicTutorials
Thread Starter
macrumors 6502
 
Join Date: Dec 2013
Quote:
Originally Posted by Weaselboy View Post
I'm not sure if this is your problem, but I know Mavs caches plist files, so your plist edits are probably getting overwritten by the cached version.

Try turning off TM, then edit the plist and save it. Then reboot to clear the plist cache... then turn TM back on so you if your edits worked.
Nope did it as you said and still says next back up in one hour. Is thee another file somewhere? I even looked for the plist cache files in all the library's > preferences and the file was not there. Is that where the cache files are?
__________________
- Picnic Website Code Tutorials
- Late 2013 27" iMac, 16GB Ram, 3.5GHz Quad-core i7, 512GB PCIe SSD, NVIDIA GeForce GTX 780M 4GB, Magic Mouse + Magic Trackpad + Wireless Keyboard, iPad Air & Phone 5
PicnicTutorials is offline   0 Reply With Quote
Old Feb 13, 2014, 03:25 PM   #7
Weaselboy
macrumors G5
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Quote:
Originally Posted by PicnicTutorials View Post
Nope did it as you said and still says next back up in one hour. Is thee another file somewhere? I even looked for the plist cache files in all the library's > preferences and the file was not there. Is that where the cache files are?
Give this a look. It appears you can go from 0-23, and the article does not mention 24 as an option, so maybe that is where you are going wrong?
Weaselboy is online now   0 Reply With Quote
Old Feb 13, 2014, 07:06 PM   #8
PicnicTutorials
Thread Starter
macrumors 6502
 
Join Date: Dec 2013
Arg now i ran this terminal line and it corrupted the file.

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

Now what? How do i put back that file? I can't even open it anymore!
__________________
- Picnic Website Code Tutorials
- Late 2013 27" iMac, 16GB Ram, 3.5GHz Quad-core i7, 512GB PCIe SSD, NVIDIA GeForce GTX 780M 4GB, Magic Mouse + Magic Trackpad + Wireless Keyboard, iPad Air & Phone 5
PicnicTutorials is offline   0 Reply With Quote
Old Feb 13, 2014, 07:11 PM   #9
Mr. Retrofire
macrumors 601
 
Mr. Retrofire's Avatar
 
Join Date: Mar 2010
Location: www.emiliana.cl
Quote:
Originally Posted by PicnicTutorials View Post
Arg now i ran this terminal line and it corrupted the file.

...

Now what?
Read post #2! Thanks.
__________________

“Only the dead have seen the end of the war.”
-- Plato --
Mr. Retrofire is offline   0 Reply With Quote
Old Feb 13, 2014, 07:14 PM   #10
PicnicTutorials
Thread Starter
macrumors 6502
 
Join Date: Dec 2013
Permissions fixed it.
__________________
- Picnic Website Code Tutorials
- Late 2013 27" iMac, 16GB Ram, 3.5GHz Quad-core i7, 512GB PCIe SSD, NVIDIA GeForce GTX 780M 4GB, Magic Mouse + Magic Trackpad + Wireless Keyboard, iPad Air & Phone 5
PicnicTutorials is offline   0 Reply With Quote
Old Feb 13, 2014, 07:26 PM   #11
Reno Richter
macrumors member
 
Join Date: May 2012
Quote:
Originally Posted by Weaselboy View Post
Give this a look. It appears you can go from 0-23, and the article does not mention 24 as an option, so maybe that is where you are going wrong?
What is going on in that article the way I read it is 23 hours and 59 minutes is the max. I would assume that occurs at 11:59pm (12 hour clock) or 23:59 (24 hour clock) (one min before mid-night, not 23 hours and 59 minutes after reboot.
Reno Richter is offline   0 Reply With Quote
Old Feb 13, 2014, 07:35 PM   #12
PicnicTutorials
Thread Starter
macrumors 6502
 
Join Date: Dec 2013
I gave up and used time machine editor. I will post back if it fires at 3:00 am like I set.
__________________
- Picnic Website Code Tutorials
- Late 2013 27" iMac, 16GB Ram, 3.5GHz Quad-core i7, 512GB PCIe SSD, NVIDIA GeForce GTX 780M 4GB, Magic Mouse + Magic Trackpad + Wireless Keyboard, iPad Air & Phone 5
PicnicTutorials is offline   0 Reply With Quote
Old Feb 14, 2014, 08:14 AM   #13
PicnicTutorials
Thread Starter
macrumors 6502
 
Join Date: Dec 2013
Time Machine editor seems to have worked as expected. Backed up at 3:00 am like i said it should.
__________________
- Picnic Website Code Tutorials
- Late 2013 27" iMac, 16GB Ram, 3.5GHz Quad-core i7, 512GB PCIe SSD, NVIDIA GeForce GTX 780M 4GB, Magic Mouse + Magic Trackpad + Wireless Keyboard, iPad Air & Phone 5
PicnicTutorials is offline   0 Reply With Quote
Old Feb 14, 2014, 09:30 AM   #14
Weaselboy
macrumors G5
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Quote:
Originally Posted by Reno Richter View Post
What is going on in that article the way I read it is 23 hours and 59 minutes is the max. I would assume that occurs at 11:59pm (12 hour clock) or 23:59 (24 hour clock) (one min before mid-night, not 23 hours and 59 minutes after reboot.
Yes, I read it the same way. My point was the integer value for hours can't be 24 as it sounded like the OP was trying to use.
Weaselboy is online now   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X Mavericks (10.9)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Time Machine doesn't recognize backup history so incremental backup not working dmi OS X 0 Sep 10, 2013 06:56 AM
Synology for NAS/Time Machine/Backup? Newb Backup Here psychbiker Mac Peripherals 9 Jun 3, 2013 08:44 AM
Time Machine: The identity of the backup disk has changed since the previous backup Dorv OS X 10.8 Mountain Lion 9 Feb 22, 2013 11:45 PM
Time Machine Backup Interval keeps Changing divincem OS X 10.8 Mountain Lion 0 Dec 29, 2012 12:48 PM

Forum Jump

All times are GMT -5. The time now is 12:34 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC