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 September 16th

Tue,10:07 AM
Connecticut AG Questions Apple Watch Privacy
9:11 AM
Apple: iPhone 6 NFC Just for Apple Pay
Mon,8:29 PM
Apple CEO Tim Cook on Privacy: Follow the Money
6:38 PM
Amazon Offers 16GB iPad Air for $427
6:08 PM
Apple Offers U2 Removal Tool for People Angry about Free Album
4:52 PM
Stanford, Duke University Start Apple HealthKit Patient Trials
3:29 PM
Net Neutrality Comment Deadline Is Today
2:15 PM
Knomad Portable Organizer for iPad mini Holds All Your Accessories
1:54 PM
TMO Daily Observations: 2014-09-15
11:39 AM
TMO Forum Poll: Which did You Pre-order, iPhone 6 or 6 Plus
11:02 AM
Analyst: Apple on Track to Top 10M iPhone 6 Launch Sales
9:48 AM
iPhone 6 Pre-orders Showing Week-long Shipping Delay
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!