Import selected SMS from a backup [answered]
I accidentially deleted all SMS of one contact. So I went to a backup of two days earlier, opened /home/nemo/.local/share/commhistory/commhistory.db
in sqlite3
and extracted the relevant rows:
.mode insert Events
.output foo.sql
select * from Events where type = 2 and remoteUid LIKE '%12345';
I copied the resulting foo.sql
to my Jolla and imported it with
sqlite3 /home/nemo/.local/share/commhistory/commhistory.db < foo.sql
and the new rows are definitely there and were not there before.
However, they are not shown in the messaging app. Do I need to copy more, or update some kind of index?
Is it possible to restore them from the
commhistory-tool_groups.dump
?I did a backup and a reset of the phone. After the update marathon i wanted to restore the backup, but Sailfish couldn't find it. . The backup is called
sailfish_backup_2017-01-05T11-35-18Z.tar
and ContainsI find in it the
Linus Kasch ( 2017-01-05 23:09:18 +0200 )editcommhistory-tool_groups.dump
Can I some how restore the SMS communication?