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 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.


Recent Headlines - Updated October 7th

Wed,11:50 AM
Read This Before You Install El Capitan
10:54 AM
How to Enable Wi-Fi Calling on Your iPhone
10:25 AM
AT&T gets a Green Light to Enable Wi-Fi Calling
9:00 AM
How to Turn Off Nightstand Mode in Apple watchOS 2
8:50 AM
El Capitan: Seeing “Find My Friends” on Your Mac
5:37 AM
Apple Watch - Cycle (Video)
Tue,8:21 PM
Wall Street Journal Review of Google Now on Tap in Android Marshmallow
7:15 PM
Disney Artists Tweet and Periscope about Apple’s New iPad Pro
6:08 PM
KOAR Bluetooth Cloud Buds: $24.99
3:00 PM
Native Union Apple Watch Charging Dock Goes Both Ways
1:57 PM
Steve Jobs Stories Need to Be Told, Stop Fighting about Books and Movies
1:28 PM
TMO Daily Observations 2015-10-06: The Fight Over Steve Jobs’s History
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!