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 30th

Tue,11:02 PM
Apple Possibly Leaked New Mac mini Models
8:57 PM
Ford Ditching BlackBerry for iPhone for Global Corporate Use
6:04 PM
‘Window Plug’ Portable Solar Charger Concept Design
4:19 PM
MotionArtist for Mac: $9
2:10 PM
OS X Yosemite: How to Trek into Dark Mode
1:45 PM
Apple Retail Out Almost $310K in Scam, Suspect Arrested in Florida
1:12 PM
TMO Daily Observations: 2014-07-29
11:14 AM
Apple TV Adds Fox Now, CNBC Channels
9:55 AM
Apple Drops Samsung Patent Appeal, Ends Injunction Push
8:46 AM
Retina MacBook Pro gets Faster Processors, More RAM
Mon,10:20 PM
Beats Music Adds More User Controls to iOS App, Including ‘Tune Your Taste’
9:48 PM
Facebook Forces iPhone Users To Separate Messaging App
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!