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

Wed,7:35 PM
ACM 264: Diving Deep into Amazon’s Kindle Unlimited
6:10 PM
Apple Granted ‘iTime’ Patent for Wearable Mobile Electronic Device (Plus Wristband)
4:10 PM
UAG Scout iPad Air Case Offers Full Protection
3:30 PM
How to Upgrade Your Mac to Python 3
3:09 PM
8 UI Kits For iOS 8: $24.99
1:27 PM
TMO Daily Observations: 2014-07-23
10:52 AM
OS X Yosemite Public Beta Coming July 24
9:40 AM
Wells Fargo: AAPL Q3 was Meh, but the Future Looks Bright
8:45 AM
iPhoto: A Shortcut to Help Fix Red-Eye
Tue,8:30 PM
Class-Action Suit Against Apple for Alleged Labor Violations
8:04 PM
Apple Buys 29 Companies (plus Beats) in 21 months, 5 Since March
6:40 PM
Apple’s Tim Cook Says iPad Sales Behind IBM Partnership
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!