I get by with Linux but I'm by no means a guru, so please be nice :)

On my other devices (Android, Windows) I use Picasa and its Auto Backup feature to automatically resize and upload to my Google drive. Honestly, I don't really know how it works, it just works. I back up my photos full size to my Ubuntu server locally and from there to Crash Plan so this isn't about data security, it is specifically for Google+ sharing and the "neat" features they have. Because they allow unlimited photos for anything < 2048*2048 I want to resize.

So how can I:

  1. resize
  2. upload
  3. stay synced

Preferably from the command line, as it is a headless server.

Oh, I should probably say this: I did just add my network folder containing all those folders into my Windows machine's Picasa... and that's working - sort of. Problem #1 is that it says its going to take 42 days to complete. The bigger problem, however, is that it is really trashing my Internet connection. I'm not sure why. I did a test with local photos and it doesn't affect my connection at all, but my VOIP was dying periodically and I narrowed it down to it being whenever the server was being accessed by Picasa for a photo. Anyway, for long term success I think I'd like to do the above rather than using Picasa for this task.


There is a way to install Google photos auto backup on Ubuntu (taken from here on Reddit, worked for me...)

  1. Install google photos auto backup on Windows machine (may be a virtual PC or an ordinary PC)
  2. Start > Run > regedit
  3. go to HKEY_CURRENT_USER\Software\Google\Picasa\Picasa2\Preferences
  4. Then on Menu > registry > export registry file. It should look something like this:

    Windows Registry Editor Version 5.00
    "GoogleOAuth"=hex:xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,\      xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx
    "GoogleOAuthServices"="mail,lh2,cp,cp.manager,mailrelay,plus.stream.write,    plus.circles.read,plus.profiles.read,plus.me,plus.media.upload,plus.media.    readonly,plus.settings,youtube,"
  5. Install playOnLinux. Go to configure, create a new 32-bit Windows virtual drive, call it GooglePhotosBackup. Select the new virtual drive. In wine tab > task manager > new task, select the gpautobackup_setup.exe file you've downloaded from google and install google auto backup.

  6. Select the new virtual drive again > registry editor , then on menu > registry > import registry file > import the registry file you created earlier.
  7. General tab > make a new shortcut from this virtual drive button and select google photos backup.exe.

Finally, run the application and you should be logged in!

  • 2
    Is there no solution with higher WAF? – guettli Sep 21 '15 at 17:06
  • Can this be executed from a cron task? – Twinkles Feb 6 '16 at 8:14

My solution is to use Windows version of Google Photos Backup inside a prebuilt VM from modern.ie VM using Virtual Box. I use Shared-Folders to make the Pictures visible to Windows. Simple and no hacking of registries required.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.