I have a new phone, and I would like to transfer all the data I collected so far
There are five possible ways to transfer your data to a new devices:
1. Google backup
Normally we use Google’s backup function, if enabled in System settings → Privacy.
After installing Sleep as Android on the new device, you will get all your settings, alarms and other data. This assumes you install with a fast network connection enabled.
2. Import / export in the app - manually
You an also do a manual export/import process:
-
Go to the Left ☰ menu →
Backup → Export, and make sure the dialog says "successful".
-
Copy the directory /sdcard/sleep-data to your new phone’s SD card.
-
Install Sleep as Android on the new phone and immediately go to Left ☰ menu →
Backup → Import.
If you don’t import immediately, the app will replace your sleep-export.zip
file after the next sleep record is created. The oldsleep-export.zip
file will be renamed tosleep-export.backup.zip
. See solution.
3. Import / export in the app - sending the backup file with email
For even easier migrating to a new phone, you can use your email.
-
Go to the Left ☰ menu →
Backup → Export.
-
When a dialogue "Successful backup to your local storage" appears, choose "Share" button.
-
Now, you can choose your email client, and the backup zip file is attached to the body of a new email.
-
Send it to yourself.
-
Open the email client on your new phone, open the email, and tap on the attachment.
-
You will be asked which data you wish to import - select all types of data you wish to import, and submit.
4. Import / export in the app - sharing the file with Google Drive
Another easy way of migrating to a new device is Google Drive sharing.
-
Got to the Left ☰ menu →
Backup → Export.
-
When a dialogue "Successful backup to your local storage" appears, choose "Share" button.
-
Choose Google Drive, and confirm.
-
Then open Google Drive on your other device, and select the backup file.
-
You will be asked which data you wish to import - select all types of data you wish to import, and submit.
5. Sleep Cloud
Third option is to use some of the Cloud Backup methods from the SleepCloud Add-on. Please, see more about Backup.
Tags: backup