The Mac Observer

Skip navigational links

You're viewing an article in TMO's historic archive vault. Here, we've preserved the comments and how the site looked along with the article. Use this link to view the article on our current site:
Automated Backups with Mac OS X's Launchd

Automated Backups with Mac OS X's Launchd

by , 3:15 PM EST, December 27th, 2006

A tutorial that described how to automatically launch a backup script in Mac OS X when an external drive is mounted was published at MacResearch.org on Friday.

Mac OS X 10.4, Tiger, introduced a new daemon called launchd that replaces inetd, init, mach_init, and System Starter. By defining a plist, the user can create a process that watches for a volume to be mounted, then run a backup script. In the example, the UNIX command rsync was used to generate a full or incremental backup to an external volume. The basic rsync technique has been explained at MacDevcenter.

The tutorial was helpful in explaining the details of how Mac OS X launches daemons and applications. It's also useful for those who want to see how Apple's more modern launchd compares to traditional UNIX mechanisms for starting up processes. Finally, for those who are unhappy with their current backup software, the tutorial, combined with the MacDevCenter link, reveals how system administrators and technical users can get control and roll their own backup procedure.

Digg!

Recent Headlines - Updated August 28th

Wed,7:16 PM
The Ruby On Rails Rookie To Rockstar Training Bundle: $49
6:29 PM
ACM 269: China’s OS Ambition, iWatch Rumors, Cool Headphones
5:24 PM
How Duke Turned an iPod Giveaway into a University-Wide Digital Initiative
2:24 PM
Text Expander iOS 8 Keyboard Replacement Goes to Public Beta
1:49 PM
Apple Reportedly Plans to Launch Wearables ‘Alongside’ iPhone
1:40 PM
Parallels Desktop 10 for Mac: More Mobile Efficiency, More Ease of Use
1:25 PM
TMO Daily Observations: 2014-08-27
11:12 AM
Dropbox Ups the Cloud Storage Game with new 1TB for $9.99 Deal
9:30 AM
Get Ready for the 12.9-inch iPad, Maybe
8:45 AM
iOS 7: Closing All Open Safari Windows on Your iPhone or iPad
Tue,9:16 PM
Seagate Ships First 8TB Hard Drives for Enterprise
7:50 PM
Hands-On with Blue’s Mo-Fi Headphones: Comfort Married to High Fidelity
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!