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.
Observer Comments
Recent Headlines - Updated January 9th
- Thu, 5:56 PM
- Macworld Expo 2009 - Orbicule Announces Undercover 3 with Location Technology
- 5:49 PM
- News - TOM BIHN, Waterfield Designs Release 17” Unibody MacBook Pro Notebook Cases
- 3:50 PM
- Macworld Expo 2009 - Targus Shows File Share Cable for Mac
- 3:40 PM
- Macworld Expo 2009 - Blackmagic Demonstrates Video Recorder
- 3:14 PM
- News - Microvision Demonstrates SHOW WX Laser Projector
- 2:53 PM
- Just a Thought - First Time: A Closer look at Macworld and San Francisco
- 12:35 PM
- News - Mac Gamers Can Now Fight For Good or Evil in City of Heroes
- 12:12 PM
- News - EVE Online to Expand the Known Universe in March
- 11:53 AM
- News - Feral to Ship Rome: Total War Gold in March
- 11:19 AM
- News - Freeverse Says Commander: Napoleon at War is on the March
- 10:34 AM
- News - Whither Macworld Expo?
- 9:47 AM
- News - Paragon Issues 30 ‘Talking’ Dictionaries
The Mac Observer Reader Specials
- Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
MacPro Memory 667Mhz With Apple Spec Heat Sink - 2GB $62 / 4GB $80 / 8GB $158. Click to Maximize your Macs...
Mac observers can now play Party Poker for Mac as well as Mac casino games by going to MacPokerOnline.com.
RamJet Memory: Upgrade a MacBook to 4GB RAM for $99! Add a 320G MacBook Hard Drive for $73! MacBook Pro 17" 8GB Kits Available Now! Click hereFor the latest Apple products use Ciao a comparison website to find laptops like MacBook Air. Then find the best prices on MP3 players and use our comparison tool to evaluate cell phones.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.


