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 January 31st

Fri,5:40 PM
The Unofficial Apple Weblog Will Shut Down February 3rd
5:18 PM
Peri Duo Case for iPhone Marries Speaker, Battery, and Wi-Fi Audio
4:50 PM
Repatriation Tax Bill Holds Promise, but Faces Uphill Battle
4:32 PM
Microsoft Brings Outlook to iPhone and iPad
2:51 PM
Enter to Win a Pair of Wireless Beats Studio Headphones
1:09 PM
TMO Daily Observations 2015-01-30: Samsung’s Smartphone Numbers, Congress Wants More Corporate Cash
11:09 AM
FiftyThree’s Pencil Stylus for iPad goes Gold
9:48 AM
How to Enable the iTunes Notification Center Widget in OS X Yosemite
9:05 AM
iTunes gets OS X Yosemite Notification Widget
Thu,6:59 PM
Apple Tied Samsung for Global Smartphone Units in Q4
6:14 PM
Wall Street Continues Apple Love Fest as $AAPL Closes at $118.90
5:34 PM
ZeroLemon SolarJuice 20,000mAh Portable Charger: $49.99
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!