Importing history data from previous Sailfish OS phone

Hi everyone!

I’ve received my Jolla phone and successfully imported contacts. But does anyone know if it’s possible to import also notes, messages from Sailfish basic app and contacts history?

If so - could you tell me, how? Probably it’s somewhere in the files, but I can’t find it.

Cheers!

1 Like

Just make a normal backup in settings?

Make a backup on the old phone and restore it on the new phone

Will try, thank you!

The built-in backup includes regular SMS, notes, contacts etc. , but not MMS and its pictures.
If you search the forum you’ll find threads how to get MMS transferred also, I did something like this when moving from an Xperia 10 III to JP2, but search first and dont take my suggestion below as an absolute truth :wink:

Backup SMS/MMS db and folders with MMS/pictures (as root / devel-su):
tar -czvf /home/defaultuser/commhistory-mms.tgz /home/defaultuser/.local/share/commhistory/

Copy the file commhistory-mms.tgz into /home/defaultuser/ of the new phone
(via SSH or by SD card)

Backup current commhistory on the new phone:
mv /home/defaultuser/.local/share/commhistory /home/defaultuser/.local/share/commhistory.new

Unpack the tar file:
tar -xzvf /home/defaultuser/commhistory-mms.tgz -C /

Fix permissions if needed:
chown -R defaultuser:privileged /home/defaultuser/.local/share/commhistory

Finish with rebooting the phone:
reboot

6 Likes

Can also recommend the app “Syncthing”, very convenient for transferring files between your old phone and the new one.
(Also good for easy sync of files between desktop PC / laptop and your phone)
Available for many OS’es, and for Sailfish there is one in “Openrepos”, use the app “Storeman” for easy interaction with the Openrepos repository on a Sailfish device.

2 Likes

I got my JP2026, and tried importing history data. The first part ie. making a backup in XA10III was ok, I got the tar file copied to JP2026 and to Downloads folder.

But, trying to restore in JP2026; it only shows the backup that I made in JP2026, not also the backup from old phone. What I’m doing wrong here?

JP2026 :

[root@JollaPhone2026 defaultuser]# ls -l Downloads/
total
-rwxr-xr-x 1 defaultu defaultu 4870909440 Aug 16 10:37 sailfish_backup_2026-08-16T05-43-00Z.tar
-rwxr-xr-x 1 root root 47405568 Aug 16 12:25 sailfish_backup_2026-08-16T06-14-10Z.tar

the tar *05-43-00Z is from old phone.

Are you using the os built-in backup/restore, or some other method?
I remember having trouble transitioning from a Xperia X to a Xperia 10 III, the former using “nemo” user and the latter “defaultuser” user, needing some intervention to make the restore sucessful.

The backup is done to the SD card, right?

Why did you move(?) the old and new file to the new phone’s download directory? You may do so for archiving needs, only.

Just leave the backup file on SD card and go ahead.

Oh, and with root power comes a lot of responsibility. Do not copy/move as root, if not needed!

4 Likes

I used the built-ion backup/restore

Now I got it working, I believe the main point was to leave only the old phone’s backup tar to SD, then the restore found it and it got precessed successfully.

Thanks for comments and advice :slightly_smiling_face:

2 Likes