Recently Safari had a glitch and wiped out my browsing history. I only discovered this after a couple weeks but had a backup that ran up to almost the day of the loss. I've restored the history from that backup, and would like to append the recent history since the loss. Is there a way to do that? Specifically is there a process I can used to take one set of backup files (History.db-shm
, History.db-wal
, and History.db
) and merge them into another set?
MacOS – way to merge Safari history databases
backupbrowser-historydatabasemacossafari
Related Question
- MacOS – I accidentally removed way too many files with `rm -rf`. Anyway to recover
- Safari – History Disappears Despite Settings
- Prove that I visited a site for medical school interview
- Time Machine – Why TimeMachine Generates Large Backups and How to Optimize Them
- IPhone – Is it possible to temporarily skip media restore in WhatsApp
- WhatsApp – What Happens When WhatsApp from an Old Phone is Connected Again
Best Answer
Keep one set in Safari and insert the other into another browser and then import it in Safari.
Chrome should work fine for that. https://github.com/Roman2K/hist_safari2chrome
Create a db file for Chrome and replace the empty one under the folder for Chromium in ~/Library.
Quit Chrome and import History in Safari.
Better way is to use sqlite to merge them.. but I'm illiterate in that language.