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

Mon,9:29 PM
Amazon Cloud Drive Comes to iOS App Store
7:40 PM
PHATASS, the Prince Harvey Rap Album Recorded at an Apple Store
5:55 PM
An Electric Car Won this Year’s Pikes Peak Hill Climb
5:20 PM
Keyport High-Tech Multi-Tool: $39.99
5:15 PM
Apple Stores Are Holding the New MacBooks Captive
3:20 PM
3 Free iPhone Apps for Tracking the International Space Station
1:11 PM
TMO Daily Observations 2015-07-06: Dr. Mac’s Apple Music and Siri Problems
10:49 AM
Amazon Invents the New Black Friday: Prime Day
9:32 AM
How to Control Apple Music “For You” Playlists
Fri,6:36 PM
iCloud Music Library and DRM: Now with Slightly Less Disaster
9:38 AM
Apple Music - Or Some Streaming Service - Needs To Steal Discovery From Napster
8:00 AM
Happy U.S. Independence Day
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!