Google is stopping acces to gyb

368 views
Skip to first unread message

Thomas Jakober

unread,
Mar 22, 2019, 8:33:57 AM3/22/19
to Got Your Back: Gmail Backup
Google stops access to gyb by end of the month:
>> These apps haven’t yet complied with our updated data privacy requirements announced on October 8, 2018.
Is there a new version in sight which can comply with these privacy requirements?

Jay Lee

unread,
Mar 22, 2019, 11:55:07 AM3/22/19
to Got Your Back: Gmail Backup
I'm looking into this.

The challenge is that I can't just "verify" the GYB Project because it requires an official website, terms of service, etc.

I'm working on allowing every user to create and maintain their own GYB project so this isn't an issue in the future.

Jay

--
--
You received this message because you are subscribed to the Google
Groups "Got Your Back: Gmail Backup" group.
To post to this group, send email to got-yo...@googlegroups.com
To unsubscribe from this group, send email to
got-your-bac...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/got-your-back?hl=en?hl=en

---
You received this message because you are subscribed to the Google Groups "Got Your Back: Gmail Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to got-your-bac...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mike Monaghan

unread,
Mar 22, 2019, 12:31:43 PM3/22/19
to got-yo...@googlegroups.com
Jay, how about a free site and open ToS?  I'd be happy to set it up.

Jay Lee

unread,
Mar 22, 2019, 12:36:02 PM3/22/19
to Got Your Back: Gmail Backup
I'm concerned about adding it as a dependency to GYB working long-term. Creating your own project take a bit more work at install time but it puts control in your hands.

Jay

Mike Monaghan

unread,
Mar 22, 2019, 12:42:42 PM3/22/19
to got-yo...@googlegroups.com
Which is funny, because these are exactly the kinds of concerns Google is trying to address.  Rock on, Sir.  

Aaron Ackley

unread,
Mar 22, 2019, 12:47:16 PM3/22/19
to got-yo...@googlegroups.com
Jay,

I think the GYB audience is on average pretty competent.  

Some of us however (ahem me) would very much appreciate some clear instructions on how exactly to do the extra steps at install time.  Having this information embedded in the GYB documentation would preserve the current level of accessibility. 

GYB is a fantastic tool, and we really appreciate it!

~Aaron


This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Hesco. Nothing in this email constitutes an offer, acceptance, representation, warranty, term or condition. Any product or technical information contained in this email is not intended to constitute advice or guidance which will depend on your own particular requirements. For details of Hesco patents and trade marks, please visit: http://www.hesco.com/legal_notice

Hesco Bastion Limited
Registered in England and Wales
Registered Number: 02600319
Registered Office: Unit 41 Knowsthorpe Way, Cross Green Industrial Estate, Leeds LS9 0SW

Jay Lee

unread,
Mar 22, 2019, 1:00:38 PM3/22/19
to Got Your Back: Gmail Backup
GYB 1.20 is now available. Basic instructions for installing and fixing the issue are in the release notes:


can a few people try upgrading and fixing and give me feedback on the process?

Jay

Steve Larsen

unread,
Mar 22, 2019, 1:22:29 PM3/22/19
to Got Your Back: Gmail Backup
I'm just looking at what will be happening now - yet another GCP Project is created and needed by the looks of it.

and curios to know how those of us using GAM can leverage that existing project to be used with GYB.

Steve Larsen

unread,
Mar 22, 2019, 1:24:46 PM3/22/19
to Got Your Back: Gmail Backup
I forgot to clarify - how can we use our GAM project to authorise against consumer gmail accounts using GYB.

Using --service-account and the oauth2service.json file for G Suite domain accounts is how to do that.

Jay Lee

unread,
Mar 22, 2019, 1:33:57 PM3/22/19
to Got Your Back: Gmail Backup
I wouldn't recommend combining projects, just create one for each app.

Jay

Jay Lee

unread,
Mar 22, 2019, 1:34:47 PM3/22/19
to Got Your Back: Gmail Backup
Also to answer your question, there's no way to use service accounts for authorization of gmail.com consumer accounts. Service accounts are G Suite only.

Jay

Steve Larsen

unread,
Mar 22, 2019, 2:44:18 PM3/22/19
to Got Your Back: Gmail Backup
It was how can the GAM project OAuth consent screens be used for consumer accounts. The service account are be for G Suite only as I mentioned on that 2nd msg.

As for the way things are now, would one GYB project be created against the account used on the initial gyb --action create-project --email y...@domain.com command and then all future backups for us...@gmail.com and user2@gmailcom would leverage that GYB project?

Jay Lee

unread,
Mar 22, 2019, 2:48:29 PM3/22/19
to Got Your Back: Gmail Backup
One project should work against many Google accounts though if the project is unverified it's limited to 100.

Jay

Brett Carver

unread,
Mar 22, 2019, 3:30:45 PM3/22/19
to got-yo...@googlegroups.com, Jay Lee
On Fri, Mar 22, 2019 at 10:00 AM Jay Lee <jay...@gmail.com> wrote:
GYB 1.20 is now available. Basic instructions for installing and fixing the issue are in the release notes:

Those steps should be documented on the Wiki page as those are the only installation instructions most people will see (they won't check the release notes one or more releases back). 

Also, what exactly does it mean to create your own project?

Run "gyb --action create-project --email y...@domain.com" to create your own project. Follow all steps.

Can you use the same project for all the accounts you want to backup using GYB (ie, the create-project e-mail is DIFFERENT than the e-mail being backed up)?

Steve Larsen

unread,
Mar 22, 2019, 3:54:25 PM3/22/19
to Got Your Back: Gmail Backup
Jay - I'm ssh'd into a VM on gcp using the browser and trying to copy the values but keep getting the following before and after the pasting.

^[[200~   value   ^[[201~

Screenshot 2019-03-22 at 14.43.31.png


Also, the nobrowser.txt file seems to need to be in the current folder and not where the binary is.


Screenshot 2019-03-22 at 14.42.23.png

Jay Lee

unread,
Mar 22, 2019, 5:02:23 PM3/22/19
to Got Your Back: Gmail Backup
What browser are you using? Seen some issues like this with Firefox.

--

Steve Larsen

unread,
Mar 22, 2019, 9:02:42 PM3/22/19
to Got Your Back: Gmail Backup
Chrome 72.0.3626.121

Steve Larsen

unread,
Mar 22, 2019, 9:26:30 PM3/22/19
to Got Your Back: Gmail Backup
I saw a new v1.21 was made so I figured I'd test that about again directly in cloudshell. I have some unusual things happening now which did not happen before.


gyb-v1.21.gif



--action revoke did not used to do this. it used to self-destruct the token before

Screenshot 2019-03-22 at 14.36.07.png

Moshe@TLV

unread,
Mar 23, 2019, 7:01:27 AM3/23/19
to Got Your Back: Gmail Backup

I​ followed al​l​ steps:  downloaded 1.21,  created a project,  granted authentication,  and made to to the final step of running gyb.  And then got this error 

 
Traceback (most recent call last):
  File "gyb.py", line 2023, in <module>
  File "gyb.py", line 1362, in main
  File "gyb.py", line 321, in requestOAuthAccess
  File "oauth2client\_helpers.py", line 133, in positional_wrapper
  File "oauth2client\client.py", line 2135, in flow_from_clientsecrets
  File "oauth2client\clientsecrets.py", line 165, in loadfile
  File "oauth2client\clientsecrets.py", line 122, in _loadfile
  File "json\__init__.py", line 296, in load
  File "json\__init__.py", line 348, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 353, in raw_decode
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 11 column 1 (char 469)
[14236] Failed to execute script gyb​


gyb 121 error msg.png

 

Mark Bailey

unread,
Mar 23, 2019, 7:13:45 AM3/23/19
to Got Your Back: Gmail Backup
Hi

I am getting

<HttpError 400 when requesting https://servicemanagement.googleapis.com/v1/services/drive.googleapis.com:enable?prettyPrint=false&alt=json returned "Please accept the following terms of service.">

Press enter once resolved and we will try enabling the API again.

and that is it.

A backup won't work after that and that link doesn't seem to exist.

Bernie Elbourn

unread,
Mar 26, 2019, 10:52:26 AM3/26/19
to Got Your Back: Gmail Backup
On Friday, March 22, 2019 at 5:00:38 PM UTC, Jay Lee wrote:
GYB 1.20 is now available. Basic instructions for installing and fixing the issue are in the release notes:


can a few people try upgrading and fixing and give me feedback on the process?

Jay


Huge thanks for grasping this nettle. Just a quick note ...

I could not find this option on my project. Presumably as I have a basic account. I ignored this step, did not click save, and all seems to work...

https://console.developers.google.com/iam-admin/serviceaccounts/project?project=gyb-project-4jm-nde-4gu

1. Click the 3 dots to the right of your service account.
2. Choose Edit.
3. Check the "Enable G Suite Domain-wide Delegation" box and click Save.
Reply all
Reply to author
Forward
0 new messages