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 November 30th

Mon,12:40 PM
Three Ways to Protect your Apple Watch (and One Way Not To)
Fri,7:26 PM
$100 off iPad mini 4 for Black Friday
7:11 PM
iPad mini 2 for $199 at Walmart for Black Friday
6:18 PM
$100 and $125 off iPad Air 2 for Black Friday from Best Buy
5:23 PM
20% iTunes Cards from Best Buy Back on for Black Friday
5:15 PM
20% Off iTunes Cards from Ebay/PayPal
8:03 AM
Black Friday Blowout 15% Discount on TMO Deals
Thu,10:32 AM
Happy Thanksgiving from The Mac Observer!
Wed,7:53 PM
Awaken the Force with these Free Star Wars Apps
5:28 PM
How to Pair Bluetooth Headphones with Your Apple TV
4:40 PM
Pay What You Want for the Learn to Code Bundle
4:27 PM
ACM 334: Apple’s Mac Pro vs. The Devil’s Advocate
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!