this post was submitted on 21 Jul 2024
206 points (94.4% liked)

Selfhosted

39080 readers
420 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 1 year ago
MODERATORS
 

Sorry but I can't think of another word for it right now. This is mostly just venting but also if anyone has a better way to do it I wouldn't hate to hear it.

I'm trying to set up a home server for all of our family photos. We're on our way to de-googling, and part of the impetus for the change is that our Google Drive is almost full.We have a few hundred gigs of photos between us. The problem with trying to download your data from Google is that it will only allow you to do so in a reasonable way through Google takeout. First you have to order it. Then you have to wait anywhere from a few hours to a day or two for Google to "prepare" the download. Then you have one week before the takeout "expires." That's one week to the minute from the time of the initial request.

I don't have some kind of fancy California internet, I just have normal home internet and there is just no way to download a 50gig (or 2 gig) file in one go - there are always intrruptions that require restarting the download. But if you try to download the files too many times, Google will give you another error and you have to start over and request a new takeout. Google doesn't let you download the entire archive either, you have to select each file part individually.

I can't tell you how many weeks it's been that I've tried to download all of the files before they expire, or google gives me another error.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 112 points 1 month ago (1 children)

There's no financial incentive for them to make is easy to leave Google. Takeout only exists to comply with regulations (e.g. digital markets act), and as usual, they're doing the bare minimum to not get sued.

[–] [email protected] 11 points 1 month ago* (last edited 1 month ago) (1 children)

Or why is Google Takeout as good as it is? It's got no business being as useful as it is in a profit-maximizing corpo. 😂 It can be way worse while still technically compliant. Or expect Takeout to get worse over time as Google looks into undermaximized profit streams.

[–] [email protected] 25 points 1 month ago* (last edited 1 month ago) (1 children)

Probably because the individual engineers working on Takeout care about doing a good job, even though the higher-ups would prefer something half-assed. I work for a major tech company and I've been in that same situation before, e.g. when I was working on GDPR compliance. I read the GDPR and tried hard to comply with the spirit of the law, but it was abundantly clear everyone above me hadn't read it and only cared about doing the bare minimum.

[–] [email protected] 7 points 1 month ago* (last edited 1 month ago)

Most likely. Plus Takeout appeared way before Google was showing any profit maximization signs and didn't even hold the monopoly position it does hold today.

[–] [email protected] 53 points 1 month ago* (last edited 1 month ago) (4 children)

Honestly I thought you were going to bitch about them separating your metadata from the photos and you then having to remerge them with a special tool to get them to work with any other program.

[–] [email protected] 28 points 1 month ago

omg they WHAT

[–] [email protected] 25 points 1 month ago

I'm not really looking forward to that step either

[–] [email protected] 17 points 1 month ago

Lmao I am both amused and horrified that I had somehow never come across this datapoint before

[–] [email protected] 10 points 1 month ago (4 children)

immich has a great guide to move a takeout from google into immich

load more comments (4 replies)
[–] [email protected] 37 points 1 month ago (3 children)

I know it’s not ideal, but if you can afford it, you could rent a VPS in a cloud provider for a week or two, and do the download from Google Takeout on that, and then use sync or similar to copy the files to your own server.

[–] [email protected] 10 points 1 month ago (2 children)

I don't know how to do any of that but I know it will help to know anyway. I'll look into it. Thanks

[–] [email protected] 11 points 1 month ago

Be completely dumb and install a desktop OS like Ubuntu Desktop. Then remote into it, and use the browser just as normal to download the stuff on it. We'll help you with moving the data off it to your local afterwards. Critically the machine has to have as much storage as needed to store all of your download.

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 28 points 1 month ago* (last edited 1 month ago)

Google takeout is there so they are technically compliant with rules that say you must be able to download your personal data, but they make it so inconvenient to use that practically it's almost impossible to download it. Google photos isn't a backup service so much as a way for Google to hold your photos hostage until you start paying for higher amounts of storage. And by the time you need that storage, Google takeout download has become impractical.

[–] [email protected] 20 points 1 month ago (1 children)

It doesn't have an option to split it?

When I did my Google takeout to delete all my pics from Google photos there was an option to split in like "one zip every 2gb"

[–] [email protected] 10 points 1 month ago (2 children)

The first time I tried it in the two gigabyte blocks. The problem with that is I have to download them one or two at a time. It's not very easy to do over the course of a week on a normal internet connection. Keep in mind, I also have a job.

I got about 50 out of 60 files before the one week timer reset and I had to start all over.

[–] [email protected] 13 points 1 month ago

Apparently you can save it to Google drive then download the Google drive program and make that folder available offline so it downloads it to the computer.

  1. When you setup the Google Takeout export choose Save in a Google Drive folder

  2. Install the Google Drive PC client (Drive for desktop)

  3. It will create a new drive (i.e. G:) in your explorer. Right click on the takeout folder and select "Make available offline". All files in that folder will be downloaded by the Google Drive Desktop in the background, and you will be able to copy to another location, as they will be local files.

[–] [email protected] 10 points 1 month ago (4 children)

You could look into using a download manager. No reason for you to manually start each download in sequence if there's a way to get your computer to automatically start the next as soon as one finishes.

load more comments (4 replies)
[–] [email protected] 16 points 1 month ago* (last edited 1 month ago) (1 children)

I think this is a bit unfair. Most Google Takeout requests are fulfilled in seconds or minutes. Obviously collating 100GB of photos into a zip takes time.

And it's not googles fault you have internet issues: even a fairly modest 20Mbps internet connection can do 50GB in 6h. If you have outages that's on your ISP not Google. As others have said, have it download to a VPS or Dropbox etc then sync it from there. Or call your ISP and tell them to sort your line out, I've had 100℅ uptime on my VDSL copper line for over 2 years.

I was able to use Google Takeout and my relatively modest 50Mbps connection to successfully Takeout 200GB of data in a couple of days.

[–] [email protected] 9 points 1 month ago (2 children)

What download manager did you use? I've tried with whatever's built into Firefox on two different networks and similar results. The downloads freeze every so often and I have to restart them (it picks up where it left off). Sometimes it just won't reconnect, which I'm guessing is a timeout issue with Google, although I really have no idea.

I don't ever have to manage downloads of this size, so sorry if it's an obvious question

[–] [email protected] 6 points 1 month ago (1 children)

Not OP, but I use this download manager. It has been good.

https://www.downthemall.org/

[–] [email protected] 5 points 1 month ago

Definitely misread that as Download The Mall and was quite amused by the name until I checked the link to see more lol

[–] [email protected] 4 points 1 month ago

A download manager I found to work well generally was aria2c. Only really worth it if you are on linux but it is simple yet powerful.

[–] [email protected] 16 points 1 month ago (1 children)

Google takeout is the best gdpr compliant platform of all the big tech giants. Amazon for example lets you wait until the very last day they legally can.

Also they do minimal processing like with the metadata (as others commented) as it is probably how they internally store it and that's what they need to deliver. The simple fact that you can select what you want to request and not having to download everything about you makes it good in my eyes.

I actually see good faith compliance with the gdpr in the Plattform

load more comments (1 replies)
[–] [email protected] 15 points 1 month ago (1 children)

Not sure if somebody mentioned, but you can export to one drive. So you can get a 1TB account for a free trial or for a single month and export everything there as simple files, no large zips. Then with the app download to the computer and then cancel one drive.

Pretend to be in California/EU and then ask full removal of all your data on both Microsoft and google

[–] [email protected] 3 points 1 month ago

This route may be the answer. I didn't have success so far in setting up a download manager that offered any real improvements over the browser. I wanted to avoid my photos being on two corporate services, but as you say, in theory everything is delete-able.

[–] [email protected] 14 points 1 month ago

Because Google don’t want you to export your photos. They want you to depend on them 100%.

[–] [email protected] 10 points 1 month ago (4 children)

I just have normal home internet and there is just no way to download a 50gig (or 2 gig) file in one go

"Normal" home internet shouldn't have any problem downloading 50 GB files. I download games larger than this multiple times a week.

[–] [email protected] 3 points 1 month ago (2 children)

they must have dialup or live in the middle of nowhere

load more comments (2 replies)
load more comments (3 replies)
[–] [email protected] 8 points 1 month ago (4 children)

Just gone through this whole process myself. My god does it suck. Another thing you'll want to be aware of around Takeout with Google Photos is that the photo metadata isn't attached as EXIF like with a normal service, but rather it's given as an accompanying JSON file for each image file. I'm using Memories for Nextcloud, and it has a tool that can restore the EXIF metadata using those files, but it's not exact and now I have about 1.5k images tagged as being from this year when they're really from 2018 or before. I'm looking at writing my own tool to restore some of this metadata but it's going to be a right pain in the ass.

[–] [email protected] 7 points 1 month ago (1 children)

Wow thanks for that. I was looking into https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper but I haven't gotten to that step yet

load more comments (1 replies)
load more comments (3 replies)
[–] [email protected] 8 points 1 month ago

I have fancy California Internet and the downloads are surprisingly slow and kept slowing down and turning off. It was such a pain to get my data out of takeout.

[–] [email protected] 8 points 1 month ago (1 children)

Can you do one album at a time? Select the albums you want to download, then do that file. Then do the next few albums. That way you have direct control over the data you're getting in each batch, and so you'll have a week to get that batch instead of having to start again if the whole thing didn't finish in a week.

[–] [email protected] 6 points 1 month ago

That may be a thought. I could organize the photos first and then do multiple takeouts. Thanks

[–] [email protected] 7 points 1 month ago

It's bad because they don't want you to use it, but they made it exist so that they don't get sued by the European Union.

[–] [email protected] 6 points 1 month ago

The word you're looking for is "petty."

[–] [email protected] 6 points 1 month ago

Try this then do them one at the time. You have to start the download in your browser first, but you can click "pause" and leave the browser open as it downloads to your server

[–] [email protected] 5 points 1 month ago (4 children)

There was an option to split the download into archives of customizable size IIRC

load more comments (4 replies)
[–] [email protected] 5 points 1 month ago

It's called: vendor lock-in.

[–] [email protected] 4 points 1 month ago (1 children)

Have you tried mounting the google drive on your computer and copying the files with your file manager?

[–] [email protected] 12 points 1 month ago (2 children)

From a search, it seems photos are no longer accessible via Google Drive and photos downloaded through the API (such as with Rclone) are not in full resolution and have the EXIF data stripped.

Google really fuck over anyone using Google Photos as a backup.

[–] [email protected] 5 points 1 month ago (1 children)

Yeah, with takeout, there are tools that can reconstruct the metadata. I think Google includes some JSONs or something like that. It's critical to maintain the dates of the photos.

Also I think if I did that I would need double the storage, right? To sync the drive and to copy the files?

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 4 points 1 month ago (1 children)

You could try using rclone's Google Photos backend. It's a command line tool, sort of like rsync but for cloud storage. https://rclone.org/

[–] [email protected] 10 points 1 month ago (1 children)

Looked promising until

When Images are downloaded this strips EXIF location (according to the docs and my tests). This is a limitation of the Google Photos API and is covered by bug #112096115.

The current google API does not allow photos to be downloaded at original resolution. This is very important if you are, for example, relying on "Google Photos" as a backup of your photos. You will not be able to use rclone to redownload original images. You could use 'google takeout' to recover the original photos as a last resort

load more comments (1 replies)
[–] [email protected] 4 points 1 month ago

Use Drive or if it's more than 15GB or whatever the max is these days. Pay for storage for one month for a couple of dollars on one of the supported platforms and download from there.

[–] [email protected] 4 points 1 month ago

Well, obviously they don't want you to!

load more comments
view more: next ›