Comment by Marsymars
24 days ago
Well, heck.
I posted ~7 months ago about my decision to use HFS+ for backups, and had a couple skeptical replies. (https://news.ycombinator.com/item?id=47317123)
I guess I misjudged Apple's commitment to support HFS+ long-term.
It now seems like there's no real native way of doing encrypted backups to HDDs on macOS (APFS not really recommended for HDDs)... the options are either encrypted Time Machine to a network location, or a third-party tool.
Guess I'll figure out SuperDuper or Carbon Copy.
> I guess I misjudged Apple's commitment to support HFS+ long-term.
One thing I have learned with (current) Apple is to never trust their commitment to support something they're not using. And even be wary for stuff they are using. (in my mind, a core technical difference between Microsoft & Apple is that MS will bend over backwards for backwards compatibility, whereas Apple will drop it as soon as they can, and sometimes sooner still)
They replaced their use of HFS+ with APFS in 2017, so it's had a good run.
I have heard from ex-CoreOS (the Apple org) colleagues is that the organization is run intentionally lean, because the leadership believes that people do their best work under pressure. This leads, among other things, to aggressive YAGNI pruning.
sorry for the non-substantive nit. because we all know what you meant.
YAGNI is about not doing work in advance. it's very confusing to say YAGNI and pruning in the same breath. it's also confusing to call this aggressive since it's been 10 years.
i wouldn't call it dead code pruning either, since the code in question here was actually reachable and used. maybe, unmaintained code pruning?
2 replies →
Rosetta..
Is dead in next year's release (apart from a handful of exceptions).
I don't think APFS was designed or tuned with HDDs in mind, but it will work just fine. Especially for backups where random read/write performance is not important.
I would not recommend using an APFS formatted HDD for Time Machine. It's painfully slow. With my Samsung T7 the hourly Time Machine backups are usually finished after a couple of minutes. Using my older HDD they can easily take 20 minutes to half an hour.
While time machine used to be snappy on HDD it was build out of one of the weirdest little hacks hard links in folders. The new Time Machine might front a similar front end but under the hood its a different beast. You're having to mount snapshots as you move through time.
are you sure that is because of apfs? hdds are usually much slower, no?
2 replies →
This might be a blessing in disguise for you. The silent data rot of HFS+ is what pushed me to ZFS. I would never go back to HFS+.
Ok I may be an idiot, but I just have a permanently attached external disk that does Time Machine, what am I missing out on? Why network location? Or are you backing up massive amounts of data? (for me it’s just 2TB)
Oh right — I could do a local HFS+ non-encrypted disk with encrypted Time Machine (I assume) — that just slipped my mind.
This is what I do. It's the happy path and works well.
It seems most of the problems with Time Machine happen when you try and run it over SMB. It's not that surprising when you realise what it is doing under that scenario. It creates a virtual disk on the remote and then formats it with APFS. You don't need much to go wrong to corrupt the backup in this scenario.
It's mainly for multiple people in a household to back up to one location, especially if some have laptops that are often not on desks. Those Airport APs used to also let you attach disks for this. You could even do it over a VPN.
I so miss these Airport APs, I really don’t understand why the product line was cancelled, it was perfect.
1 reply →
I switched to Borg on Linux server from local attached Time Machine disk after once I went to a long trip and forgot the disk at home.
Wait, you can do encrypted backup to a network location but not to HFS+? What if the network location is just your own Mac?
Can you use OpenZFS?
https://www.openzfsonosx.org/
MacOS is only Posix like, and does a lot of weird nonstandard things in the background regarding mounting drives/images.
There are restrictions on where things can run, what can run, and what is accessible to the process.
SSHFS is slow, but at least can mount windows/linux/android systems over VPN without issues. Look at what is needed to bring up SSHFS or NTFS support, and you should have a better idea of Apples walled garden policies.
Apple makes information appliances, and not general-purpose computers. Some may disagree, but they usually choose an exception use-case rather than the normal experience of users. =3
https://rclone.org/install/
I could, but I don't want to make my wife figure that out if I get hit by a bus.
I had to cmd+f "FUSE" all over the place first, thank goodness 0 matches
They are working on a userspace port, since newer versions of macOS don't/won't allow third-party kernel code ("kexts"). But it's based on Apple's newer FSKit API directly, not macFUSE or FUSE-T.
1 reply →
> 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.
5 replies →
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
>It now seems like there's no real native way of doing encrypted backups to HDDs on macOS
Be happy they let you backup to HDDs at all. :) They don't sell HDDs, so I'm half amazed they still work whatsoever.
Yep, never trust Apple for something they don't rely on to live. For example, don't expect the ecosystem with the Homepod with screen can last for too long. The support will drop and only leave security response if nobody is purchasing.
Well I'm in your boat. Encrypted sparse bundle disk image on an HFS+ volume seems like it should work, if I'm not missing something. You only need CoreStorage for encrypted HFS+.
ZFS