Self-hosted photo and video backups directly from your mobile phone
I prefer SyncThing on both mobile and desktop devices. It's open source and mature, the server only makes devices findable between each other. It allows 1 or 2 way sync. And it has advanced settings for keeping removed files (e.g. trashbin that cleans anything older than X days.)