How to restore from google cloud backup?

1,266 views
Skip to first unread message

fin...@gmail.com

unread,
Dec 8, 2015, 3:27:01 PM12/8/15
to MyCars
Asked the same question on G+ group but seems like this venue is more active, so reposting:

How do we restore from Google backups? My phone factory reset on an android upgrade and after that I installed the main google account that I purchased the pro key, installed my cars and my pro key, however none of my data restored from google cloud.

Is there a way to trigger it or is my data gone for good?

davagdroid

unread,
Dec 8, 2015, 4:00:49 PM12/8/15
to MyCars
Please have a look here: http://www.davagdroid.com/mycars/how-to#TOC-Restore-data-from-a-backup

If you had PRO key before, then you should have your data in Dropbox.

If not, then follow use case 3 in the link I sent. But it requires some knowhow on command line stuff.

Best regards,

David

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

fin...@gmail.com

unread,
Dec 8, 2015, 6:25:05 PM12/8/15
to MyCars
David,

Much appreciated, manual (adb) method worked on a non-rooted Nexus 6P. Already replied this on G+ but for future reference I'm putting in here as well, here is how I restored my data:

  • Connect phone to your computer with android debugging enabled.
  • Run "adb shell"
  • List your google cloud backups by typing "bmgr list sets" . This will give you all your android devices. If you hard resetted your phone, you might see two of them since the android market ID changes after a factory reset. I think this is also the reason of not getting the data restored.
    • Take a note of the 64bit hex number on the left of the device name (In this case it was a 16 digit string next to a device name called Nexus 6P, and it was 35fgab1a78cdb012 for me). If you see two of them, most likely the second one on the list is the one you want.
  • Now, find the package name of the app by searching all packages:
"pm list packages -f mycar"
Which will give you two results if you purchased the pro key. What we want is  "com.aguirre.android.mycar.activity"

  • Now let's restore the data:
"bmgr restore 35fgab1a78cdb012 com.aguirre.android.mycarpro"
  • Go open your MyCar app and check if the data is restored. If it's not, or if it was wrong data, try with the other 16 digit number.

navin...@gmail.com

unread,
Feb 29, 2016, 8:19:36 AM2/29/16
to MyCars, fin...@gmail.com
I had a similar issue, phone factory reset itself, first by going into safe mode and then upon restarting all apps/data lost. SD Card contents were intact. I was using Mycars for a year and all that data is gone now as Mycars does not save the export on external SD Card, just internal phone memory. I have since re-installed and see the option for dropbox backup under Settings -> Data Backup and also Google backup.  I had entered Drop box Auth info, but since my Dropbox is full at the moment, wanted to store it on Google Drive. But the Last Backup option under "Enable Google Backup" is dimmed, even though the checkbox is on. Is this feature enabled only in Pro version ? 

davagdroid

unread,
Feb 29, 2016, 2:38:56 PM2/29/16
to MyCars, fin...@gmail.com
Google Backup is not Google Drive. It's a feature that allow in some cases (not controlled by My Cars) to restore the data when you install My Cars on a new device. I would suggest you still check if you don't have an old backup in Dropbox. Or even better try to restore your data with adb commands.

Google Backup doesn't require PRO mode.

Navin Ladda

unread,
Feb 29, 2016, 4:13:34 PM2/29/16
to mycar...@googlegroups.com
I did not enable Dropbox option until re-installing it after the phone had crashed, so nothing will be on found on dropbox.
I installed Android SDK Tools and started up adb

I am using a Samgung Galaxy S4

I unfortunately get a No restore sets message when issuing the bmgr list sets command.

I hope an option to export the data in CSV format at a regular interval to Google Drive is added as not everyone uses Dropbox.

Oh boy, it was such a good app and gave me such good stats on my vehicle fuel ups as I was using it for last 1.5 years since buying a new car.

You received this message because you are subscribed to a topic in the Google Groups "MyCars" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mycarsdavag/klj8g_HvYDw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mycarsdavag...@googlegroups.com.

davagdroid

unread,
Feb 29, 2016, 4:55:38 PM2/29/16
to mycar...@googlegroups.com
Sorry about that :-( I plan Google Drive, but most probably only for Android 6.0 users. Because otherwise I need to ask access to user account.

tsandr...@gmail.com

unread,
Feb 28, 2019, 2:14:34 PM2/28/19
to MyCars
Actually you need to restore "com.aguirre.android.mycar.activity" 

So instead of using "bmgr restore 35fgab1a78cdb012 com.aguirre.android.mycarpro" / as in the example /

you have to replace it with ""bmgr restore 35fgab1a78cdb012 com.aguirre.android.mycar.activity"

This is the way I've successfully restored my data.

maldi...@gmail.com

unread,
Apr 3, 2019, 12:32:43 AM4/3/19
to MyCars
So I lost my phone where I had mycars installed. I got a new phone and am now trying to restore the google backup from the phone that was lost to my new current phone. I went through the steps to list the backups posted by fin...@gmail.com and saw my current phone and my old phone listed. I then searched for the packages and there was one on my lost phone. I then tried to do the bmgr restore using the token of my lost phone but the process gives me the following. (Note: I replaced my token with xxxxxx's as I'm not sure if it's safe to publicly post my token or not):

"A0001:/ $ bmgr restore xxxxxxxxxxxxxx com.aguirre.android.mycar.activity                                                                                                     

Scheduling restore: ONEPLUS A6003

restoreStarting: 1 packages

onUpdate: 0 = com.aguirre.android.mycar.activity

restoreFinished: 0

done "

 As you can see, I'm able to see the package but it fails to restore from my A6003 to my now A0001 device. Is there something that I'm doing wrong?
Reply all
Reply to author
Forward
0 new messages