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!

Observer Comments

Show: Subjects Only | Full Comments
Comment on this Article

Comments are currently closed. Please email the author instead.


Recent Headlines - Updated July 9th

Thu, 4:29 PM
News - SEC Investigating Jobs Health Disclosures
3:50 PM
Ted Landau's User Friendly Blog - User Interface Blues
3:42 PM
Reports - Chrome OS Complicates Apple & Google Boards of Directors
1:08 PM
Deal Brothers - Life ‘09 Software Drops to $59.99 Delivered
11:06 AM
News - TechRestore Posts Stop-motion iPhone 3GS Breakdown
10:17 AM
Hot Forum Topic - Parallels versus Fusion: Reader Favorites
9:32 AM
Product News - LaCie Unveils LaCinema Rugged HD Multimedia Hard Drive
8:54 AM
Product News - CheckUp 2.5 Adds Snow Leopard, New Mac Support
8:37 AM
News - Latest Microsoft Ad Hits at MacBook Price Again
8:06 AM
TMO Appearances - TMO’s Jeff Gamet Dives into Social Media at CoMUG
7:30 AM
The Back Page - Looking Ahead at the App Store’s Future
Wed, 6:48 PM
Games - Pipe Mania Puzzle Game Released for Mac, iPhone

The Mac Observer Reader Specials

  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!