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

搜索 | 用户支持

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

详细了解

Where is Firefox bookmark file / how can I move it

  • 3 个回答
  • 3 人有此问题
  • 84 次查看
  • 最后回复者为 Amazone

more options

I know where the Firefox map is (C:\Users\MyName\AppData\Roaming\Mozilla\Firefox\Profiles\e8sn4xgq.default) - here I find a map Bookmarkbackups but I cannot find the actual Bookmarks. My problem is that I have all my data on a seperate partition. I now and then make images of my C partition and sometimes need to return to an earlier image. I just now discovered that I loose all Firefox Bookmark changes when I do that.

I also know how to export the bookmarks to an html file an my D partition. But I need to remember doing that regularly.

With Internet Explorer it is possible to change the location of the bookmarks. Whenever I return to an earlier image of my C partition my Favourites stay unchanged on D Couldn't this be done with Firefox?

I know where the Firefox map is (C:\Users\MyName\AppData\Roaming\Mozilla\Firefox\Profiles\e8sn4xgq.default) - here I find a map Bookmarkbackups but I cannot find the actual Bookmarks. My problem is that I have all my data on a seperate partition. I now and then make images of my C partition and sometimes need to return to an earlier image. I just now discovered that I loose all Firefox Bookmark changes when I do that. I also know how to export the bookmarks to an html file an my D partition. But I need to remember doing that regularly. With Internet Explorer it is possible to change the location of the bookmarks. Whenever I return to an earlier image of my C partition my Favourites stay unchanged on D Couldn't this be done with Firefox?

被采纳的解决方案

You can make Firefox create an automatic HTML backup (bookmarks.html) when Firefox is closed by setting browser.bookmarks.autoExportHTML to true on the about:config page.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

This HTML backup is created by default in the profile folder as bookmarks.html every time you close Firefox, but you can set the path and file name via the browser.bookmarks.file pref on the about:config page.

The browser.bookmarks.file pref doesn't exist by default and you need to create a new String pref with the name browser.bookmarks.file and set the value to the full path of the backup bookmarks.html file including the file name.

Note: an HTML backup doesn't preserve tags and annotations, so you lose those if you need to import the HTML backup.

定位到答案原位置 👍 1

所有回复 (3)

more options

The problem is you are overwritting the files with the current data with older data. Why are you sometimes need to return to an earlier image?


This can be used to create a backup of your profile anywhere you want, including another hard drive.


These add-ons can be a great help by backing up and restoring Firefox

FEBE (Firefox Environment Backup Extension) {web link} FEBE allows you to quickly and easily backup your Firefox extensions, history, passwords, and more. In fact, it goes beyond just backing up -- It will actually rebuild your saved files individually into installable .xpi files. It will also make backups of files that you choose.

OPIE {web link} Import/Export extension preferences


Mozilla Firefox, Portable Edition {web link} 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.

more options

选择的解决方案

You can make Firefox create an automatic HTML backup (bookmarks.html) when Firefox is closed by setting browser.bookmarks.autoExportHTML to true on the about:config page.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

This HTML backup is created by default in the profile folder as bookmarks.html every time you close Firefox, but you can set the path and file name via the browser.bookmarks.file pref on the about:config page.

The browser.bookmarks.file pref doesn't exist by default and you need to create a new String pref with the name browser.bookmarks.file and set the value to the full path of the backup bookmarks.html file including the file name.

Note: an HTML backup doesn't preserve tags and annotations, so you lose those if you need to import the HTML backup.

more options

Thanks to both of you for your answers. I started by installing Febe and now have automatic backups.

Still this automatic backup requires me to remember to restore Firefox every time I go back to an earlier image. Being able to move the Firefox bookmarks to another partition would be better.

"Why are you sometimes need to return to an earlier image?" I know few people see the use of imaging software. I have used it very often already. Sometimes when a program starts acting up strangely - sometimes after installing a new program that causes problems. Lately I used it to go back to Windows7 after having tried Windows 10 Free upgrade. Thanks to imaging software my 8 year old Dell desktop still runs smoothly.

由Amazone于修改