|
|
Time Machine: Mount backup disk on demand
The test that Time Machine has finished needs to be fixed:
will always return false, because the (recently added) logging steals any true response. Because of the delay before backupd-helper returns, and the scripted sleeps, this only affects longer backups, but it needs to be changed.
Instead, one can write
or following a suggestion in the comments,
I have tested both variants extensively before posting here. The second depends on a sufficient delay to allow Time Machine to start up, so one doesn't end up reading the previous success message for that day.
The first is more conservative;
However, the backup appears to be successful. So this is a matter of taste and temperament; do you prefer to have the Time Machine volume unmount as soon as possible, and are willing to have these messages appear in the system log?
In general, with any script like this, one needs to determine if it is running correctly in one's local environment. The acid test of any backup scheme is a successful restore. Short of this, enter Time Machine and see if the expected time periods are present. Look at the folders in the Time Machine volume. And study the system log, using the terminal command
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.11 seconds |
|