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 November 23rd

Sat,10:30 AM
iPhoneography 101: Essential iPhone Camera Apps
Fri,6:57 PM
Apple Makes ‘Things for iPad’ Free for a Week
6:47 PM
Judge Approves Apple iBooks $450 Million Antitrust Settlement
5:54 PM
100 AA and 52 AAA Duracell Batteries for $59.99 [Extended]
5:18 PM
Use a PDF to See How Big Apple Watches Really Are
4:45 PM
Why Every Estimate for Apple Watch Sales in 2015 is Completely Wrong
4:30 PM
‘Kingdom Rush Origins’ Tower Defender Released for iPhone and iPad
1:42 PM
TMO Daily Observations: 2014-11-21
11:53 AM
Google Agrees to Settlement in Rockstar Patent Infringement Fight
9:44 AM
Apple Blocks Outdated Flash Players Over Security Issues [Update]
9:00 AM
iOS 8: Using “Send Last Location”
Thu,8:05 PM
SwiftKey Adds Languages in iOS Without App Store Updates
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!