I use Resilio[1] to sync my laptop, phone (on an SDCard) and Scaleway VPS, this works really great because i have my files at all times on 3 systems and there is a very low chance they will all fail at the same time. My photos get uploaded instantly from the phone and I can then sort them from the laptop.
And then I use Cloudberry to backup to BackBlaze B2 to make sure that if anything goes wrong with my files and it gets synced across the system I can still recover them.
The whole setup costs me probably less than 3€ a month(2.49 for the VPS and a handful of cents for the B2) and gives me the same functionality I was getting from just using Dropbox for 12€.
I can also throw a few more services on the VPS to enhance file functionality at no cost, which I would not be able to do any other way.