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 TMO Headlines - Updated May 27th

Fri, 6:39 PM
Apple Could Own Device-Centric AI with Custom Chip
Fri, 5:03 PM
Here’s What Kik Users Need to Know About Kin Cryptocurrency
Fri, 4:48 PM
Sid Meier's Railroads for Mac Hits Steam Platform
Fri, 4:19 PM
The Touchbar MacBook Pro is a Disposable Embarrassment
Fri, 3:50 PM
The 5 Best PC Motherboards for Creating a Hackintosh
Fri, 3:42 PM
Leaked Memo Pegs iPhone 8 Launch After September 17
Fri, 2:15 PM
Apple Music Is Turning Apple into a Media Giant
Fri, 1:37 PM
Apple Watch Tops Heart Rate Monitor Study, Adam Curry's Podcaster Pro - TMO Daily Observations 2017-05-26
Fri, 11:21 AM
Adam Curry's Podcaster Pro Aims to be All-in-One Podcasting Solution
Fri, 11:17 AM
iPhone 8 Cases Already for Sale on Alibaba
Fri, 10:09 AM
New Report Backs Up Touch ID Embedded in iPhone 8 Display
Fri, 1:47 AM
iKlips miReader 4K: $46.99
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!