Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜尋 Mozilla 技術支援網站

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

了解更多

What can be excluded from the Firefox profile folder when backing it up?

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

more options

I've moved my Firefox profile to a custom location (in My Documents). When I run a backup, I want to exclude files that can easily be regenerated when the profile is restored on another system. So far, my exclusion list is as follows:

D:\Documents\My Documents\Firefox\OfflineCache\*

D:\Documents\My Documents\Firefox\cache2\*

D:\Documents\My Documents\Firefox\minidumps\*

D:\Documents\My Documents\Firefox\safebrowsing\*

D:\Documents\My Documents\Firefox\storage\temporary\*

D:\Documents\My Documents\Firefox\parent.lock

Is this a safe list?

Are there additional folders that can safely be excluded? Keeping logins active upon restore is preferable (so keeping cookies, etc. is preferable).

Edit: The list above is safe, and when I tested the restore it works fine. The accepted answer lists some more folders that can be excluded, which I haven't yet tested but looking through them they look correct.

I've moved my Firefox profile to a custom location (in My Documents). When I run a backup, I want to exclude files that can easily be regenerated when the profile is restored on another system. So far, my exclusion list is as follows: D:\Documents\My Documents\Firefox\OfflineCache\* D:\Documents\My Documents\Firefox\cache2\* D:\Documents\My Documents\Firefox\minidumps\* D:\Documents\My Documents\Firefox\safebrowsing\* D:\Documents\My Documents\Firefox\storage\temporary\* D:\Documents\My Documents\Firefox\parent.lock Is this a safe list? Are there additional folders that can safely be excluded? Keeping logins active upon restore is preferable (so keeping cookies, etc. is preferable). Edit: The list above is safe, and when I tested the restore it works fine. The accepted answer lists some more folders that can be excluded, which I haven't yet tested but looking through them they look correct.

由 Shosha 於 修改

被選擇的解決方法

If you create the profiles not in the default location in "AppData\Roaming" then all files will be stored in that location.

I see these folders in the secondary location that contain temporary data and those folders can safely be excluded.

/cache2
/OfflineCache
/safebrowsing
/settings
/startupCache
/thumbnails

For other folders, probably only these are important:

/bookmarkbackups
/sessionstore-backups folder

You can also include these folders:

/extensions
/chrome (if you use userChrome.css or userContent.css)
從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

hi, Recovering important data from an old profile contains some information about where in the profile your important data is getting kept.

more options

http://portableapps.com/apps/internet/firefox_portable Mozilla Firefox, Portable Edition

https://portableapps.com/apps/internet/firefox-portable-esr Mozilla Firefox ESR, Portable Edition

A fully functional package of Firefox optimized for use on a USB key drive. A specialized launcher will allow most favorite extensions to work as you switch computers.

Firefox Portable is a 3rd-party build. Support is available here: http://portableapps.com/forums/support/firefox_portable

You can use sync to share data between profiles. But some data cannot be shared between different versions.

more options

The list of excluded directories in the OP is safe. I've tested this and restored the profile on a different computer and Firefox started up without issues, with the exact state as it was saved.

more options

選擇的解決方法

If you create the profiles not in the default location in "AppData\Roaming" then all files will be stored in that location.

I see these folders in the secondary location that contain temporary data and those folders can safely be excluded.

/cache2
/OfflineCache
/safebrowsing
/settings
/startupCache
/thumbnails

For other folders, probably only these are important:

/bookmarkbackups
/sessionstore-backups folder

You can also include these folders:

/extensions
/chrome (if you use userChrome.css or userContent.css)