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 December 19th

Thu,8:09 PM
BBC Films ‘Apple’s Broken Promises’ for Worker Conditions in Pegatron iPhone Factory
6:20 PM
Save 96% on The World’s Largest iOS 8 + Swift eLearning Bootcamp
5:30 PM
Apple Job Posting Suggests Worldwide Expansion of Apple Pay
2:07 PM
The Story Behind Apple’s ‘The Song’ Commercial (Video)
1:43 PM
TMO Daily Observations: 2014-12-18
11:29 AM
iOS 8 Mail: Customizing Swipe Gestures
9:08 AM
Apple Raises $20M in 2014 Product (RED) Campaign
Wed,5:50 PM
Hit List 2.0 Task Manager Checks Off Syncing, iPhone 6 Interface
5:44 PM
ACM 285: Apple’s iPod Lawsuit Victory and Tag Heuer’s Smart Watch Plans
5:20 PM
STM Harbour iPhone 6 Case is Colorful, Lightweight and Inexpensive
5:16 PM
Register for TMO’s Apple Watch Giveaway
4:15 PM
Apple Pay: a List of Brick-and-Mortar Stores That Accept it
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!