I use resilio sync across my work and personal phones and I use it to backup my phones to my nas. No need to turn it on/off, it’s accessible only via secret key or shared link and it’s encrypted.
I know sync isn’t foss but it’s the best one I’ve found over the years and it just works.
Maybe YOU can’t.