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.
Observer Comments
Comments are currently closed. Please email the author instead.
Recent Headlines - Updated July 9th
- Thu, 4:29 PM
- News - SEC Investigating Jobs Health Disclosures
- 3:50 PM
- Ted Landau's User Friendly Blog - User Interface Blues
- 3:42 PM
- Reports - Chrome OS Complicates Apple & Google Boards of Directors
- 1:08 PM
- Deal Brothers - Life ‘09 Software Drops to $59.99 Delivered
- 11:06 AM
- News - TechRestore Posts Stop-motion iPhone 3GS Breakdown
- 10:17 AM
- Hot Forum Topic - Parallels versus Fusion: Reader Favorites
- 9:32 AM
- Product News - LaCie Unveils LaCinema Rugged HD Multimedia Hard Drive
- 8:54 AM
- Product News - CheckUp 2.5 Adds Snow Leopard, New Mac Support
- 8:37 AM
- News - Latest Microsoft Ad Hits at MacBook Price Again
- 8:06 AM
- TMO Appearances - TMO’s Jeff Gamet Dives into Social Media at CoMUG
- 7:30 AM
- The Back Page - Looking Ahead at the App Store’s Future
- Wed, 6:48 PM
- Games - Pipe Mania Puzzle Game Released for Mac, iPhone
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
OWC: Premium Memory for Mac without the Premium Price. DDR2 4GB from $47.99, DDR3 4GB for Unibody $79.99, Mac Pro 4GB $97.99. Expert Support, Free Installation Videos & Guides. www.MacSales.com
If you're using a Mac, then you've gotta check out Full Tilt Poker for Mac. This Full Tilt Poker bonus code does the unthinkable, it actually rewards!
RamJet Memory: MacBook and MacBook Pro 4GB kits for $57.99! Mac Pro 4GB Kits $99.99! iMac and Mac mini 4GB Kits for $57.99! 1TB SATA Hard Drives for $109.99! Click hereFor the latest Apple products use Ciao, a price comparison website, to find laptops like MacBook Air. Then find the best prices on MP3 players and use our comparison tool to evaluate mobile phones like the Apple iPhone.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.

