You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Navid200 asked me to post this as it might be helpful to others...
I thought I would add the process I used to migrate xDrip+ data from my old phone to my new phone. It's quite involved but worked for me. This is because there are known bugs in the import/export system.
Please note, this is just for the database. I'm not teaching anyone to suck eggs here but I want to be explicit... Your xDrip+ settings can be imported using the QR code display on your old phone and scanned on your new phone (the easiest way). Or via an exported file (which exports to your phone's Download folder and then in xDrip-export. It will be something like this: com.eveningoutpost.dexdrip_preferences.xml. From memory the file can then be copied into your "xDrip" folder on your phone and xDrip+ will find the file when you carry out the settings import. Use the "three vertical dots" menu which is top right of the screen then Import / Export features > Load / Save Settings.
Phones: Old phone > Sony Xperia L3 / Android 8.1. New Phone > Samsung Galaxy S10e / Android 12
Version: xDrip+ nightly build 8th September 2022 / xDrip-plus-20220908-4aeee42.apk
Here's how I managed to restore a cloud backup. Not quite the way I thought it would work. I suggest you read through the steps and comments below to get an overview of the process.
On my old phone I made a cloud backup in xDrip+ > There dots menu > Import / Export features > Cloud Backup. I tried it with my primary Google account and couldn't get a backup to complete. No idea why so I can't advise on troubleshooting this. I then tried another Google account and managed to successfully create a backup: xDrip-Backups/xdrip-backup-I3312-Xperia-L3.xdrip
On the new phone I tried the standard cloud backup restore but this didn't work because xDrip+ writes an empty file with the name of the new phone (xdrip-backup-SM-G970U1-Rees's-S10e.xdrip). The xdrip-backup-I3312-Xperia-L3.xdrip is never found by xDrip+. No idea why even though the file exists. Read on.
So I downloaded the backup file > xdrip-backup-I3312-Xperia-L3.xdrip. Next I There dots menu > Import / Export features > Cloud Backup > SELECT BACKUP LOCATION grey button. I had uploaded xdrip-backup-I3312-Xperia-L3.xdrip to my S10e's Download directory (could be whatever directory you want). Next, in SELECT BACKUP LOCATION I chose USE ALTERNATE FILE. Navigated to my S10e's Download directory and chose the file xdrip-backup-I3312-Xperia-L3.xdrip.
Once I completed step 4 xDrip+ then recognised the backup and listed in the info about the backup above the three grey buttons in Cloud Backup. At this stage you know you have your backup selected for restore. Now tap the RESTORE FROM BACKUP grey button. Choose "YES" in the "Backup Source Confirm", "Are you really sure?" > YES. The restore now runs and in my case it was successful. xDrip+ restarts and (hopefully) your data is imported.
My final test was to forget my MiaoMiao on my old phone (in xDrip+ > System Status) and my new automatically connected to the MiaoMiao because I had tested this previously.
I then went back to the step 1 and tested it again. Success!
Notes:
When you perform your cloud backup it's worth setting your screen display timeout to 30 minutes (if possible). I found if my phone slept then the backup didn't complete. Could just be my old phone's eccentricity.
Be patient when xDrip+ makes the cloud backup. My phone took about 15 minutes to upload 110MB.
The cloud backup file is overwritten each time when you backup. Keep this in mind if you are testing everything before a full commit. It might be worth backing up each cloud file either in your Google Drive or locally on your computer.
I understand that the xDrip+ versions should match on each phone. I guess this is because additional data may be written to the database file which means that a newer version of xDrip+ is expecting additional data (which may make the database incompatible).
Be patient. It's not a quick process. After all, the data in xDrip+ is valuable, especially when it goes back over three years as it does in my case.
Unrelated to databases but you will find if switching manufacturer's phones that your alert settings for low bg / high bg / calibration etc will lose their sound files. In y case I used the Sony alerts and my Samsung doesn't have these. I had to go Google hunting to find them. This took ages. I'm 54 so I'm a creature of habit and my brain is subconsciously trained to the alert sounds, especially at night.8.
I hope this helps. I'm no expert on xDrip+ but do use it daily.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@Navid200 asked me to post this as it might be helpful to others...
I thought I would add the process I used to migrate xDrip+ data from my old phone to my new phone. It's quite involved but worked for me. This is because there are known bugs in the import/export system.
Please note, this is just for the database. I'm not teaching anyone to suck eggs here but I want to be explicit... Your xDrip+ settings can be imported using the QR code display on your old phone and scanned on your new phone (the easiest way). Or via an exported file (which exports to your phone's Download folder and then in xDrip-export. It will be something like this: com.eveningoutpost.dexdrip_preferences.xml. From memory the file can then be copied into your "xDrip" folder on your phone and xDrip+ will find the file when you carry out the settings import. Use the "three vertical dots" menu which is top right of the screen then Import / Export features > Load / Save Settings.
Phones: Old phone > Sony Xperia L3 / Android 8.1. New Phone > Samsung Galaxy S10e / Android 12
Version: xDrip+ nightly build 8th September 2022 / xDrip-plus-20220908-4aeee42.apk
Here's how I managed to restore a cloud backup. Not quite the way I thought it would work. I suggest you read through the steps and comments below to get an overview of the process.
Notes:
I hope this helps. I'm no expert on xDrip+ but do use it daily.
Beta Was this translation helpful? Give feedback.
All reactions