I use a docker build of this on my Synology NAS: https://github.com/gilesknap/gphotos-sync
Then I have a task set to start the docker container up at 2am every morning, which then automatically backs up any new images, then the docker container stops.
Works really well.