google_takeout_and_proton_export
Export data from all Google services and proton and backup to local disk (2023-08)
date: 2023-08-11 author: bestia.dev repository: codeberg.org
My digital identity is created around Gmail. Just like most of the people I know.
So if Google goes out of business or suddenly disables my account I am really in a bad place.
It is wise to make a backup of my data that Google has. Not only Gmail but also other Google services.
Now that I use proton email, I make local backup of it also.
Create a google takeout scheduler
It is not hard. Go to
https://takeout.google.com/
and click on Create new Export
You want to select all of the data services except:
Youtube videos - this can be huge if you uploaded videos. Probably you already have a backup copy of that somewhere.
I don't use Google photos anymore. So there should not be a lot of data there.
Click on Next step and choose
Copy to google drive
Export every month for 1 year
File Type: .zip
File size: 50GB
The file size option is not really what you would expect. It does not make a zip with multiple files. If makes separate files for separate services and a single file (not zipped) can still be bigger than this limit. Bigger number means less just files.
Download the google takeout
The preparation of the backup can take hours or days.
The zip files will be stored in google drive.
From there, they can be downloaded as one single zip file.
Rename the file to something meaningful like this:
LF2023-08-10 luciano.bestia@gmail.com_backup.zip
Finally, move the zip files to a backup folder on the external drive.
My Activity and other history on google
It is intrusive to have the history of all your activity on Google services for ever.
It can be disabled or limited to only 3 months.
Go to:
https://myactivity.google.com
and turn Off or limit history of your activity of Google services to 3 months for
- Web & App Activity
- Location History
- Youtube History
I can delete my activity for some other stuff:
https://myactivity.google.com
https://myactivity.google.com/page?utm_source=my-activity&hl=en&page=youtube_comments
https://myactivity.google.com/page?utm_source=my-activity&hl=en&page=youtube_comment_likes
https://myactivity.google.com/page?utm_source=my-activity&hl=en&page=youtube_likes
Proton mail export tool
Read the instructions in proton_export.md.
TODO
I'd like to have this automated in simple CLI commands. For example https://github.com/clivewatts/takeout_downloader_script But in Rust of course. One day ...
Open-source and free as a beer
My open-source projects are free as a beer (MIT license).
I just love programming.
But I need also to drink. If you find my projects and tutorials helpful, please buy me a beer by donating to my PayPal.
You know the price of a beer in your local bar ;-)
So I can drink a free beer for your health :-)
Na zdravje! Alla salute! Prost! Nazdravlje! 🍻
//bestia.dev
//codeberg.org/bestia-dev
//github.com/bestia-dev
//bestiadev.substack.com
//youtube.com/@bestia-dev-tutorials