I have a two-pronged approach. I use Google photos as is with their normal compression for searchability and casual browsing of photos, but I also have Nextcloud running on my own server where my photos are all backed up in full quality. Both uploads happen automatically so I don't have to think about it