Learn the advanced features of Time Machine. Explore the command-line interface of Apple's approved and included data backup and restore utility. Sean shows you several useful tips to help you to take full advantage of Time Machine as an administrator. Learn the best way to communicate with your users about backup.
- [Teacher] It's important to start backing up the data on client computers as soon as possible. Right after initial setup is a great time for a full backup to start because the least amount of data sits there on that computer and, as data is added over time, those backups can increase in size, but that first full backup can take place while there's not a lot of data there, making it take a lot less time to complete. New macOS Sierra, we have the ability to back up the Time Machine into an SMB sharepoint.
I'm going to show you how to do that, and I'm also going to kick off a backup to a local backup disk. Our local backup disk is a USB 3 connected bus-powered drive. Here, we've named it TM_Backup, and we're going to use that as well as an SMB file share set up on a macOS server, running server 5.2. That's just an example, it could also be a Windows file server, no problem at all. But it's neat that SMB is now supported for Time Machine backup. So let's look at how we do that. We go to the Apple.
We pull down to System Preferences, and that brings up our System Preferences panel here. We go to Time Machine down at the bottom, and this is how it looks whenever you've never set it up before. This is for local configuration, of course. If you're setting this up via a mobile device management solution, you could have this all set up for the user ahead of time, and we'll talk about how to do that later. But, for now, let's just look at how you'll do this locally. We're going to select the backup disk, and the backup disk that is local, of course, shows up right here. We just select it, we click use disk.
If we want to encrypt our backups, we can do so here. If you are concerned about security, and you're going to be enabling FileVault 2 on the client system, it makes a lot of sense to also encrypt their backups, so just be aware of that. But for the sake of speed right now, we're going to click Use Disk here. Okay, that will set that backup disk up. Now, another nifty thing we can do is simultaneously select disk, and we can also select the network volume. And you see here, we have a different icon, and it says that it's sitting on the server named ITAdminGuide server, okay? I'm going to select that.
Again, with the opportunity to encrypt the backups, especially important if you're going to be encrypting the disk that you're backing up because, if you don't encrypt your backup, then you're only encrypting the source and not the data at the backup destination, and so you've opened a hole for security exploits there. So, obviously, encrypt all the around if you're going to do it at all. I'm going to click Use Disk. And here, we get the opportunity to either replace the one we've already set up or Use Both. Use Both is really cool because this allows us to have a local backup to a hard drive, where we can do restores really, really quickly, but also have a network-based destination configured.
So I'm going to click Use Both. It asks us to authenticate to the server. You're going to need to use credentials that will work to access the server, so please do use credentials that you already have set up on your file share. When you do, it reaches out. The backup access control entry will authorize that user, and it will be able to mount, and when it does that, it waits for both of these first backups to complete. I wanted to do this early on in the course because, as we do this later on in movies as we go further into this course, we'll be interacting with these backups.
And since it does take a while for them to complete, I wanted you to get an opportunity to configure yours along with me configuring mine as early in the course as possible. So that's how you configure Time Machine to back up to a local destination and to a network destination. So, if you're configured to go to those destinations, what are you backing up? Under Options, you simply click there, and this pulls down a sheet. This sheet allows us to exclude items that are on the hard drive from the backup. It might be useful for you to exclude things like your Google Drive or your DropBox, if you wish to do that, because those services are doing backups of your data online, and if you ever delete items from those areas, you can always restore those into your Dropbox from the Dropbox interface online or in Google, you could do the same thing with Google Drive.
There are many options for cloud-based storage, and almost all of them have at least a 30-day window where you can restore data if it's lost. So that does provide you with a certain amount of backup flexibility and restore flexibility, and then, you may not want to or need to back those up here on your local hard drive. So, this is how you would exclude something like this. You just click the Plus button. And if you wanted to exclude the contents of your operating system, you would simply select System and click Exclude. It then allows you to either exclude the system folder only.
If it thinks that you are being explicit, then you would do that. And if you are really saying, hey, you know what, I want to exclude every system file, even the ones that are invisible, I would click Exclude All System Files here. The reason why this is useful is really what you want to back up is all of your user data, and since you're also backing up to a server volume, then potentially, that server file share volume would be shared by a lot of different users if you don't want to use up space that's unnecessary at the back up destination. You would do the exact same thing with your home folder Google Drive or your Dropbox or whatever other folders you might have in your home folder that are up on a cloud somewhere.
All right, so we click Save. That changes that configuration. We've set it to back up automatically. All we have to do now is now is close the preferences and wait for this to complete.
- Backing up macOS Sierra
- Restoring files
- Managing iCloud
- Working with storage
- Creating Apple File System disk images, containers, and volumes
- Reviewing logs in the console
- Using log commands
- Securing macOS Sierra
- Configuring Sierra via MDM