Top
Best
New

Posted by rcarmo 5 days ago

TIL: Apple Broke Time Machine Again on Tahoe(taoofmac.com)
231 points | 150 comments
tlb 5 days ago|
If you set Time Machine to use encrypted backups, it will create a fake disk that's really a directory tree with a bunch of gigabyte-sized binary chunks. This is safer because it doesn't require the file system to support anything fancy like symlinks or case-insensitive unicode file names. One downside is that restoring to anything other than a Mac is nontrivial.
doawoo 5 days ago||
This 100% - it’s funny how it’s actually more reliable in my experience to use the encrypted sparse bundle. I can sling it over to my NAS no problem. I’ve restored from one and everything was perfectly fine. YMMV of course
crazygringo 5 days ago||
That was my experience at first, but then it gets corrupted somehow and you have to delete it and start over. Happened to me multiple times with RAID 1, so pretty sure it's a software error -- I eventually just gave up.
lmm 5 days ago||
Have you run memtest on the machine in question? That kind of problem sounds like a classic bad RAM symptom.
burnt-resistor 5 days ago||
Unencrypted sparse bundles for TM can also be created for non-TM supported network locations.
hughw 5 days ago||
The bigger question is why does Time Machine continue use a network file system for backups? It's so fragile you can't rely on it. It's gotten better in recent years, possibly due to APFS, but that just means somewhat longer intervals between disasters (wipe out and reinitialize, losing all your backups). A T.M. using a custom protocol to save and restore blocks would fail sometimes too, but not ruin all your existing backups.

edit: I use Arq for daily backups, but T.M. for hourly. When T.M. eventually craters its storage, I have robust dailies in the cloud, so no worries.

PunchyHamster 5 days ago||
> The bigger question is why does Time Machine continue use a network file system for backups?

The problem is them fucking up. Every other popular backup solution that does it does it just fine. And doesn't hide failures silently

crazygringo 5 days ago|||
> The bigger question is why does Time Machine continue use a network file system for backups?

As opposed to what? When you need to be able to back up to a drive on your network?

hughw 3 days ago||
Mounting a file system on a network share tightly couples the client to the server. It’s synchronous and it’s easy to leave the file system in an inconsistent state. Much more robust to build an asynchronous protocol with your own logic as rdbms do. You don’t see rdbms mounting remote file systems do you?
opan 5 days ago||
Outsider perspective here (never used Time Machine), but my first thought is that rsync works amazingly both local and over the network. Can't imagine why it being over the network would be a problem. If it can resume a partial transfer and compare checksums to ensure a match, what's the problem?
wlonkly 4 days ago||
It's backups, not sync, so it needs to support things like incrementals/differentials, deduplication, retention rules, thinning, etc.
maxkfranz 5 days ago||
I'm a big fan of SuperDuper [1]. I use it for daily differential backups to a secondary SSD. I don't get the hourly backups that TimeMachine has, but my SuperDuper backups are directly bootable in the event that my system disk dies.

I'm sure you could do the same with cron and rsync, but I can't be bothered.

[1] https://shirt-pocket.com/SuperDuper/SuperDuperDescription.ht...

ndegruchy 5 days ago||
This has been on my to-buy list for a while. Something I should probably do, because while recovery from the built-in recovery interface is fine, having an offline bootable backup is also great. It also doesn't interfere with having Time Machine be the "standard" backup.

I could probably setup a calendar appointment to dump a bootable image once a month to an external disk.

maxkfranz 5 days ago||
You can just use the UI to make whatever schedule you want (monthly, daily, every Monday, etc.). I think it edits your crontab behind the scenes. I set it to daily, but you could set whatever you want. You can even have multiple schedule entries, similar to cron.

Edit: Yeah, the bootable backups have saved me more than once. It's great to just be able to keep working even when the system disk is kaput.

Marsymars 5 days ago||
> I don't get the hourly backups that TimeMachine has, but my SuperDuper backups are directly bootable in the event that my system disk dies.

Well as long as Apple hasn’t broken that with an update: https://www.shirtpocket.com/blog/index.php/shadedgrey/youre_...

btreesOfSpring 5 days ago||
I have been trying to trouble shoot a Time Machine issue since upgrading to Tahoe. It is usb backup. So far none of the most recent stated fixes work.

An initial backup on newly formatted disk will run but very slowly. Perhaps reaching 100% but it never finishes. At some point the percentage will change and the backup will stay stuck at somewhere near 10%. Cancel backup and run it again. Gets to ~10% and stays stuck. Multiple drives. Re-fs'ed. Boot into safe mode. Networking off. Etc, etc. etc. The TimeMachineMechanic app doesn't have any revealing feedback. I can run a full tar backup to the same disks.

No idea.

I haven't tried backing up to a network share but really, it shouldn't be this difficult.

Clearly someone didn't test a bunch of edge cases when pushing this one out.

raattgift 4 days ago|
In a terminal window run

  log stream --predicate 'subsystem == "com.apple.TimeMachine" AND NOT (category == "LogLimits" OR category == "VolumeViewModel")' --info --debug --style compact
and then start a backup (either from the menu bar icon, the system settings panel, or "tmutil startbackup"). This will tell you what Time Machine is doing, and might give you some useful information.

  man log
where you can use "show" and a lookback period instead of "stream".

  man tmutil
is pretty decent documentation, although the glossary secdtion ("BACKUP STRUCTURE") is important to understand if reading the whole man page.

Some things to look out for are what filesystem your newly formatted external volume is (APFS might not be great for a single spinny disk, for example), and what version of USB is in use (friends don't let friends do USB 2 mass storage). With inexpensive external media it's often a cable or power supply issue, even if (as in your case) tar appears to work. Have you checked that the contents of the tar file are correct? Also, tar files tend to be streamed out to sequential LBAs, where smaller files and (in Time Machine backups) holes might lead to a different write pattern that the drive might not like. Maybe test with rsync -c instead of tar?

codeulike 5 days ago||
Time Machine is held in high regard for some reason (maybe the fancy scrolling interface when you look for files to restore?) but it's not really useable. It pretends that backups-over-the-network are a possibility but its completely unstable over the network and invariably decides the backup is corrupt after a few months and then tells you you have to start from scratch.
Aurornis 5 days ago||
> Time Machine is held in high regard for some reason (maybe the fancy scrolling interface when you look for files to restore?)

There was a time in the past when Time Machine was reliable and well-designed. It made backups into a nice experience that were accessible to everyone.

If your only experience with Time Machine is the modern incarnation with all of the flaws and seemingly missing QA process then I understand how its popularity would be confusing.

josephg 5 days ago|||
That tells a story. I bet its something like this:

1. There was a small, smart team which made time machine in the first place. They did good work. Building time machine required some pretty deep integrations into macos that not many people understood.

2. Years passed. The people who built time machine moved to greener pastures. At google and samsung you mostly get promoted for releasing new products. Not maintaining old ones. I wouldn't be surprised if its the same at apple. Over time, the people who made time machine left and were either replaced by more junior developers. Or weren't really replaced at all.

3. Random changes in the kernel break time machine regularly. Nobody is in charge of noticing breakage, or fixing it. Most people who care (and have the knowledge to fix it) have moved on.

I find things like this so odd from an organisational management perspective. Do companies not realise that features like time machine would have an ongoing maintenance cost? That someone would need to check that time machine still works with every release? Or is it just vibe based management out there? "I guess nobody works on that, and we don't test it. Oops whatever."

nine_k 5 days ago||
Every new manager who inherits a reputable product (anything, from software to food) is tempted by the idea of cutting costs drastically to the detriment of the product quality. While the product would be coasting on its prior reputation, the manager would get promoted for saving oodles of money, and promoted away from that product, or leave the company altogether. The one who comes next would take the blame, and handle the consequences.

I assume many managers resist this temptation, but someone yields with regularity.

Eric_WVGG 5 days ago||||
> modern incarnation with all of the flaws and seemingly missing QA process

… so I’ve been kind of biting my tongue on this thread because “works fine for me” is not interesting or helpful, but: it’s been working great for me since it was introduced in 2007.

Periodically a disk will get flaky or go bad, maybe once every 2-3 years. I’ll erase the drive and start over. I always have two backups running so there’s never danger of being completely unprotected.

I don't doubt the people having Time Machine problems, but they usually seem to involve some unusual setup like a NAS. But for every one person who has a problem and speaks up, I suspect there are hundreds or thousands who are just humming along without a hitch.

(and yeah, I do pray for a "Snow Tahoe," "oops all bug-fixes" MacOS release, and I’d love to hear that there’s a team working not just to make Time Machine more resilient, but to expand it to do local backups of iPhones and iPads… a guy can dream)

Aurornis 4 days ago||
This

> … so I’ve been kind of biting my tongue on this thread because “works fine for me” is not interesting or helpful, but: it’s been working great for me since it was introduced in 2007.

Is immediately contradicted by this

> Periodically a disk will get flaky or go bad, maybe once every 2-3 years. I’ll erase the drive and start over. I always have two backups running so there’s never danger of being completely unprotected.

Having to periodically erase the drive and start over is one of the problems we’re talking about.

In my experience, restoring files gets flakey before it reaches the point of having obvious backup failures so you may be experience more problems than you know about if this is happening periodically.

Derbasti 5 days ago|||
Exactly my experience. I've used TimeMachine with external USB drives, Apple's own TimeCapsule router (am I remembering that name correctly?), and various NASes. None of them could maintain a stable backup for a year. And you know, a backup that can't back up, isn't a backup.

I have since implemented a borg backup. This also failed at one point, but at least its five-year record remained readable, so no data was lost. Now I'm using restic.

fragmede 4 days ago||
Arq for me.
al_borland 5 days ago|||
I think because it is probably one of the only backup solutions (or first) that went after the average user to get them to actually backup. Plug a USB drive in, click yes to the prompt, and they’re done.

It has its flaws, but any system is better than no system at all, which is usually the trade off that would be made.

Wowfunhappy 5 days ago|||
> maybe the fancy scrolling interface when you look for files to restore?

That's why I like it. Some of the visual flare is of course superfluous, but the timeline really is nice.

It's like git except it works without me having to think about it. (To be clear, git is much better, but I have to think about it.)

ezfe 5 days ago|||
When backing up to a local system it is extremely useable and reliable. It creates separate snapshot volumes for each backup and can be navigated in the Finder interface or using the fancy space interface.

Also, backups over the network are possible and have worked well for me for a few years.

atombender 5 days ago||
It's reliable except when it's not. I'm using Mojave, and currently fighting a bug where a local snapshot gets stuck. When I list the local snapshots, I see the old one, then a gap of several days, and then additional snapshots.

From what I can tell, this snapshot is preventing space reclamation. The last month or so, I've constantly run out of disk space even when not doing anything special. As in actually run out of disk space — apps start to become unresponsive or crash, and I get warning boxes about low disk space. When you run low, the OS is supposed to reclaim the space used by snapshots, but I guess it doesn't happen,

The stuck snapshot can't be deleted with tmutil. I get a generic "failed to delete" error. The snapshot is actually mounted by the backup daemon, but unmount also fails. The only solution I've found is to reboot. Then I get 200-300GB back and the cycle starts again, with snapshots getting stuck again.

I'm considering updating to Tahoe just because there's a chance they fixed it in that release.

ezfe 5 days ago|||
Mojave is 7 years old so I think its safe to say you can't generalize
atombender 5 days ago||
I meant Sequoia, but I can't edit my comment anymore. I've completely lost track of the OS releases after they stopped emphasizing the number.
ezfe 4 days ago||
Ah, gotcha - never mind then.
jtbayly 5 days ago|||
I doubt it. Good luck.

I think I have the same problem on Tahoe.

dijit 5 days ago|||
idk, works for me.

On the extremely rare occasion I have to replace my laptop, I literally just point it to the backup on the network with the cable plugged in, and an hour later it's "my laptop" again.

crazygringo 5 days ago|||
Agreed, exactly matches my experience over SMB. It works at first, then eventually refuses to work until you delete it start again from scratch. Eventually I just gave up.
re5i5tor 5 days ago||
Exactly right.
garyrob 5 days ago|||
With external SSDs plugged directly into a USB port, it's worked 100% fine for me and saved my butt a few times.

But, I haven't installed Tahoe. I may skip it entirely, hoping that they do a Snow Leopard-like clean-up-the-mess release in September.

thedanbob 5 days ago||
I finally got fed up with TM and switched to borg via Vorta. So much more reliable. A couple of times I've gotten error messages when I went off network while it was trying to do a backup, but each time the repo was fine.
pier25 5 days ago||
macOS yearly updates haven't been great since they started but Tahoe is a new low.

Apple really needs to turn things around.

compiler-devel 5 days ago|
Sometime around High Sierra, I changed my habit such that I don't upgrade to the next major release until August. By then, it's been patched a half dozen times or so. Yes, I'm basically a year behind all the time, but I don't need the new features.
hoherd 4 days ago|||
Tahoe has made it so I will return to this upgrade strategy. I regret upgrading to Tahoe almost every day. If nothing else, the music apps on macOS and iOS cause me almost daily headaches.
pier25 5 days ago|||
Since Yosemite (which was really bad for me) I typically stay with a major version 2-3 years.

Yosemite > El Capitan > High Sierra > Big Sur > Ventura > Sequoia

I won't be installing Tahoe for the time being. Hoping macOS 27 will be an improvement.

compiler-devel 4 days ago||
Are you running Apple Silicon now? I’m still on an intel machine with Sequoia. I doubt that I’ll upgrade it to Tahoe this fall and stick with it until Sequoia stops receiving security updates. Then I’ll have to upgrade hardware I guess… hoping have things sorted by then.
lemonwaterlime 5 days ago||
I had so many corrupted Time Machine backups over the years that I eventually just wrote an incremental backup script in rsync. I’m much happier.

Something like [1] can be inspiration.

[1]: https://github.com/perfacilis/backup

hoherd 4 days ago|
I had the exact same experience and did the exact same thing. I also moved my backups from HFS+ to zfs, and got more serious about my backup strategy.

If I had to start over I'd go with rustic-rs or borg backup.

FWIW I do still use `tmutil localsnapshot` for local macOS snapshots where you can use the Time Machine UI to restore files.

hedgehog 5 days ago||
If you set your Apple device to beta updates for the previous release you can suppress the constant prompts to upgrade. Reduces the chance of accidentally upgrading.
doawoo 5 days ago||
Be warned if you actually install beta software and take your device to the Apple Store they will not replace parts because of the chance the diagnostic tools aren’t compatible- this bit me trying to get my iPhone battery replaced
ashton314 5 days ago|||
The hedgehog knows one great thing. This is it. Thank you.
lisper 5 days ago||
How do you do that?
hedgehog 5 days ago||
Settings -> General -> Software Update -> Beta Updates

It's the same on macOS and iOS, pick "macOS Sequoia Public Beta" or the corresponding release for your device. Apple still pushes security updates for those releases, and I haven't heard of any problems with the kind of minor updates that ship late in a major release's lifecycle, so I think the risk of running this way is low. This kicks the can a year or two down the road, at which point hopefully there are better workarounds.

lisper 5 days ago||
Thanks!
roadbuster 5 days ago||
Article title is a bit dramatic. The summary seems to be: for the 5% of users who back-up to a network share (rather than direct-attached storage like a USB hard drive enclosure), Apple's default SMB configs on Tahoe are strict and won't work out of the box with many common NAS solutions.

Apple should document such changes, but, looking at the post title, you'd think they were silently corrupting data during restoration.

PunchyHamster 5 days ago||
> Article title is a bit dramatic. The summary seems to be: for the 5% of users who back-up to a network share (rather than direct-attached storage like a USB hard drive enclosure), Apple's default SMB configs on Tahoe are strict and won't work out of the box with many common NAS solutions.

I'd argue that's not even the main problem. If it just broke and gave you error on each run ("this SMB share is incompatible") it wouldn't be an issue

hughw 5 days ago||
Is that 5% number real or your estimate?
roadbuster 5 days ago|||
It's a hand-waved estimate, but let's recognize that Apple actively plans on killing support for NAS targets for Time Machine:

> Time Machine backup to NAS devices over Apple Filing Protocol (AFP) is not recommended and won't be supported in a future version of macOS.

https://support.apple.com/en-us/102423

BugsJustFindMe 5 days ago|||
AFP is what's deprecated, not Time Machine over networks. They just want you to use SMB.
roadbuster 5 days ago||
Acknowledged. Thanks for pointing that out.
hughw 5 days ago|||
But that's AFP, not SMB. SMB is the future. [edit, that sounds sad].
tonyedgecombe 5 days ago|||
Yeah, it sounds a bit high to me.
fragmede 4 days ago||
People with laptops that don't want to be attached to a dongle for storage when there's the Internet sounds like < 5% to you?
tonyedgecombe 4 days ago||
The original post was about people who backup to a local server, not over the internet.
evilmonkey19 5 days ago|
Just for the record: I wanted to see your content, but I couldn't because in Spain when there's football they block most websites to "avoid illegal football IP lists"... LaLiga can block anything they want without any restriction, even you website which I doubt about it. I can barely navigate... I will read it later tomorrow. This why you might see 0 traffic from Spain.
ebbi 5 days ago|
I read about this a few months back (I think someone posted a link to a Reddit discussion about it). It's so bizarre!
More comments...