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

Thu,7:17 PM
Meijer, the CurrenctC/MCX Member Who Refuses to Block Apple Pay
6:36 PM
Get Free Bitcoins with 52 Website Faucets that Really Pay [Update]
5:17 PM
Last Chance for The Bluetooth Shower Speaker: $39
5:09 PM
CES Rebrands iLounge Pavilion as iProducts, Hopes to Attract Macworld Expo Exhibitors
2:13 PM
Apple Reverses PCalc Decision; App and Widget Can Stay
1:29 PM
TMO Daily Observations: 2014-10-30
11:36 AM
Microsoft Joins the Fitness Tracking Game with Fitness Band
9:52 AM
Tim Cook’s Gay Coming Out is a Big Deal for Equal Rights
Wed,9:37 PM
MCX Holds Press Conference, Does Itself No Favors
7:30 PM
ACM 278: Apple is the New Microsoft and Thinking Differently about iPhone
6:43 PM
Apple: Widgets Can’t Calculate, Orders Featured Calculator Widget Removed
4:00 PM
The 3 Unexpected Consequences of Apple Pay Will be Huge
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!