Importing history data from previous Sailfish OS phone

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