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

搜尋 Mozilla 技術支援網站

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

了解更多

Restoring Bookmarks from another drive

  • 1 回覆
  • 0 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

I have been using Firefox for well over a decade. Recently, I had to reformat my boot drive, the hard drive C drive.

I lost programs, but not files, as I had done a simple copy of the entire file structure, directories, files, everything, to an external drive. However, I stupidly forgot to export the firefox bookmarks first. So i have a brand new firefox install, but no bookmarks.

Can someone please direct me to where I would go on the external drive to get all my old firefox bookmarks, and the best way to import them into my new installation?

Thank you.

I have been using Firefox for well over a decade. Recently, I had to reformat my boot drive, the hard drive C drive. I lost programs, but not files, as I had done a simple copy of the entire file structure, directories, files, everything, to an external drive. However, I stupidly forgot to export the firefox bookmarks first. So i have a brand new firefox install, but no bookmarks. Can someone please direct me to where I would go on the external drive to get all my old firefox bookmarks, and the best way to import them into my new installation? Thank you.

所有回覆 (1)

more options

Firefox uses two locations for the Firefox profile folder.

One location for your personal data (e.g. bookmarks) and another location for temporary files like the disk cache, so make sure to look in the correct location.

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>

Location used for the disk cache and other temporary files (Local Directory on about:profiles).

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

You can copy certain files with Firefox closed to the current profile folder to transfer/recover/backup your personal data. Note that best is to avoid copying a full profile folder.


  • 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 (decryption key and 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)