Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I merge an old browsing history file into the current one?

  • 4 replies
  • 11 have this problem
  • 269 views
  • Last reply by cor-el

more options

Several weeks ago, the C: drive on my PC was replaced and Firefox was recreated before I could copy over my old profile to the new drive. I now want to recover the old browsing history, but of course the new profile already has its own, more recent, places.sqlite file that I do not want to lose.

How can I merge the two histories?

Several weeks ago, the C: drive on my PC was replaced and Firefox was recreated before I could copy over my old profile to the new drive. I now want to recover the old browsing history, but of course the new profile already has its own, more recent, ''places.sqlite'' file that I do not want to lose. How can I merge the two histories?

Chosen solution

That is not possible.
You can't merge the history.

A way to achieve this would be to use a separate profile and copy the places.sqlite file to that profile (delete an existing places.sqlite-journal file).
Use Copy and Paste to copy the history items to a bookmarks folder in the Bookmarks Menu folder.
Export the bookmarks to an HTML file and import that HTML file in the current Firefox profile.

Read this answer in context 👍 2

All Replies (4)

more options

Chosen Solution

That is not possible.
You can't merge the history.

A way to achieve this would be to use a separate profile and copy the places.sqlite file to that profile (delete an existing places.sqlite-journal file).
Use Copy and Paste to copy the history items to a bookmarks folder in the Bookmarks Menu folder.
Export the bookmarks to an HTML file and import that HTML file in the current Firefox profile.

more options

or set up firefox sync in the two profiles & sync the history data...

more options

I also found another solution: Firefox has an addon called SQLite Manager The history and bookmarks records are kept in a common SQLite database that can be edited with this addon. It can also import and export data from or to other tables.

I can import data from an old backup of places.sqlite that contains the links I am looking for and merge it into the current one. QED

more options

You can easily corrupt places.sqlite when you move items from history to bookmarks with the SQLite Manager extension. They both use different fields and tables and you would also need to rebuild the indexes.