Comment by eloisius
I don’t think you have to go that far backward. You can get a QNAP or Synology NAS, a storage VPS and use syncthing. I don’t even have the NAS yet, just a Pi with an external drive and I’ve gotten pretty far.
The part I haven’t been able to crack is syncing the Documents folder on my iPhone. All the syncthing apps for iOS are abysmal because there’s no real background sync. You can add a SMB share in the Files app, but that doesn’t get you offline access.