Macs are relatively hassle-free—most people can get by without doing any routine maintenance at all. But you can greatly reduce your chances of problems, both big and small, by regularly performing a few simple tasks. I recommend performing some—such as backing up your data—diligently and often. Others require your attention only occasionally. For tips for getting your computer set-up right in the first place, see “Essential Mac Maintenance: Get set up”.
Wondering how you’ll remember what to do when? Download the Macworld Maintenance Calendar, import it into iCal, and then customize it to fit your situation. You’ll never forget your maintenance chores again.
Back up your data
There are two types of people: those who’ve lost data and those who will. So perhaps the most important step you can take is to accept the fact problems are inevitable and make sure your safety net is in place.
Leopard’s built-in backup system, Time Machine, makes it very easy to keep copies of your work. I use Time Machine to automatically back up all my personal data. (See “Time Machine tips and troubleshooting” for details about how to get started.) But I also create a bootable clone—an exact copy of my hard drive—using Shirt Pocket’s $28 SuperDuper 2.5 ( ), and update it each day. If my Mac’s hard drive ever bites the dust, I can boot off of the clone and be up and running in no time. (With SuperDuper, you can even keep the clone and your Time Machine backups on the same external drive.) In addition, I keep a backup in a different location, in case disaster strikes my office.
For more information about how and why you might combine Time Machine with other backup methods, see “Is Time Machine all you need?”. If you don’t use Leopard, see “Easy Mac Backups” for help developing a backup plan.
How Often How much work can you afford to lose? An hour’s worth? A day’s? Back up accordingly. (If you use Time Machine, it will take care of scheduling backups for you.)
Keep software up to date
Why suffer from bugs that have already been fixed or security issues that have already been patched? Software vendors regularly release product updates that contain new features or quash problems and incompatibilities. In general, you want to make sure you’re running the latest versions of all your software. (Note that updates that provide bug fixes are often free; larger updates that provide significant new features may require purchase.)
Schedule Apple Updates Keeping OS X and other Apple software up-to-date is easy. Choose Software Update from the Apple menu, and this built-in utility will launch and then check Apple’s servers to see whether any new Apple software is available. If it is, you can choose to install those updates right then and there. Alternatively, tell Software Update to check for updates automatically: Open the Software Update preference pane, click on the Scheduled Check tab, and select the Check For Updates option. Software Update can check daily, weekly, or monthly and, if you like, automatically download any updates.
One caveat is in order here. On rare occasions, an update will introduce bugs or incompatibilities. So some people prefer to wait a few days before installing new versions of software—especially OS X updates—to see whether the “early adopters” have any problems. A good compromise is to install security updates immediately but wait a bit for other types of updates.
How Often Set Software Update, and any other automated utilities or built-in update locators, to check for updates weekly. If you’re checking manually, do so every few weeks for software you use frequently.
Monitor hard-drive health
A hard drive is an amazing collection of technology: a few small platters, motors, and sensors can store gigabytes of data very reliably. But the technology isn’t perfect, so you need to give your drives periodic checkups.
Check Your Directory Files are written to and erased from your hard drive by the thousands, or even the tens of thousands, each day. Over time, the directory—data on your drive that keeps track of exactly where each file is stored—can become fragmented, which means that it’s split into sections across your drive. This not only impairs performance, but can also damage the directory and make it inaccurate. Checking the directory periodically, and optimizing or repairing it when necessary, is one of the best ways to avoid system problems and data loss.
Apple’s Disk Utility (in /Applications/Utilities) can do basic directory maintenance. Launch the utility and select your hard drive in the list on the left. Click on the First Aid tab and then on Verify Disk. If Disk Utility tells you that the volume needs to be repaired, you can do so by booting from your OS X Install disc. Insert the disc, press and hold down the C key during startup, and then, once you see the Installer window on the screen, access Disk Utility via the Installer’s Utilities menu. If you don’t have that disc or another bootable OS X volume handy, you can also use Safe Mode or single-user mode at startup to repair the directory (see “Leopard troubleshooting guide”).
A more-thorough option is to use Alsoft’s $100 DiskWarrior 4.1( ), which has long been the gold standard for directory fixing. Instead of trying to repair your existing directory, the utility examines that directory, scours your hard drive for files and folders, and then creates a new, optimized directory. Like Disk Utility, DiskWarrior requires that you reboot from the DiskWarrior CD, or a different hard drive containing the program, to repair your startup disk.
Watch Your Hardware Of course, if your hard drive’s hardware is failing, the best directory in the world won’t matter. To help you keep an eye on your drives’ status, today’s hard drives include Self-Monitoring Analysis and Reporting Technology (SMART). This feature monitors a slew of performance indicators inside the drive and then determines whether the drive is operating normally. That status—OK or Fail—is made available to your computer and its software. If a drive’s SMART status is Fail, you should immediately back up your data and replace the drive.
The problem with SMART is that you need to run special software that works with SMART in order to see a drive’s status. Disk Utility displays each disk’s SMART status at the bottom of the Disk Utility window, but opening Disk Utility just to check SMART status is a hassle. An easier approach is to use a utility that monitors SMART status in the background and alerts you if a drive’s status changes. Commercial disk utilities such as DiskWarrior, Micromat’s $98 upcoming TechTool Pro 5, and Prosoft Engineering’s $99 Drive Genius 2 provide such automatic monitoring. Core Code’s free SMARTReporter 2.3.7 also works well.
SMART also has a couple significant limitations. First, the technology works only with drives connected to your computer via IDE/ATA, SATA, and (sometimes) eSATA interfaces; this means it won’t alert you to potential problems with FireWire or USB drives. Second, because SMART detects minor changes over time, it can’t protect you against sudden drive failure. Still, according to drive manufacturer Seagate, the majority of drive problems involve the sort of gradual degradation that SMART can detect, so it’s worth using.
How Often Check your hard drive’s directory once a month and repair as needed. Use a utility to set up automatic SMART monitoring.
Periodically restart your Mac
OS X is so stable that most people can go weeks or months without having to restart their Macs, and many do. Although this is convenient, it has drawbacks. For one, the more programs you launch and quit, the more OS X’s virtual-memory system has to swap data to and from the hard drive. In addition, some programs have memory “leaks” that cause them to use more and more memory over time. The result is that your Mac may seem slower after it’s been running for a few days or weeks than when you first booted up.
The solution is to periodically restart your Mac; this frees up RAM, purges virtual-memory swap files, and regenerates some cache files. Alternatively, simply shut down at night or when you know you won’t be using your Mac for a while—an approach that conserves energy, too. (You can even use OS X’s Energy Saver preference pane to schedule automatic shutdowns and startups.)
How Often Restart your Mac once every week or two, or whenever you’re experiencing slowdowns. (If you shut down your Mac every night, you’re already set.)
Occasionally relaunch Web browsers
When it comes to programs that grab more and more memory over time, perhaps the biggest offenders are Web browsers. The longer they’re running, the more RAM they demand. Eventually, they can bog down your Mac’s overall performance.
Restarting your Mac, or logging out and then back in, are ways to solve this problem, but before going to these extremes, try quitting and then relaunching your browser. This will often free up a surprising amount of memory, and most modern browsers can restore the windows and tabs that were open when you quit, quickly getting you right back to where you left off. (In Safari, choose History: Reopen All Windows From Last Session.)
How Often Restart your browser if it’s been open for a while and you notice your Mac slowing down.
Check hard-drive space
Today’s hard drives hold more stuff than ever, but we also seem to be finding more and more stuff to store on them. And if your hard drive gets too full, performance can suffer. What’s worse, if OS X tries to save user data, virtual-memory files, or temporary files to your hard drive and can’t find enough free space, you can lose data.
How much free space is enough? This is a point of frequent debate, but my personal guideline is approximately ten percent of your hard-drive capacity or 10GB, whichever is less. In addition, if you work with programs that store large temporary files—for example, Photoshop needs scratch space, and DVD-burning software generally requires free space equal to the size of the disc you’re burning—be sure to leave more room for that.
Erase Extra Stuff How do you free up disk space? The first step is simply to get rid of things you don’t use, such as programs you never launch, movies you never watch, and music you never listen to. If you’ve got old files that you’re keeping for posterity but don’t need on hand, consider burning them to disc and removing the originals from your drive. (But be aware that optical discs can go bad over time, so you might want to re-burn them every couple years. And be sure to store copies of important data with your off-site backups.)
Empty the Trash Your Mac’s Trash is easy to empty—just control-click on its icon in the Dock and choose Empty Trash. But some people never do so, ending up with gigabytes of unwanted data on their drives. If you tend to forget, set up a repeating event in Apple’s iCal (/Applications) to remind you. (The downloadable Macworld Maintenance Calendar includes one.) Alternatively, check out Fastforward Software’s $20 Compost 1.9( ), a utility that provides many options for automatically processing deleted files.
Buy a Bigger Drive If deleting unwanted files doesn’t free up enough room on your hard drive, it’s time to buy a larger drive. The good news is that internal hard drives are relatively inexpensive these days: a 300GB desktop hard drive costs less than $100, and a 200GB laptop drive costs around $150. Alternatively, you can buy an external drive and offload some of your files onto it to make room on your startup drive. (See our most recent backup and storage reviews.)
How Often Clean up your hard drive every few months, or whenever it starts filling up. And don’t forget to empty the Trash occasionally.