This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Restoring history from a second device with Sync

  • 2 replies
  • 1 has this problem
  • 124 views
  • Last reply by cha.warren

more options

Hello,

IT support wiped my browser history on Laptop A. I also have Laptop B, which hasn't been used in a couple of weeks, and which is connected to Laptop A through Sync. Ideally I'd like to import the history from Laptop B to Laptop A, as this would be an almost total restore.

Laptop A losing its history is the most recent activity though, and I'm worried that as soon as I open Firefox on Laptop B, Sync will overwrite B's history with the (now blank) history from A.

So, is it possible to get B's data onto A through Sync, without A wiping B? Can I generate a backup from B through other means without Sync overwriting it?

Many thanks,

Charlotte

Hello, IT support wiped my browser history on Laptop A. I also have Laptop B, which hasn't been used in a couple of weeks, and which is connected to Laptop A through Sync. Ideally I'd like to import the history from Laptop B to Laptop A, as this would be an almost total restore. Laptop A losing its history is the most recent activity though, and I'm worried that as soon as I open Firefox on Laptop B, Sync will overwrite B's history with the (now blank) history from A. So, is it possible to get B's data onto A through Sync, without A wiping B? Can I generate a backup from B through other means without Sync overwriting it? Many thanks, Charlotte

Chosen solution

cor-el, you put me on the right track! I got my history back through Laptop B's places.sqlite file, after disabling Sync on each so that Laptop A wouldn't overwrite it.

I'll show my work, in case it helps others:

- Turned off syncing on Laptop A. (Also turned off the internet, unnecessary but it made me feel better.)

- Exported bookmarks to html.

- Booted up Laptop B, opened Firefox, turned off syncing.

- Made a copy of places.sqlite and transferred it to Laptop A.

- I couldn't overwrite A's places.sqlite file with B's (permissions issue), so I renamed A's to places-postwipe.sqlite and then dragged in the file from B.

- Imported my bookmarks back in from the html file.

Now I have all of my bookmarks and most of my history. Thank you!

Read this answer in context 👍 0

All Replies (2)

more options

Syncing history has its limits.

  • Synced history expires in 60 days.
  • New history is only uploaded for the last 30 days.

Note that you can backup places.sqlite to have a copy of the history (places.sqlite stores bookmarks and history) and possibly transfer this file to another profile. You lose bookmarks that aren't in this places.sqlite copy, so you may want to create an HTML or JSON backup on beforehand to be able to restore the bookmarks

You can look at this NirSoft utility to inspect or backup history:

more options

Chosen Solution

cor-el, you put me on the right track! I got my history back through Laptop B's places.sqlite file, after disabling Sync on each so that Laptop A wouldn't overwrite it.

I'll show my work, in case it helps others:

- Turned off syncing on Laptop A. (Also turned off the internet, unnecessary but it made me feel better.)

- Exported bookmarks to html.

- Booted up Laptop B, opened Firefox, turned off syncing.

- Made a copy of places.sqlite and transferred it to Laptop A.

- I couldn't overwrite A's places.sqlite file with B's (permissions issue), so I renamed A's to places-postwipe.sqlite and then dragged in the file from B.

- Imported my bookmarks back in from the html file.

Now I have all of my bookmarks and most of my history. Thank you!

Modified by cha.warren