Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Hourly VPS for Google Takeout
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Hourly VPS for Google Takeout

BarisBaris Member
edited March 26 in Requests

Hi,
I have problems downloading Takeout files from Google in bash. I tried curl/wget with different flags for redirecting/authentication but did not succeed.

My plan is to spin up a temporary VPS with xfce so that I can use a full browser with GUI to save the Takeouts. After that I will transfer the Takeouts to multiple storage VPS.

X11 forwarding, rclone or other workarounds are not an option because I like to keep my storage boxes clean.

The specs:

  • 2 CPU cores
  • 4GB RAM
  • 300GB HDD/SSD
  • 1Gbit with 1TB traffic
  • Location can be anywhere with decent connectivity to Europe

The biggest problem I see is the traffic because I will definitely use that 1 TB. Which provider would be okay to let me spin up an instance, for let's say 24h, and let me use 1 TB of traffic? I don't want to abuse any provider and will happily pay for the traffic if pricing is fair 👍🏼

Thank you.

Comments

  • AdvinAdvin Member, Patron Provider
    edited March 26

    Hetzner Cloud is a great option for this - they provide plenty of bandwidth and storage, specifically one of their ARM instances.

  • @Baris said: My plan is to spin up a temporary VPS with xfce so that I can use a full browser with GUI to save the Takeouts. After that I will transfer the Takeouts to multiple storage VPS.

    this is too much effort, use docker linuxserver/firefox or linuxserver/chromium and save yourself some time for not setting up a full desktop environment along with it's remote desktop.

    Thanked by 1Baris
  • sliixsliix Member

    @ScreenReader said:

    @Baris said: My plan is to spin up a temporary VPS with xfce so that I can use a full browser with GUI to save the Takeouts. After that I will transfer the Takeouts to multiple storage VPS.

    this is too much effort, use docker linuxserver/firefox or linuxserver/chromium and save yourself some time for not setting up a full desktop environment along with it's remote desktop.

    I do this all the time since I discover that I can actually use dockerized Firefox with webVNC (or is it KasmVNC in this case? Can't recall). Up and running in less than 5 mins.

    And agreed with @Advin, Hetzner Cloud is still the best option to do this.

    Thanked by 1Baris
  • DataWagonDataWagon Member, Patron Provider

    We don't have hourly, but we offer a Linux 'desktop' template with our VMs. It's Debian with a GUI and Apache Guacamole pre-setup so you can use RDP in browser instantly.

  • dev_vpsdev_vps Member
    edited March 26

    @Baris said:
    Hi,
    I have problems downloading Takeout files from Google in bash. I tried curl/wget with different flags for redirecting/authentication but did not succeed.

    Steps to download takeout files on a headless server using wget without additional authentication.
    Steps:

    • Initiate download via takeout page in your browser
    • Go to the browser downloads page (ctrl+j for most browsers)
    • Locate the download which is in-progress right now
    • Right click + Copy link address
    • Pause the download (be sure not to cancel the browser download before your wget finishes)
    • From your terminal: wget "pasted_link_address"
      Make sure to add the quotes around the pasted_link_address.
    Thanked by 1TheKiller
  • vpn2024vpn2024 Member

    Paperspace, save yourself a lot of time..

  • JosephFJosephF Member

    Why not download it to a PC via your regular Internet provider?

  • valkvalk Member

    You would better use one of the extensions to save money and headaches:
    https://chromewebstore.google.com/detail/curlwget/dgcfkhmmpcmkikfmonjcalnjcmjcjjdn (Chrome)
    https://addons.mozilla.org/en-US/firefox/addon/cliget/ (Firefox)

    Thanked by 2Baris Tingull
  • @sliix said:

    @ScreenReader said:

    @Baris said: My plan is to spin up a temporary VPS with xfce so that I can use a full browser with GUI to save the Takeouts. After that I will transfer the Takeouts to multiple storage VPS.

    this is too much effort, use docker linuxserver/firefox or linuxserver/chromium and save yourself some time for not setting up a full desktop environment along with it's remote desktop.

    I do this all the time since I discover that I can actually use dockerized Firefox with webVNC (or is it KasmVNC in this case? Can't recall). Up and running in less than 5 mins.

    And agreed with @Advin, Hetzner Cloud is still the best option to do this.

    the newer image uses KasmVNC by default, it works great

    Thanked by 1sliix
  • omelasomelas Member

    It sounds like you will download 300GBish from Google and to your machine, if you that in hourly VPS and terminate after that it'd trigger overuse charge for traffic, as hourly VPS's traffic per month will divided into hours too

    Thanked by 1Baris
  • Get P**NH*B take outs. Be happy and weird.

  • shruubshruub Member

    That remembers me that I never finished downloading my stuff. Add that to my never ending todo list

  • @Advin said:
    Hetzner Cloud is a great option for this - they provide plenty of bandwidth and storage, specifically one of their ARM instances.

    +1 to that.

  • xvpsxvps Member
    edited March 26

    Katapult gives £100 free credit that doesn't seem to expire to new customers.

    Vultr gives $200 free credit to new customers. The credit expires after 2 weeks.
    https://www.vultr.com/promo/try200/?ref=8709382 (no-aff)

    Both are billed hourly and both credits are for testing.

    Be aware of how they measure bandwidth usage and calculate overage.

  • X11 forwarding, rclone or other workarounds are not an option because I like to keep my storage boxes clean

    1. Install systemd-container
    2. Use debootstrap to make Debian image into directory
    3. Run systemd-nspawn -bD path-to-bootstrapped-directory
    4. Install everything into your container system, run anything you need
    5. Delete the directory afterwards
  • BarisBaris Member

    @dev_vps said:
    Steps to download takeout files on a headless server using wget without additional authentication.
    Steps:

    • Initiate download via takeout page in your browser
    • Go to the browser downloads page (ctrl+j for most browsers)
    • Locate the download which is in-progress right now
    • Right click + Copy link address
    • Pause the download (be sure not to cancel the browser download before your wget finishes)
    • From your terminal: wget "pasted_link_address"
      Make sure to add the quotes around the pasted_link_address.

    Hi dev_vps,
    during my research I came along this method on Reddit and I tried it. It works fine for small exports but won't work with big ones somehow. Depending on the size of the export Google has different endpoints involved. I could backup smaller exports with this method but ~250GB of exports, each one bigger than 30GB, couldn't be handled with this method.

    @valk said:
    You would better use one of the extensions to save money and headaches:
    https://chromewebstore.google.com/detail/curlwget/dgcfkhmmpcmkikfmonjcalnjcmjcjjdn (Chrome)
    https://addons.mozilla.org/en-US/firefox/addon/cliget/ (Firefox)

    Hi valk,
    during my research I also came along over this method. I installed curlwget on Chrome. The extension spit out a wget command (somehow curl was not offered) and it threw a 400 - Bad Response error. Will try out the Firefox extension, thank you!

    @ScreenReader said:

    this is too much effort, use docker linuxserver/firefox or linuxserver/chromium and save yourself some time for not setting up a full desktop environment along with it's remote desktop.

    @ValdikSS said:
    1. Install systemd-container
    2. Use debootstrap to make Debian image into directory
    3. Run systemd-nspawn -bD path-to-bootstrapped-directory
    4. Install everything into your container system, run anything you need
    5. Delete the directory afterwards

    Hi ScreenReader and ValdikSS,
    both methods are new to me, thank you very much for the input!

    I think I will use the docker image on a Hetzner Cloud instance to get the job done quickly first. After that I will play around and try to to combine both methods, systemd-container with docker installed inside. I like the idea to have a lightweight systemd-container where I can have docker installed for comfort when I need it and which will not alter my production environment because I only have to delete the folder 👍🏼

  • rcy026rcy026 Member

    Google Cloud gives you $300 credit on first signup, I guess that should give you enough capacity to get your takeout out of there.
    One would think that a Google Cloud VPS should have good bandwidth when downloading the takeout.

  • edited March 26

    @sliix said:

    @ScreenReader said:

    @Baris said: My plan is to spin up a temporary VPS with xfce so that I can use a full browser with GUI to save the Takeouts. After that I will transfer the Takeouts to multiple storage VPS.

    this is too much effort, use docker linuxserver/firefox or linuxserver/chromium and save yourself some time for not setting up a full desktop environment along with it's remote desktop.

    I do this all the time since I discover that I can actually use dockerized Firefox with webVNC (or is it KasmVNC in this case? Can't recall). Up and running in less than 5 mins.

    And agreed with @Advin, Hetzner Cloud is still the best option to do this.

    I don't think it would make much of a difference beyond being a bit lighter on resources as you'd likely just dump a prebuild diskimage onto the VM and not really setup the whole thing time and time again.

    @rcy026 said:
    Google Cloud gives you $300 credit on first signup, I guess that should give you enough capacity to get your takeout out of there.
    One would think that a Google Cloud VPS should have good bandwidth when downloading the takeout.

    I have not looked into Google cloud specifically but usually those $XXX credits on signup offers have a pretty tight time restriction like valid for 1 month or something similar.

  • rcy026rcy026 Member

    @totally_not_banned said:
    I have not looked into Google cloud specifically but usually those $XXX credits on signup offers have a pretty tight time restriction like valid for 1 month or something similar.

    I signed up yesterday and today it says "91 days remaining". Kind of an odd number of days so I'm guessing it's 3 months.

    Thanked by 1totally_not_banned
Sign In or Register to comment.