Time Machine is a generally quick and convenient way to back up your data and has come a long way in terms of reliability since its inception in 2007. You simply connect an external drive to your Mac and you will be up and running with Time Machine in a matter of minutes. If you prefer a more centralized approach, you can use one of Apple's Time Capsules and your backups will run so long as you're on the same network as your Time Capsule. But what if a Time Capsule isn't big enough? What if you don't want to spend $300 or $400 on a backup solution you can't expand over time?
Well, if you have a spare Mac around, you can set up your own Time Machine server for just $19.99 plus the cost of whatever size hard drive you want to use. This article covers how to set up your own Time Machine server on a Mac.
A Mac mini or Mac Pro are ideal candidates for server use, but you can run Apple's server app on any Mac — so if you have an old MacBook Pro or iMac, you can use that too. For best compatibility, your Mac will need to be able to run macOS Sierra comfortably. This means, at the very least, you need 4 GB of RAM and a Core i5 or i7 processor. Older Core 2 Duo processors can get the job done, but make sure the RAM is maxed out and the Mac is used strictly for Time Machine server purposes.
I wouldn't use anything older than the following for a Time Machine server:
These machines (and newer) will be able to run macOS Sierra and the latest Server app. If the Mac you have in mind for this task cannot run Sierra, you can use an even older machine with El Capitan 10.11.6 on it. To get a compatible version of the Server app though, you must already have it in your purchase history. Even though only the latest version is technically available, if you download it you will be presented with a window such as this one:
Also keep in mind, using an older OS and older Server App means you'll not have the latest security patches and enhancements. If security is not a concern because, for example, your Mac will only be accessible from an internal network and not connected to the Internet, then an older version will get the job done. (In this article I will only cover the latest version, but older Server app versions have a similar setup process.)
As mentioned before, if the Mac you'll be using is old and low on resources, try to use it just for Time Machine server purposes. If you have a more recent Mac with plenty of horsepower and resources, check out the bonus content at the end of this article.
That's it, your Mac is ready!
Once the Server App is installed, it needs to be configured. For use as a Time Machine server the setup is a breeze. To configure the Server app as a Time Machine server, follow these steps:
At this point, the service is up and running and ready to start receiving backups. There is just one more thing to look at before connecting your Mac(s) to the server: Users.
Even if it's just you that'll be backing up to this server, it's best not to use the server's admin credentials to connect. Instead, you should make a new account for yourself that you will use to connect. In this way, if the account is ever compromised, access to the server and services will be limited.
If there are multiple people backing up to this server, give each user their own account rather than sharing a single "backup user" account. To create users, select "Users" from the list of services and use the "+" button at the bottom to start adding users. Make sure the password is a secure one and the home folder is set to "None - Services Only." This way the users cannot log in to the server directly, instead they can only use the services which they have been granted access.
Once all your users are created, select one and click the gear icon at the bottom of the window. From there, select "Edit Access to Services." For the user to be able to use Time Machine, select only File Sharing and Time Machine. Service access can be adjusted at any time, so if you decide to run more services later you can simply let users have access at that time.
Make these Service Access changes for each user, including yourself.
Now comes the easy part: connecting users to Time Machine server.
With all the backups going to your server, you can leverage a few of the perks running a server gives you. If you click on the Time Machine service in the Server App, you can select the "backups" tab. A list of all the backups currently stored on the server will be presented to you with some useful information.
At first glance, check to see when was the last time that user/machine was backed up. If you know the Macs that are backing up to this server, never leave the network for longer than a day; seeing a laptop that hasn't backed up in over a week is a good reason to investigate why. The total size of the store backups for each machine is listed as well. Let's say there is one backup that uses up 2 TB of data while all other machines only use a few hundred GB's, you know that user doesn't have much data that needs to be backed up. Therefore, you can investigate and see if maybe a hard drive that should have been excluded was overlooked.
If your server has enough horsepower, RAM and storage space (not on the startup disk but other internal or external drive), you should take a look at the Caching service in the Server App. (Even more so if you have multiple Macs on your network and/or frequently install or reinstall systems.) The Caching service intercepts software updates for macOS, iOS and tvOS and stores them. So if you just downloaded and installed the latest macOS update on your Mac, that's 1.1 GB stored in the Caching service. Rather than every other Mac downloading this same update directly from Apple, it'll be served from your server. If your Internet is slow or if you have monthly data limits, this can save you many gigabytes of data every month.
Setting up the Caching service is a breeze. Simply select the service from the list, set the cache location (any hard drive that is not your startup disk) and set a cache limit. The permissions are set to their best options automatically (only your network), so no need to worry about that. You also don't have to give users permission to use this service, macOS handles it all for you.
As long as a device is on your network and needs content that exists in the cache, it will receive it from that cache. If the content does not exist in the cache, the Caching service will put it there so the next user can benefit. A small graph bar will form over time, which will show you how much cache space is used and what kind of content is using up that space simply by hovering your mouse over the bar.
iCloud data can also be cached, which can speed things up for users considerably. More info on the Caching service can be found here.
Need a VPN service when you're away from home? Why not set up your own? One option is to set up a VPN router to protect your Internet traffic, and another option is to use macOS Server.
With macOS Server, you can configure a solid VPN service that will allow you to connect to your home network from anywhere in the world. With the Server, you can access your files or just make sure all Internet traffic flows through the encrypted connection. Configuring the VPN service is not as straightforward as the Time Machine or Caching services, so this will be covered in a future article.
macOS Server is very versatile, so take a look around and see what other services are offered; some might be great for your environment or give you ideas you had not considered before!
Have something to say about this story? Share your comments below!