I don't know how new this is, but #LineageOS 18.1 includes an encrypted backup feature called SpeedVault that allows to select a #Nextcloud account as a target.
Backing up right now: I will then try a full OS reinstall and see if I can restore.
Instance perso. Principalement en français.
Personal instance, mainly in French.
Linux, OSS, Santé Mentale, 3615 MaVie.