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 April 19th

Sun,12:05 PM
MGG 549: Cool Stuff Found
Fri,5:54 PM
Canadian Bankers Balk at ‘Onerous’ Apple Pay Terms
5:52 PM
How To Enable Stealth Mode in Yosemite
4:36 PM
Ben & Jerry’s Spoofs Apple’s ‘1984’ Commercial to Promote BRRR-ito
4:25 PM
Understand What Apple is Achieving or Get Left Behind
4:10 PM
MiFi 2 Unlocked Global Hotspot: $99
1:22 PM
TMO Daily Observations 2015-04-17: Don’t Hold Your Breath for In-store Apple Watch Sales
10:45 AM
Apple PR Veteran Steve Dowling Promoted to VP
9:37 AM
Apple Watch Training Workshops Coming to Apple Stores April 24
8:55 AM
OS X Yosemite Photos: Showing Your Recently Deleted Items
Thu,9:10 PM
Scott Forstall Advising Snapchat, Earning 0.11% of Company
7:36 PM
USB ChargeDoubler Mini Charging Cable Seeks Funding
  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!