How do you sync a copy to your backup device? My understanding is that it's no longer to programmatically grab the original images, only compressed images are available via the API.
Then I run rclone sync:
rclone sync --dry-run gphotos:media/by-year /local/storage/path
Then if I delete some pictures from Google Photos, the same sync command will delete them from my local backup.