Comment by lakeviewterrace
24 days ago
> encrypted Time Machine to a network location
this has a bonus feature where it will slowly corrupt itself over time and offer to start a completely new backup instead.
24 days ago
> encrypted Time Machine to a network location
this has a bonus feature where it will slowly corrupt itself over time and offer to start a completely new backup instead.
That would happen around once a year when I used the 2013 AirPort Time Capsule.
It seemed to stop killing itself when I moved to a ZFS backed samba share.
Funnily enough I also kept snapshots enabled because I was expecting TM to bork itself eventually, so I could always rollback to a working state but I don’t remember needing to use that.
Eh, mine was always on zfs first on FreeNAS then Ubuntu and it didn't seem to help.
The only thing that definitely made it worse was smb over openvpn. It'd corrupt itself every couple months instead of once or twice a year.
I also had a recurring corruption issue using a Windows Server file share.
Before MacOS 27, I was always able to remove the Time Machine destination, replace the corrupted sparse bundle with a fresh empty one, and reconfigure that as the new TM destination. I even made a script for this, so I didn’t have to figure out the terminal commands every time.
Unfortunately the script doesn’t work anymore; it throws ‘error 25’ on my MacOS 27.
What’s weirdest is that, before the corruption, TM backup and restore used to work fine on my MacOS 27. Seemingly the backup functionality works as normal, but setting the TM destination was broken.
What is the issue exactly, your network drops entirely and the sparse bundle disk image gets into some inconsistent state? Cause SMB is definitely not aware of the stripes you're writing for that, and partial file writes are possible too. But I'm a bit surprised if these disk images Apple intentionally chose for networked TM backups don't have some kind of failsafe for this, either at the block layer or the APFS layer.
And personally I've never had networked backups get corrupted, dunno why.
1 reply →
Was that before or after they increased the sparesebundle band size and switched to APFS?
I suppose HFS+ backups were more finicky over the network as well.
1 reply →
I backup to TrueNAS which configures Samba/ZFS to take a snapshot before each backup. If TM decides to corrupt a backup, I can revert to a snapshot. I've only ever had to do this once in years of operation with several Macs backing up (each to their own share).
Sometimes it's pretty quick.
to go forward, you must backup