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:

  1. Go to the Leftmenu → ic cloud upload Backup → Export, and make sure the dialog says "successful".

  2. Copy the directory /sdcard/sleep-data to your new phone’s SD card.

  3. Install Sleep as Android on the new phone and immediately go to Leftmenu → ic cloud upload Backup → Import.

    Note If you don’t import immediately, the app will replace your sleep-export.zip file after the next sleep record is created. The old sleep-export.zip file will be renamed to sleep-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.

  1. Go to the Leftmenu → ic cloud upload Backup → Export.

  2. When a dialogue "Successful backup to your local storage" appears, choose "Share" button.

  3. Now, you can choose your email client, and the backup zip file is attached to the body of a new email.

  4. Send it to yourself.

  5. Open the email client on your new phone, open the email, and tap on the attachment.

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

  1. Got to the Leftmenu → ic cloud upload Backup → Export.

  2. When a dialogue "Successful backup to your local storage" appears, choose "Share" button.

  3. Choose Google Drive, and confirm.

  4. Then open Google Drive on your other device, and select the backup file.

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