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

搜尋 Mozilla 技術支援網站

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

了解更多

How to move the Firefox local directory from a SSD drive to another drive

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

more options

I have a Windows 10 PC running Firefox 80.0.1

I want to move the Firefox local directory from the SSD drive to a disk drive

Below is my profile,

C:\ = SSD drive. I wish to the Firefox local directory to my E:\ drive

Default Profile yes Root Directory C:\Users\Jor El\AppData\Roaming\Mozilla\Firefox\Profiles\ot2vfr1x.default-release-1 Local Directory C:\Users\Jor El\AppData\Local\Mozilla\Firefox\Profiles\ot2vfr1x.default-release-1

I have a Windows 10 PC running Firefox 80.0.1 I want to move the Firefox local directory from the SSD drive to a disk drive Below is my profile, C:\ = SSD drive. I wish to the Firefox local directory to my E:\ drive Default Profile yes Root Directory C:\Users\Jor El\AppData\Roaming\Mozilla\Firefox\Profiles\ot2vfr1x.default-release-1 Local Directory C:\Users\Jor El\AppData\Local\Mozilla\Firefox\Profiles\ot2vfr1x.default-release-1

所有回覆 (1)

more options

There is no need to transfer profile data in the "AppData\Local" location. This location is only used to store temporary data like the disk cache. All important personal data is stored in "AppData\Roaming". If you move a profile to a not standard location then data that was previously stored in "AppData\Local" will be stored in the new profile folder alongside with data you copied from "AppData\Roaming" (i.e. there is only one location used instead of two locations previously).

Note that best is to use the Profile Manager to create the new profile and only copy selected file because some files may contain absolute path names and thus point to the old profile.

You can copy certain files with Firefox closed to the current profile folder to recover personal data.

  • 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 (passwords) and key4.db (58+) or key3.db (57 and older) (decryption key) for Passwords saved in the Password Manager
    if you only have key3.db then make sure to remove an existing key4.db
  • cert9.db (58+) or cert8.db (57 and older) for (intermediate) certificates stored in the Certificate Manager
    if you only have cert8.db then make sure to remove an existing cert9.db
  • persdict.dat for words you added to the spelling 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)