Backup & Restore
How to backup, restore, and transfer your data
Backup Options
| Method | Plan | Description |
|---|---|---|
| Local Backup | Free | Backup file on your device, manual or automatic |
| Dropbox | PRO | Backup file in your Dropbox |
| Google Drive | PRO+ | Backup file in your Google Drive |
| OneDrive | PRO+ | Backup file in your OneDrive |
| WebDAV (Nextcloud, NAS…) | PRO+ | Backup file on your own server |
Cloud backup stores a backup file with your provider. It is not live sync between devices: each phone uploads its own backup, and you move data to another phone by restoring that file there.
The Backup & Restore screen
How does the Backup & Restore screen work?
Open Menu > Backup & Restore. Under What do you want to do? pick one of:
- Local Backup: writes a backup file to your backup folder. Choose Full Backup or Selective, the File Format (XML or CSV), and turn on Share After Backup to send the file somewhere right away. Tap Create Backup (with Selective: Selective Export…).
- Local Restore: reads a backup file from your phone. The latest backup in your folder is picked for you; tap Choose different file or Select backup file to use another one. Tap Restore Data.
- Cloud Backup: uploads a backup to Dropbox, Google Drive, OneDrive or your own WebDAV server. Tap Backup to Cloud.
- Cloud Restore: downloads a backup from your provider. Tap Restore from Cloud.
For a restore, choose how it is applied:
- Full Restore with the Full Replace switch (“Delete all existing data before restore”). The switch is on by default: everything on the phone is replaced by the backup.
- Smart Merge (PRO) adds the backup to the data you already have. You decide, car by car, whether to merge, create a new car or skip it, and duplicates are skipped by default.
The default backup file is mycar_data.xml. Restore reads xml, bak and csv files.
How do I transfer data to a new phone?
- On your old phone: Menu > Backup & Restore > What do you want to do? > Local Backup > Full Backup > Create Backup. The file is
mycar_data.xml, in the folder shown on the screen. - Copy the file to your new phone (USB cable, email, or a cloud folder).
- On your new phone: install My Cars. In the welcome screens, tap I’m Returning (Restore Backup) > Restore from File and select the file. If you have already finished setup, use Menu > Backup & Restore > Local Restore > Select backup file > Full Restore > Restore Data.
All your data (vehicles, refuels, reminders, etc.) will be restored. A large restore can take a minute: let it finish before you close the app.
With a cloud backup you can skip the copy: on the new phone, choose Restore from Cloud in the welcome screens, or Cloud Restore in Backup & Restore.
Where are backups stored?
In the backup folder on your phone. The default folder is MyCar, and the Backup & Restore screen shows the file it will use. To use another folder, go to Settings > Data & Backup > Local Backup > Phone folder name and pick it with Android’s folder picker. If MyCars has no folder yet, the Backup & Restore screen shows Select a folder for backups.
The current backup is mycar_data.xml. Older automatic backups are kept next to it as mycar_data_….bak files; Max local backups sets how many.
Google Backup or Google Drive: what is the difference?
Older versions had a setting called Enable Google Backup. That is the Android device backup of your Google account, not a file in your Drive folder. It is still there and still free: Settings > Data & Backup > Google Android Backup (the switch is only active while local backup is enabled). Backing up directly into your Google Drive folder is new in version 3 and part of PRO+. A lifetime PRO licence (Pro Key) equals the PRO plan: local backup, Google Android Backup and Dropbox.
I set up my new phone from my Google backup. Where is my MyCars data?
When Android restores MyCars while you set up a new phone, MyCars 3.12 opens on We found your data! (“Android automatically restored your backup from another device”). Tap Continue with Restored Data. Before 3.12, that restored backup was never imported, so the app looked empty.
Good to know:
- Settings > Data & Backup > Google Android Backup has Enable Google Backup and Backup Now. Android restores this backup by itself when you set up a new phone or reinstall from Google Play. MyCars cannot fetch it on demand, so keep a backup file too.
- If importing the restored backup failed, you’ll see Google backup paused. Choose Import again, or Discard restored backup to keep what is on the phone now. Google backup is paused until you choose, so the restored copy is not overwritten.
- Since 3.12 this backup is rebuilt from your current data. Before, phones upgraded from version 2 could keep sending their last version 2 export.
If the app opened empty and you have no backup file, the next question describes a last resort.
My new phone shows an empty app and I have no backup file. Can I recover from Google’s backup?
Sometimes, yes — but this is a last resort, it needs a computer, and it is worth reading the four conditions below before you start. If you still have your old phone, or any mycar_data.xml file, use Local Restore instead: it is simpler and far more reliable.
Phone-transfer tools (Google’s own migration, Samsung Smart Switch, Oppo Clone, Mi Mover and similar) copy folders but routinely skip app data, which is why the app can look empty even though the folder is there.
Before you begin, all four must be true:
- MyCars 3.12.0 or later on the new phone. Earlier versions receive the restored file and never read it, so you get an empty app and no error. Update first.
- The new phone is signed in to the same Google account the old phone backed up to.
- The old phone has been switched off for less than about two months. Google deletes a device’s backup after roughly that long, and once it is gone there is nothing to recover.
- You can accept an imperfect copy. The backup holds whatever MyCars last packaged up, which can be older than the day you switched phones.
Steps
-
On a computer, download Google’s platform-tools (available from the Android developer site) and unzip it.
-
On the phone: Settings > About phone > tap Build number seven times to enable developer options, then Developer options > turn on USB debugging.
-
Connect the phone by USB and choose File transfer when asked.
-
Open a terminal inside the platform-tools folder (this matters — the commands below will not be found otherwise) and check the phone is visible:
adb devicesAccept the “Allow USB debugging?” prompt on the phone, then run it again. You should see your device listed.
-
Ask Google what it still holds:
adb shell bmgr list setsEach line is one backup: a long code (the “token”), then a device name and date. Look for your old phone. If it is not listed, Google no longer has it and you can stop here.
-
Restore just MyCars, replacing TOKEN with the code from your old phone’s line:
adb shell bmgr restore TOKEN com.aguirre.android.mycar.activity -
On the phone, force stop MyCars (Settings > Apps > My Cars > Force stop), then open it. Your data should appear.
Reading the result
restoreFinished: 0 means Android handed the data over successfully.
restoreFinished: -1000 is a transport error: Android refused to release the backup. The most common cause is that Android encrypted it with the old phone’s screen lock, and that key is only unlocked during a phone’s first-time setup. Retrying the command will not change it. The remaining option is to factory reset the new phone and choose the old phone’s backup during the setup wizard — only do that after exporting anything currently on the phone, and only if you are comfortable setting the phone up again.
One warning: never run bmgr wipe. It deletes the backup you are trying to recover.
If none of this works, a backup file from Dropbox, Google Drive, OneDrive, a WebDAV server or your device storage is still the most dependable route — see the sections below.
How do I backup/restore with Google Drive? (PRO+)
- Subscribe to PRO+ from Menu > About & Help > Compare Plans
- Go to Menu > Backup & Restore
- Under What do you want to do?, choose Cloud Backup or Cloud Restore
- In Cloud Storage Provider, select Google Drive, then tap Sign In and authenticate
- To back up: tap Backup to Cloud
- To restore: the latest backup on Google Drive is selected (tap Browse Files to pick another), choose Full Restore or Smart Merge, then tap Restore from Cloud
How do I backup/restore with OneDrive? (PRO+)
- Subscribe to PRO+ from Menu > About & Help > Compare Plans
- Go to Menu > Backup & Restore
- Under What do you want to do?, choose Cloud Backup or Cloud Restore
- In Cloud Storage Provider, select OneDrive, then tap Sign In and authenticate with your Microsoft account
- To back up: tap Backup to Cloud
- To restore: the latest backup on OneDrive is selected (tap Browse Files to pick another), choose Full Restore or Smart Merge, then tap Restore from Cloud
How do I backup/restore with WebDAV (Nextcloud, NAS…)? (PRO+)
- Subscribe to PRO+ from Menu > About & Help > Compare Plans
- Go to Menu > Backup & Restore
- Under What do you want to do?, choose Cloud Backup or Cloud Restore
- In Cloud Storage Provider, select WebDAV (Nextcloud, NAS…), then tap Sign In and enter your Server address, Username and App password
- To back up: tap Backup to Cloud. To restore: tap Restore from Cloud
Where to find your server address and how to create an app password: see WebDAV Backup (Nextcloud, NAS…).
How do I backup/restore with Dropbox? (PRO)
- Subscribe to PRO or PRO+ from Menu > About & Help > Compare Plans
- Go to Menu > Backup & Restore
- Under What do you want to do?, choose Cloud Backup or Cloud Restore
- In Cloud Storage Provider, select Dropbox, then tap Sign In and authenticate with your Dropbox account
- To back up: tap Backup to Cloud
- To restore: the latest backup on Dropbox is selected (tap Browse Files to pick another), choose Full Restore or Smart Merge, then tap Restore from Cloud
To switch providers, pick another one in Cloud Storage Provider and sign in. Then make a backup right away, so the new provider holds a copy.
How do I backup/restore with a file on my phone?
- Go to Menu > Backup & Restore
- Under What do you want to do?, choose Local Backup or Local Restore
- To back up: choose Full Backup (or Selective), the File Format, then tap Create Backup
- To restore: keep the latest backup or tap Select backup file, choose Full Restore or Smart Merge, then tap Restore Data
Warning: with Full Restore and Full Replace on (the default), all data on the phone is deleted and replaced by the backup. Make a fresh backup first if you have entered anything since.
Can I use automatic backups?
Yes:
- Go to Menu > Settings > Data & Backup
- Under Local Backup, turn on Automatic backup. MyCars then backs up when you leave the app, if your data changed since the last backup.
- Max local backups sets how many backup files are kept
- For the cloud, turn on Enable Dropbox Backup, Enable Google Drive Backup, Enable OneDrive Backup or Enable WebDAV Backup. The automatic backup then also uploads a copy to that provider.
- Show backup notifications tells you when an automatic backup completes
You can still back up and restore manually at any time from Menu > Backup & Restore.
How do I include photos in my backup?
For cloud backups:
- Go to Menu > Settings > Data & Backup > Cloud Storage
- Turn on Backup images (“Include photos attached to refuels, services, and other records”)
- Turn on Only with WIFI to hold the upload until you are on Wi-Fi. Since 3.12 this setting is respected.
Note: Including photos increases backup size and upload time.
What does a restore bring back since 3.12?
Version 3.12 fixed several things that restores used to lose. A restore now keeps:
- note types
- reminder history (each completion goes back to its own reminder, with snooze and completion dates)
- every photo of a refuel (earlier XML restores merged several photos into one broken entry; 3.12 repairs that)
- photos of notes that have text
- descriptions and deactivated values in Customize data
- refuel discounts in CSV backups
- seasonal tire-swap opt-outs
A CSV backup now restores with the units it was written in. Before, a CSV made in US gallons and restored on a phone set to litres stored 10 gal as 10 L.
A backup only restores what it contains: backups made before these fixes stay as they were (for example, their notes have no type).
A backup file edited by hand can no longer change protected settings, such as your subscription or cloud sign-in. Only ordinary preferences are restored.
”Backups paused” after a restore: what do I do?
If a full restore did not finish, the phone may hold incomplete data. MyCars then pauses all backups, so they cannot replace your good backups with it. You’ll see Backups paused, and a backup attempt says “Backup not made: backups are paused because the last full restore did not finish.”
- Restore again: run the restore again from your backup. This is usually the right choice.
- Keep current data: backups resume, and the next one replaces your previous backups with what is on the phone now.
I deleted a car by mistake. Can I get it back?
Deleting a vehicle removes it and all its records permanently. The app warns you (“This action cannot be undone”), and there is no trash or undo. You can bring it back from a backup made before you deleted it:
- With PRO (keeps everything you’ve entered since): Menu > Backup & Restore > Local Restore (or Cloud Restore) > select the older backup > Smart Merge > Smart Merge…. The deleted car is added back as a new car. Under Car Mapping, your other cars are set to merge with Skip duplicates (recommended); choose Skip this car for them if you want to leave them untouched. Then tap Start Import.
- Without PRO: Menu > Backup & Restore > Local Restore > select the older backup > Full Restore > Restore Data. With Full Replace on (the default), this returns all your data to that backup’s date, so anything entered since is lost. Make a fresh Local Backup first.
Older automatic backups are kept in your backup folder as mycar_data_….bak files (Settings > Data & Backup > Max local backups sets how many).
Tip: for a car you no longer drive, use Mark as Sold instead of deleting it.
Can I restore a Drivvo or Fuelio export?
Not as a restore, but you can import it, for free: Menu > Backup & Restore > Local Restore > Select backup file, then pick the Drivvo or Fuelio CSV. MyCars adds it to a car and replaces nothing. See Import & Export for the details.