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 April 18th

Fri, 9:25 AM
Dropbox gets Deeper into Photo Management with Loom Purchase
8:40 AM
iTunes Radio: Create a Station from a Song or Artist
Thu, 7:56 PM
Apple’s First WSJ Mention: Just Three Words in 1978
6:28 PM
How To Bend iTunes Radio Stations To Your Will With Tuning Options
5:51 PM
RadioShack Planning iPhone 5s Discount this Friday
4:50 PM
Honda’s ASIMO Personal Robot is Scary Good in its Movements
4:42 PM
HTML 5 Crash Course for Beginners - $29
3:55 PM
Jeff Carlson’s Handy Tutorial on Using the iPad as a Photography Aid
2:00 PM
Heartbleed Update: OpenVPN isn’t Safe, Either
12:50 PM
‘iPad and iPhone Kung Fu’ Book is Loaded with iOS 7 Tips and Hints
9:55 AM
Apple’s iOS 8 to Reportedly Include Shazam Music Recognition
9:28 AM
Sponsor: Merlin from Project Wizards
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!