this post was submitted on 12 Mar 2024
51 points (98.1% liked)

Selfhosted

40382 readers
477 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I'm trying to decide how to import my Google Photos Takeout backup. I see two general ways:

  • Import it by uploading it to Immich (immich-go, etc.)
  • Add it as an External library

Has anyone done it one way or the other? Any recommendation, pros/cons or gotchas?

all 15 comments
sorted by: hot top controversial new old
[–] [email protected] 49 points 8 months ago (5 children)

I recommend using this: https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper

A couple years ago, Google decided that instead of exporting the photos with EXIF data exactly as you've uploaded them, which was the original behavior and how platforms such as OneDrive do it, they are going to completely delete all EXIF from the image and instead also create a .json containing the original data, in a non-standard format. This script is an open and free version of a paid tool that goes through each image, finds the corresponding .json, and puts the EXIF data back on.

If you don't do that, when you reupload these photos into a new service, the date will be reverted to the day you've downloaded them and location data will be missing entirely.

[–] tja 18 points 8 months ago

Very shitty of them

[–] [email protected] 5 points 8 months ago

Yes! I imported 23k media files into a new platform, and the takeout process was such a pain. My destination was built to handle the zipped or unzipped media, but occasionally issues cropped up,like when files spanned archives but the json was on the previous one. That resulted in orphaned files with upload dates instead of date taken.

Ultimately, I think I had the best experience extracting all 123GB and uploading the albums/folders that way.

Would have been SO much easier with an API that allowed cloud to cloud.

[–] [email protected] 3 points 8 months ago

This was the tool I used. It worked great for me.

[–] [email protected] 1 points 8 months ago

Google reminds me more and more of Microsoft of the 90s. That’s exactly the kind of compatibility breaking asinine move MS would do 30 years ago. Sigh…

[–] [email protected] 1 points 8 months ago

I wonder if this is worth doing even if I import with immich-go which seems to combine this data too.

[–] [email protected] 11 points 8 months ago* (last edited 8 months ago) (2 children)

Immich-go is stupid easy.

Just dump all your takeout zips in the same folder as immich-go and run the import. Lmk if you need help.

It ingested 60+ zips with 100gb of photos when I used it.

[–] VeryNiiiice 4 points 8 months ago (1 children)

Does it properly handle takeouts exif data?

[–] [email protected] 3 points 8 months ago
[–] [email protected] 3 points 8 months ago (2 children)

Jumping in to second immich-go, just used it recently. I had no issues other than Google Photos not giving me the data for shared albums (most of mine), which seems to be a Google Takeout issue.

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)

Could you elaborate, what shared albums? Shared with you? Are you referring to this problem?

[–] [email protected] 1 points 8 months ago

To answer my own Q, yes, anything shared by others with you isn't in the takeout backup. You have to go to each such album and do Download All. Then you can import it with immich-go with the correct album name. If you already have that album, it will just add the missing content to it.

[–] [email protected] 3 points 8 months ago

Used immich-go for this too. Had no problems, and the dev is really open to feedback. All the metadata was there (except for labeled persons), and albums were also created correctly. It even inported archived photos into Immich's archive!

[–] [email protected] 2 points 8 months ago

If you import it as external library, Immich will not be able to modify or delete any of the files, but you will see the files just like you see ones uploaded using immich. It is up to you to decide what is better