為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.