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 July 29th

Wed,8:55 AM
iOS: Deleting Siri’s Training Data
Tue,8:06 PM
Buy iPhone 6 from T-Mobile Now, Swap for iPhone 6s for Free, Apple Music Exempt from Data Limits
7:10 PM
CoMacadore Plus - Mac OS 6.0.1 Running on an Amiga 500
6:11 PM
Your Fitness Tracker May be Wrong, but that Doesn’t Make it Bad
5:55 PM
The Surreal Selfie Stick (Video)
5:30 PM
Logitech’s MX Anywhere 2 Mouse is a Joy to Use
4:57 PM
Pay What You Want for the Game Developer Bundle
4:10 PM
No One Really Needs an Apple Watch Today
2:06 PM
TMO Daily Observations 2015-07-28: Google+ gets Smaller, Apple gets Bigger
9:31 AM
Apple Targets Fitness, Travel, Music Apps in New Apple Watch Ads
Mon,10:00 PM
Google Plus + Google Agenda = Facebook Win
6:35 PM
LOL Look Back at 2012: Apple Death Knell #60, Microsoft Will Beat Apple (& Google)
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!