News for hackers. Stuff that matters.
Re:LibrePhotos: A Self-Hosted Google Photos Alternative by tauntz on Thursday December 31, 2020 @04:38AM (#25591143)
What's the current recommended way of getting your photos out from Google Photos? And I don't mean manually via Google Takeout (that's a dumpster fire and doesn't work most of the time) but I'd like to automate it for periodic backups. You never know when you Google Account might be killed, taking tens of years of pictures and videos with it :(
Re:LibrePhotos: A Self-Hosted Google Photos Alternative by daehee on Thursday December 31, 2020 @10:54AM (#25593769)
Check out this google photos export tool by the perkeep team: https://github.com/perkeep/gphotos-cdp

> This program uses the Chrome DevTools Protocol to drive a Chrome session that downloads your photos stored in Google Photos. By default, it starts at the most ancient item in the library, and progresses towards the most recent. It can be run incrementally, as it keeps track of the last item that was downloaded. It only works with the main library for now, i.e. it does not support the photos moved to Archive, or albums. For each downloaded photo, an external program can be run on it (with the -run flag) right after it is downloaded to e.g. upload it somewhere else.

Re:LibrePhotos: A Self-Hosted Google Photos Alternative by olliebennett on Thursday December 31, 2020 @05:14AM (#25591347)
Be aware that Google Photos' API does not provide geolocation (lat/long) information from the photos; it's wiped.

AFAIK The only way to get the photos with all metadata intact is to use Google Takeout.

Re:LibrePhotos: A Self-Hosted Google Photos Alternative by emilburzo on Thursday December 31, 2020 @05:03AM (#25591282)
I use rclone[1] to do a daily local backup, just in case.

[1] https://rclone.org/

Re:LibrePhotos: A Self-Hosted Google Photos Alternative by nerbert on Thursday December 31, 2020 @06:10AM (#25591630)
What’s wrong with google takeout? I’ve transferred everything to iCloud without any issue.
Re:LibrePhotos: A Self-Hosted Google Photos Alternative by tauntz on Thursday December 31, 2020 @09:32AM (#25592960)
I'd say about 90% of the time I get the dreaded "However, we were unable to create a copy of all your files" message in the takeout email.

After multiple retries, it eventually succeeds but it's a manual process and using this for regular backups is extremely time consuming and frustrating.

Going through the process just once is definitely doable though :)

Re:LibrePhotos: A Self-Hosted Google Photos Alternative by aheckler on Friday January 01, 2021 @05:10AM (#25602176)
Can I ask how exactly you went about doing that? I would like to try iCloud for photos, but how did you manage to combine the image files Takeout gives to you with the metadata in the JSON files?
Re:LibrePhotos: A Self-Hosted Google Photos Alternative by wscott on Thursday December 31, 2020 @05:31AM (#25591440)
I use gphotos-sync: https://github.com/gilesknap/gphotos-sync

Run nightly

Re:LibrePhotos: A Self-Hosted Google Photos Alternative by oh_sigh on Thursday December 31, 2020 @04:48AM (#25591197)
Why rely on google photos in the first place? If you are taking photos with android devices, you can backup the device folder containing the photos/videos.

Also, I just tried google checkout, and it took about 30 seconds to schedule a google photos only every-2-months-for-a-year recurring takeout of my data. We'll see if it actually works...if it does, it isn't so bad.

Re:LibrePhotos: A Self-Hosted Google Photos Alternative by CraigJPerry on Thursday December 31, 2020 @05:07AM (#25591306)
There’s a subset of users who click the takeout button, get the message saying we’ll email you in a bit and then... nothing. If you’re affected it’s not possible to get help from Google according to Mike Elgin.

I did a full export (circa 8Gb) around 18 months ago and i have around 1,000 pictures of someone else’s in my archives. I suppose other people have some of my pictures too.

Re:LibrePhotos: A Self-Hosted Google Photos Alternative by iforgotpassword on Thursday December 31, 2020 @05:30AM (#25591432)
With the whole self isolation thing going on currently it's actually nice to see another face again every now and then. :-)
Re:LibrePhotos: A Self-Hosted Google Photos Alternative by blackoil on Thursday December 31, 2020 @05:39AM (#25591503)
Were the photos shared with you? or a security hole leaking private photos of random people??
Re:LibrePhotos: A Self-Hosted Google Photos Alternative by CraigJPerry on Thursday December 31, 2020 @10:37AM (#25593589)
It’s just under 1,000 photos of various landscapes but they’re not landscapes i’ve seen IRL and the smoking gun is the EXIF data shows they were taken on a Canon camera. I’ve only ever had Nikon or Fuji.

There’s a bunch of other small things that initially roused my suspicions that these weren’t my photos:

Whoever took the photos kept all the photos they took, there are sequences of 50+ photos of the exact same thing, I never save the extra shots, i always just choose the one i want to keep and discard the rest at import time.

It’s possible they were shared photos but my gut feeling is no. The photos date from around the time i was a heavy user of google photos, well i was a heavy user of picasa anyway and used gphotos as a backup. I would definitely have spotted these photos if they were in my collection back then.

Re:LibrePhotos: A Self-Hosted Google Photos Alternative by speedgoose on Thursday December 31, 2020 @06:33AM (#25591741)
It's simple to use and cheap. It's like comparing Dropbox and a FTP server.

Also Google Photos has a nice search feature with machine learning behind. I can search things such as "beach name of family member or "classic car" and it works.

Re:LibrePhotos: A Self-Hosted Google Photos Alternative by loloquwowndueo on Thursday December 31, 2020 @07:13AM (#25591953)
It cannot distinguish between two black dogs (different breeds, different sizes) so if I want to filter for pictures of only one of the dogs I’m out of luck.
Re:LibrePhotos: A Self-Hosted Google Photos Alternative by KMnO4 on Thursday December 31, 2020 @08:41AM (#25592573)
Does the service provided in the OP (or any other free service) distinguish between two black dogs?