The much-lamented Dantz Development, creators of the Retrospect backup application, had a wonderful tagline for their product:
To go forward, you must backup.
Dantz trademarked that phrase in 1992, but it hasn’t lost any of its applicability today, over 2 decades later. The backup world may have changed hugely since then, but backing up remains absolutely essential.
When it comes to OS X Server, there are two aspects of backup that you’ll want to consider: backing up the server itself and running the Time Machine–compatible backup server for your users to back up to over the network. Let’s look at each in turn.
Luckily, when it comes to backing up your server, there’s little that’s different from backing up any other Mac, so I strongly encourage you to read Joe Kissell’s Take Control of Backing Up Your Mac, which is the most comprehensive guide to the subject available. It talks about the need for three types of backups:
Take Control of Backing Up Your Mac also points out that you should consider what you’d do if your server Mac itself dies. It’s easy to think that you could just move a hard drive to another Mac, but make sure that other Mac has sufficient CPU and RAM to run your services. I also make a few recommendations in Manage Backups.
Turning on the Time Machine service is easy, but before you do, you should make sure you have sufficient drive space available for backups.
How much drive space will you need to allot to backups? Time Machine requires, at a bare minimum, that the destination drive have 1.2 times the space occupied by the data you’re backing up. But since the entire point of Time Machine is to let users go back in time to recover older versions of files, you’ll want to allocate more space for each user. How much more depends on how much space you have to play with and how much data each user creates. If someone mostly does email and Web browsing, with some light word processing and spreadsheet work thrown in, 1.5 times the current data would probably be fine. On the other hand, if a user is working with large graphics or audio files, 2 or 3 times the current data wouldn’t be inappropriate.
And of course, to come up with a total you need to add up the amount needed by all users. If you haven’t done this before, you might be shocked by the space necessary, but rest assured there are plenty of products into which you can slot multiple large hard drives, including those from Drobo, Promise, and Synology.
Of these three vendors, Drobo’s products are the most unusual, relying on the proprietary BeyondRAID technology and offering in-place upgrading of drives and mix-and-match drive sizes. Promise’s Thunderbolt-based RAIDs are extremely fast and have the implicit blessing of Apple, being sold through the Apple online store. Finally, Synology’s NAS (network attached storage) units are also highly regarded. Needless to say, don’t skimp on your storage box or how it connects to your server; USB 2 isn’t acceptable.
Also consider the possibility that you’ll want to swap between a pair of these devices, so you can have one that’s offsite at all times. Imagine what would happen if your office were to burn down or be badly damaged in an earthquake or flood: you’d lose all the original data on user Macs and the onsite backup.
To enable the Time Machine service, just select Time Machine in Server’s sidebar and click the ON button. You’re then immediately presented with the New Destination screen, which is where you choose a spot to store user backups and you limit the size of each user’s backup to a specified size.
Click the Choose button next to Store Backups In and select the desired destination, usually the top level of a hard drive. Then, if you want, select the Limit Each Backup checkbox and enter a size in gigabytes (Figure 123). Click Create.
If you’ve selected the top level of a drive, Server creates a shared folder called Backups, storing it inside another folder called Shared Items. This Backups folder is a true shared folder, since Time Machine relies on the File Sharing service (see File Sharing).
The Settings screen in the Time Machine service lists your newly created destination, showing at a glance how much space remains available on the drive (Figure 124).
If you want to change the backup size limit for a backup destination, double-click the destination in the Settings screen and enter a new number.
Although you cannot easily change where a backup destination’s files are stored on a given drive (and thus you can’t move them to a larger drive), you can define additional destinations, which appear to users as separate drives. To make a new destination, click the plus button, choose a location, and set a backup size limit.
Configuring Time Machine on client Macs to back up to your new Time Machine service differs only slightly from configuring it to back up to any other drive, as explained in Joe Kissell’s Take Control of Backing Up Your Mac. Follow these basic steps:
Needless to say, initial backups will take a long time as Time Machine copies all of each user’s data, but subsequent backups should be much faster.
To keep track of the backup status of your users, and how much drive space their backups are taking up, click the Backups view on Server’s Time Machine pane (Figure 127).
There isn’t much you can do here, but pay special attention to the Last Backup column. If you have a lot of users, you can sort the list by clicking the Last Backup column header; if someone hasn’t backed up in a few days, it’s worth checking in to see what the problem may be, given that Time Machine runs automatically.
Similarly, sorting by Total Size is useful to identify which users are backing up the most data—information you could then use to adjust backup size limits or plan for new backup drives.
To learn more about a particular backup, double-click it to bring up the Summary screen (Figure 128).
Finally, if necessary—such as when a user leaves your organization—you can delete unnecessary backups by selecting them in the Backups screen and clicking the minus button. Needless to say, deleted backups can’t be restored, so be careful!