KnugiHK / WhatsApp-Chat-Exporter

A customizable Android and iOS/iPadOS WhatsApp database parser that will give you the history of your WhatsApp conversations in HTML and JSON. Android Backup Crypt12, Crypt14, Crypt15, and new schema supported.
https://wts.knugi.dev/
MIT License
628 stars 88 forks source link

[FEATURE] Merging multiple backups together #80

Open anaxonda opened 10 months ago

anaxonda commented 10 months ago

Is your feature request related to a problem? Please describe. I have whatsapp backups from the same phone number, and from different phones and time periods.

Describe the solution you'd like It would be great to merge them together to view all chat continuously.

Additional context I'm inspired to ask this by https://github.com/bepaald/signalbackup-tools that has this capability for Signal backups. In that case the databases are merged before html export. I guess that is a bit tricker (although very useful), but perhaps also the outputted html files can be merged if they match the same contact/conversation?

deyloTT commented 7 months ago

Is your feature request related to a problem? Please describe. I have whatsapp backups from the same phone number, and from different phones and time periods.

Describe the solution you'd like It would be great to merge them together to view all chat continuously.

Additional context I'm inspired to ask this by https://github.com/bepaald/signalbackup-tools that has this capability for Signal backups. In that case the databases are merged before html export. I guess that is a bit tricker (although very useful), but perhaps also the outputted html files can be merged if they match the same contact/conversation?

Hey I am also looking for a similar solution. Have you found a way as yet?

KnugiHK commented 7 months ago

Since multiple users request this feature, I will give a quick response here.

The ability to merge backups seems to me that it is more suitable to be a separate project. However, I'm not entirely closing the door on the idea. There's a chance I might reconsider and incorporate it into the exporter or implement it in a new project in the future. As a result, I'll keep this issue open until further notice.

fschuh commented 5 months ago

I'm also looking for a similar functionality. This can be useful not only for merging backups across different devices, but also if you want to delete some Whatsapp media to free up space on your device and still want to preserve a full backup of all the chats, including any deleted messages. Deleting media causes messages to be deleted from the device chats but I would like to keep them in my chat backups indefinitely.

Being able to merge an older backup that still has all the media with a newer backup that no longer has them would be extremely useful. Merging would have it behave sort of like an incremental backup, i.e. newer messages would be added to an existing backup.

This way we could freely delete media to keep the Whatsapp database small on our phones, and still be able to have a full incremental backup containing everything including deleted messages.