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 March 28th

Sat,10:30 AM
How to Create Light Trails Photographs with Your iPhone
Fri,7:50 PM
How to Update Any Icon on Your Mac
7:25 PM
Steve Wozniak: Apple Watch Edition Won’t Move the World Forward
3:45 PM
The REAL Reason Apple’s iPad is Faltering
2:50 PM
‘Bobine’ Flexible iPhone Charging Dock: $24.99
2:05 PM
UK Safari Users can Sue Google Over Unwanted Browser Cookies
12:56 PM
TMO Daily Observations 2015-03-27: Tim Cook is the Top Leader, Leshi TV says Apple is Hitler
10:56 AM
Leshi TV CEO Says Apple is Hitler
9:29 AM
Apple Watch Compatible Apps are Already Arriving
8:55 AM
Numbers: Using the Quick Calculations Bar
Thu,9:20 PM
7 Things We Learned when Fortune Named Tim Cook World’s Greatest Leader
8:22 PM
How To Sell, Trade In, or Recycle Old Macs or PCs
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!