Backing up Google Photos

How I backup my Google Photos, at full image quality, preserving GPS and timestamps, deduplicating identical images to save disk space.