Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Windows 11 laptop crashed. Got new laptop. Put old disc in new laptop. Can't find bookmark file for new copy of Firefox.

more options

Laptop crashed. Motherboard pbm. I pulled the hard drive and installed it in the new laptop. Old drive has current copy of Firefox. But I never created a backup file for the bookmarks. Is there any way to recover the bookmarks from the previous Firefox? I have the complete Firefox on that disc. It ran last week. I can't find any bookmark files.

I've gone through all the bookmark importing help topics. Nothing works.

Laptop crashed. Motherboard pbm. I pulled the hard drive and installed it in the new laptop. Old drive has current copy of Firefox. But I never created a backup file for the bookmarks. Is there any way to recover the bookmarks from the previous Firefox? I have the complete Firefox on that disc. It ran last week. I can't find any bookmark files. I've gone through all the bookmark importing help topics. Nothing works.

所有回复 (5)

more options

Firefox uses two locations in the hidden "AppData" location for the Firefox profile folder. One location in "AppDataRoaming" for personal data like bookmarks and logins and another location in "AppDataLocal" for temporary files like the disk cache.

Primary location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>

See also:

You can copy certain files with Firefox closed from another profile or backup to the current profile folder to transfer personal data. Note that best is to avoid restoring a full profile folder and only restore important files that are safe to restore/transfer.

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).


  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (encrypted logins) and key4.db (encryption key/primary password) for logins saved in the Password Manager
  • cert9.db for certificates stored in the Certificate Manager
  • persdict.dat for words added to the spell checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)
more options

Thanks for the help. I found the places.sqlite file on the old disc and replaced the new one with the old one. I now see all my old bookmarks.

However, when I click on any of the toolbar bookmarks, Firefox brings up the Firefox login page or it's Add-Ons page. Some of the bookmarks bring up completely different web pages unrelated to the bookmark.

Very strange. Did I do something wrong, or not complete this change?

more options

Oh, and Firefox will no longer bookmark anything.

more options

If you use Sync, best is to disconnect Sync temporarily during troubleshooting.

This could be a problem with the places.sqlite and favicons.sqlite files in the Firefox profile folder.

  • use the "Places Database" -> "Verify Integrity" button on the "Help -> More Troubleshooting Information" (about:support) page

If errors are reported with "Verify Integrity", close and restart Firefox or reboot and retry.

If "Verify Integrity" cannot repair places.sqlite, rename/remove all places.sqlite and favicons.sqlite files in the Firefox profile folder with Firefox closed. Firefox will rebuild places.sqlite and restore the bookmarks from the most recent JSON backup in the bookmarkbackups folder.

  • keep a backup copy of places.sqlite in case a new places.sqlite database has to be created
  • you lose the history when a new places.sqlite is created

You may have to restore an older bookmarks backup in the bookmarkbackups folder via the Bookmarks Manager (Library).

See also:

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

Note that you may have to create a new profile and start from scratch in case some files you copied are corrupted due to the crash.

more options

I removed all toolbar bookmarks. All the other older bookmarks are now going to the correct web pages. I still have the problem that Firefox will not bookmark any web page anywhere other than on the toolbar.

Removed both places.sqlite and favicons.sqlite files and restarted Firefox. No change. Still cannot bookmark anything other than on the toolbar.

I know I've missed something, but can't figure out what it is.