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 May 2nd

Mon,12:40 PM
Three Ways to Protect your Apple Watch (and One Way Not To)
Sun,12:15 PM
MGG 603: Pronunciation, Rants and The Joy of a Smaller Phone
Fri,6:10 PM
An Open Letter to Phil Schiller about iPhones, iPads, and Macs
5:30 PM
New Products Apple Might Give Us While We Wait for the Car
4:42 PM
Nomad Pod Portable Apple Watch Battery Pack: $33.95
4:40 PM
FBI Director in the Dark on iPhone Hack Details
2:36 PM
How to Select Single Pics from Burst Photos on Your iPhone
1:30 PM
SolarTab Portable Solar Panel is a Bright Spot in Outdoor Charging Solutions
12:00 PM
TMO Daily Observations 2016-04-29: Kicking Off a New Apple Conference
9:15 AM
Changing Your Wi-Fi Channel for Improved Speed
Thu,7:59 PM
Carl Icahn Isn’t Wrong about Apple in China
5:54 PM
House Passes Email Search Warrant Bill
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!