Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 4 svar
  • 11 har detta problem
  • 1 visning
  • Senaste svar av 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?

Vald lösning

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.

Läs svaret i sitt sammanhang 👍 2

Alla svar (4)

more options

Vald lösning

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.