PINE64
Help wanted: location of calls and chatty data files - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Help wanted: location of calls and chatty data files (/showthread.php?tid=12588)



Help wanted: location of calls and chatty data files - dukla2000 - 12-21-2020

Does anyone know the location of (phosh) calls & chatty data files, please?

I have been able to do a reasonable backup of my home directory and restore it e.g. from Mobian to Arch by brute force copying the entire directory. Which handily preserves my phone call and SMS history. However my home directory has become rather bloated due to various experiments/roll backs and so I want to start from scratch but would like to copy those histories. I imagine somewhere in ~/.local and/or ~/.cache but have yet to isolate things accurately.

TIA


RE: Help wanted: location of calls and chatty data files - ryo - 12-21-2020

(12-21-2020, 08:17 PM)patrickmollohan Wrote: I'm not sure where the call history is, though.
~/.local/share/calls/records.db
I believe.
I didn't verify myself, since my call history contains nothing but test calls to and from my own iPhone, and it makes no sense to talk to myself over the phone.


RE: Help wanted: location of calls and chatty data files - dukla2000 - 12-22-2020

(12-21-2020, 08:17 PM)patrickmollohan Wrote: I believe the Chatty history is in ~/.purple/chatty/db/chatty-history.db
I'm not sure where the call history is, though.

Thank you - think this was the key for calls as well. I copied the entire ~/.purple/ directory for good measure.

(12-21-2020, 08:23 PM)ryo Wrote:
(12-21-2020, 08:17 PM)patrickmollohan Wrote: I'm not sure where the call history is, though.
~/.local/share/calls/records.db
I believe.
I didn't verify myself, since my call history contains nothing but test calls to and from my own iPhone, and it makes no sense to talk to myself over the phone.

Thank you too: I had copied the whole of ~/.local/share/calls/ already but my call history only showed up after I copied the .purple directory as well. Odd - can verify with absolute certainty next time I try some housekeeping!

Many thanks again - issue marked as resolved.


RE: Help wanted: location of calls and chatty data files - israel - 06-13-2022

I wanted to add in the specific information for those looking at this in the future:
From the mobian wiki:
SMS are stored in a sqlite database under
Code:
/home/mobian/.purple/chatty/db/chatty-history.db
. Backup that database, and open it, using e.g. the Qt-based
Code:
sqlitebrowser
(available in Debian/Mobian) or the
Code:
sqlite3
command line. All your messages are in there in the message table.