-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML export is incomplete #178
Comments
Hi! The XML output is supposed to implement the de facto standard SMS backup xml format, as Signal itself used to do. This standard does not include avatars (and many, many other things that exist in Signal). I should probably clarify this is the README, I thought I had, but reading that section that is clearly not the case. In fact that section is very badly written and gives hardly any information. I will try to fix this sometime next week when I have time. The XML output can be used to import messages into any program that supports the format (SMS Backup & Restore was the original I think). For example, people have successfully used this option to import their Signal history into iOS' messages app, and then from there into Signal iOS (which does not support backups (but also no longer supports SMS, so this does not work anymore)). I do not plan to add avatars into the XML format, because it's not in the schema (see here). And I don't know how 3rd party programs would react to unknown data. Also, Signal's internal data structure is large and complicated and even just defining a new schema to include all of it would be a big undertaking (let alone implementing it).
There are, tons of things 'missing'. What exactly is it you are trying to do? If you want a full decode of the backup file, just pass a directory to
Maybe this function would have been better named 'dumpattachments'... On the other hand, Signal itself uses 'media' for message attachments (and these also do not include avatars). To dump the avatars, there is Thanks! |
Thank you very much for your explanation. This explains the background behind the XML file. I was not aware of this after reading the documentation. And I can completely understand that you don't plan to extend the XML export. Perhaps I can pick up your tip to use the CSV export. (Or I could directly access the database.) But I'm missing the necessary background: I can't find a documentation about the relationship between the tables. And I can't determine the relationship to avatar files, attachment files etc. Any hint is greatly appreciated! To the background: I'm experimenting to convert the Signal messages to TiddlyWiki (https://tiddlywiki.com/). |
Specifically for avatars and attachments, I've recently explained matching them (tried to explain, at least) to entries in the SQL table here: #161 (comment) Explaining all links in the database would be time consuming. Generally speaking, many tables will have some field named One example: I have sent a message at time Let me know if you have any more specific questions. |
I've updated the README to better explain what the XML export is supposed to be. With that, I think this issue can be closed. But feel free to still ask for specific help on the database if you need it. Thanks! |
Looking at the XML export I observed that at least the avatars (image of person/group) are missing in the XML output. I would like to see it added. (As a side note: Even with
--dumpmedia
I can't find the avatars.)Since I'm not familiar with Signal's data structure I cannot oversee what else is also missing. But on further investigation I see that e.g. reactions and stickers are missing.
The text was updated successfully, but these errors were encountered: