Unable to backup gmail - Error message

528 views
Skip to first unread message

Onion

unread,
Apr 14, 2014, 3:01:39 AM4/14/14
to got-yo...@googlegroups.com
This is what is on the command screen:

C:\Users\User>cd c:\gyb

c:\gyb>gyb --email youremailaddress.com --action backup
Your browser has been opened to visit:


If your browser is on a different machine then exit and re-run this after creating a file called nobrowser.txt in the same path as GYB
==================

The link goes to a page that says:

Got Your Back: Gmail Backup
This app would like to:
View and manage your mail
Know who you are on Google
View your email address
Manage messages in groups on your domain
Got Your Back: Gmail Backup and Google will use this information in accordance with their respective terms of service and privacy policies.
Cancel Accept

I clicked Accept
The authentication flow has completed.
==================

This is what is on the command screen:
Authentication successful.
Error: you did not authorize the OAuth token in the browser with the youremai...@gmail.com Google Account. Please make sure you are logged in to the correct account when authorizing the token in the browser.

c:\gyb>
==================

So I type in again (using my email address, of course): gyb --email youremailaddress.com --action backup

But it goes 'round in a circle of getting the same error message. Is something broken with gyb backup, or has something changed? I know another person in a different household who is getting the same error message. We are logged into the correct account. The path for the backup is C:\gyb

Thanks

Keith Robards

unread,
Apr 14, 2014, 3:54:10 AM4/14/14
to got-yo...@googlegroups.com
Hi Onion,

I note what is probably a typo, but just in case: where you have written youremailaddress.com in the command lines, I guess you really put youremai...@gmail.com?

Blessings,
Keith
"Peace will come when the Arabs will love their children more than they hate us."
Golda Meir, 1957


--
--
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.

Onion

unread,
Apr 14, 2014, 4:53:07 AM4/14/14
to got-yo...@googlegroups.com
Hi Keith, 

Yes, it is a typo. In my haste to remove my real email address for this forum, the @ symbol went missing. 
I did have the @ symbol in the command line.

Does the gyb backup work OK for you?
Onion

Štěpán Kukliš

unread,
Apr 14, 2014, 4:54:49 AM4/14/14
to got-yo...@googlegroups.com
Hi Onion,
arent you logged to more google accounts at the same time? Try log out
of all you accounts and then try it again.


regards
Štěpán
> --
> --
> 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
> <mailto:got-your-bac...@googlegroups.com>.

Onion

unread,
Apr 14, 2014, 5:05:46 AM4/14/14
to got-yo...@googlegroups.com
Hi Štěpán, 

I was logged into another account in Chrome. I logged out of the Google account in Chrome and tried backing up again. This time it worked fine and is now backing up emails. Woo hoo!

By the way, as the backup was starting, I logged back into the other account in Chrome and it didn't upset the backup. So I guess one should be logged into only one account when starting the backup. Didn't know that! 

Thanks!
Onion

Keith Robards

unread,
Apr 14, 2014, 6:42:40 AM4/14/14
to got-yo...@googlegroups.com
It might be just while you are doing the authentication to avoid confusion.  I suspect that multiple login would be OK provided your primary logon is to the account that you want to back up.  You can recognise the primary logon (in sites that support multiple logon) by the "0" in the URL as in Gmail: https://mail.google.com/mail/u/0/#inbox/1455f0a9897c94ac.  The other accounts will show ...mail/u/1/#inbox... etc.

Mike Monaghan

unread,
Apr 14, 2014, 8:53:03 AM4/14/14
to got-yo...@googlegroups.com
The first time you run gyb against a new domain, you have to authorize the oauth token.  To do this, gyb pops open a new browser and asked gmail to verify you.  Gmail's multiple accounts has never been setup to make a reasonable choice so if you're in multiple accounts the first run of gyb, it can get lost.  So the easy thing to do is log out of all but the domain admin account you are setting up gyb for.

After the initial authorization, gyb doesn't care how many accounts you are logged into.  I've been in over a dozen running backups against 5 domains.

For clarity's sake, this isn't an issue with gyb.  It passes everything gmail needs to select the correct account for the request.  Gmail just passes it to the account in the 0 index.  If it happens to be the correct domain admin account, it works.  If not, it can't.



Mike Monaghan



On Mon, Apr 14, 2014 at 6:42 AM, Keith Robards <ke4...@gmail.com> wrote:
It might be just while you are doing the authentication to avoid confusion.  I suspect that multiple login would be OK provided your primary logon is to the account that you want to back up.  You can recognise the primary logon (in sites that support multiple logon) by the "0" in the URL as in Gmail: https://mail.google.com/mail/u/0/#inbox/1455f0a9897c94ac.  The other accounts will show ...mail/u/1/#inbox... etc.

--
--
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.

Onion

unread,
Apr 15, 2014, 2:37:36 AM4/15/14
to got-yo...@googlegroups.com
Just an update. My friend let me know that she did not have 2 browsers open and was logged into only one Google account.

She then noticed the last two dashes were placed in the wrong location (directly after the email address) like this:

gyb --email your...@gmail.com-- action backup 

The correct way:
gyb --email your...@gmail.com --action backup 

Possibly I may have made the same error, but my copy/paste in my first post shows the dashes were in the correct location. I just tried another backup - with two browsers open and logged into two Google accounts - and the backup worked fine. 

Julius Alexander

unread,
Oct 3, 2016, 6:47:48 AM10/3/16
to Got Your Back: Gmail Backup
more easy to use this command are
gyb.exe --email your...@companydomain.com --action backup
just give an authorize on your web by just clicking that link
and make sure you have admin akses into your domain 

and it's will showing like this

Using backup folder GYB-GMail-Ba...@companydomain.com
Got 1119 Message IDs                                                           
GYB needs to examine 1119 messages
GYB already has a backup of 0 messages
GYB needs to backup 1119 messages
backed up 500 of 1119 messages                       

jasper...@gmail.com

unread,
Dec 26, 2018, 3:10:36 AM12/26/18
to Got Your Back: Gmail Backup
You can use Gmail backup Tool for Mac, an email backup application for Mac from Invent Pure. Gmail backup for Mac can be used with all the email clients on Mac. This application is used to backup, restore and even convert email database to different formats. Click the link below to download the trial version and test it accordingly. Download Free Trial of Mail Backup for Mac.  
Reply all
Reply to author
Forward
0 new messages