MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
time
Recherche

How to set up networked Time Machine backups for a household

vendredi 16 février 2024, 10:00 , par Mac 911
Macworld

Apple’s Time Capsule base station put a Wi-Fi access point, a network router, and a backup drive that tied into Time Machine all in a single box. That was its downfall, too: if the drive failed or became corrupted, you had relatively few options. Apple stopped selling Time Capsule devices in 2018, and many readers still miss them.

You can simulate a Time Capsule if you have a desktop Mac that’s always on and has a robust network connection. A few asides:

You can use network-attached storage (NAS), but not all NAS systems support Time Machine. I’ve also heard many stories of inconsistent performance.

Your computer acting as a networked Time Machine destination doesn’t have to be on all the time. But it does mean that computer, when it is on, will spend more of its active time performing backups, catching up for when it’s turned off.

A Mac laptop can work perfectly well as a networked Time Machine destination, but if you take it somewhere else, put it to sleep, or unplug it from battery power, backups cannot occur.

A robust network connection is advised–that is, connect that machine via ethernet to your network rather than rely on Wi-Fi. If you use the latter, Wi-Fi works fine, but it will potentially congest your network because of the high intermittent value of backup data.

Time Machine is robust enough that if it can’t back up right away, macOS caches files that need to be backed up if they’re modified between backup sessions. Then, it performs an automatic catchup, using the cached backups on an individual Mac to transfer those to Time Machine.

Here’s how you get started with networking Time Machine backups; I’ll walk through these points after this overview:

Get a sufficiently large drive to store the entire potential contents of all devices on your network backing up to it, plus 50 to 100 percent more capacity to store archives.

Format that drive as APFS.

Partition the drive if you want to reserve specific storage for each Mac instead of creating a large pool for all Macs on the network.

Using the Sharing settings to enable Time Machine on the drive.

Connect from the other Macs to set up Time Machine.

Get a big drive and format it as APFS

If you add up all the storage required on your network and add 50 to 100 percent on top, and it comes out below 2TB, you might consider an SSD for speed and quiet. The drive may be running some reasonable percentage of the time, and if you or someone else is working next to the computer that’s the Time Machine destination, you’ll hear an hard drive (HDD) chugging away.

That said, if your total needs are over 2TB, 4TB drives remain quite expensive (more than twice the cost of 2TB) and you either want to purchase multiple 2TB drives or switch to an HDD. You can get extremely high-capacity hard drives (12TB or larger) for a song these days. (I opted to get a two-drive system and use RAID mirroring so that I would have a second backup: each bit of backup is written to both drives in case one fails. You can find RAID systems from many companies, although they add to your cost.)

APFS has been the preferred Time Machine backup drive format since fall 2021 and I recommend using it. Follow Apple’s instructions to format your drive as APFS. This is a destructive process, and you will lose any data on the drive, so copy it off and ensure you have a perfect copy before erasing in that case.

Partition the drive

You have the option with Time Machine to either use one big pool of storage for everyone and Time Machine creates individual backup destinations for each Mac, or you can partition the drive and have each computer on the network target a specific partition. I’ve seen problems (as have forum posters and readers) with the pooled method: Time Machine should automatically purge old snapshots as storage in the pooled storage becomes full, but it doesn’t always seem to recognize that it has to take action.

Follow Apple’s instructions on APFS partitioning. Create a single container and then partition that container for the number you need.

Each partition dedicated to a specific Mac should use the 50 to 100 percent guideline above for setting its size.

Set up Sharing for Time Machine

I’ve found that using the process Apple describes doesn’t always work reliably, where sharing these volumes so anyone can read and write to them enables Time Machine. Instead, I do the following:

Create a new user on the Mac offering Time Machine backups. You can follow the instructions in this article. The user does not need Administrator privileges. I named this user “Network Time Machine” for clarity on my Mac.

In macOS Ventura or later, go to  > System Settings > General > Sharing and click the i (info) icon to the right of the File Sharing item.

Drag each volume into the Share Folders list. In turn, select each volume, click the + button at the bottom of the Users lists, and add your networked user. Select Read & Write from the popup menu to the right of that user’s name in the list.

Also, for each volume Control-click/right-click the volume’s name in the Shared Folders list and choose Advanced Options. Enable “Share as a Time Machine backup destination.” You can set a maximum limit for backups, but it’s not necessary if you’re using the entire volume for Time Machine.

Click Done.

After adding volumes, Control-click/right-click to access Advanced Options.Foundry

Use Advanced Options to enable Time Machine for the volume and to set a limit, if necessary.Foundry

Now, from each Mac:

In the Finder, choose Go > Network, find the Mac, and log in as the networked Time Machine user. (This shouldn’t be necessary, but I find logging in first and storing the password in the Keychain when prompted helps prevent Time Machine backup problems later.)

Go to  > System Settings > General > Time Machine.

Click the + sign to add a volume. The shared volume (pooled or specific to your Mac) should appear in this list. Select it and click Set Up Disk.

Next, you may be prompted to log into a user account, even if you’ve already connected to that account in the Finder or with Time Machine.

The networked volume or volumes appears as an option on other Macs, noting after “on” which Mac the volume is shared from.Foundry

You can optionally use this process to set up encryption for the backup in the final step, which means that the key you choose is the only way to unlock it later. If you choose to encrypt your networked Time Machine backup, make sure you store the key in a password manager. There’s no other way to unlock the backup, as the password is unrecoverable, even from the Mac that’s performing the backup to a connected drive.

This Mac 911 article is in response to a question submitted by Macworld reader Anton.

Ask Mac 911

We’ve compiled a list of the questions we get asked most frequently, along with answers and links to columns: read our super FAQ to see if your question is covered. If not, we’re always looking for new problems to solve! Email yours to mac911@macworld.com, including screen captures as appropriate and whether you want your full name used. Not every question will be answered, we don’t reply to email, and we cannot provide direct troubleshooting advice.

MacOS
https://www.macworld.com/article/2226221/how-to-set-up-networked-time-machine-backups-for-a-househol...

Voir aussi

News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Date Actuelle
sam. 27 avril - 08:07 CEST