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

搜索 | 用户支持

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

详细了解

bookmarks - backing up and restoring???

  • 2 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 danflester

more options

OK, I'm having a LOT of trouble with my sync, and bookmark archiving. If I export my bookmarks as html, and import them, none are in folders anymore! As far as I can tell, asking Firefox to "restore" from a particular date does something similar. The only way I understand to back up my bookmarks, and more them to another machine in an organized way is with the Profile folder (and profile.ini file). When I share that folder and that file, everything is copied exactly, and organized properly. So that being the case, what the h are "backup", "restore", "import" and "export" useful for?

If there some writeup on EXACTLY how to manage bookmark backups in Firefox? I've never seen one. You'd like to believe that when you "restore" your bookmarks, they end up organized the way they were originally.

OK, I'm having a LOT of trouble with my sync, and bookmark archiving. If I export my bookmarks as html, and import them, none are in folders anymore! As far as I can tell, asking Firefox to "restore" from a particular date does something similar. The only way I understand to back up my bookmarks, and more them to another machine in an organized way is with the Profile folder (and profile.ini file). When I share that folder and that file, everything is copied exactly, and organized properly. So that being the case, what the h are "backup", "restore", "import" and "export" useful for? If there some writeup on EXACTLY how to manage bookmark backups in Firefox? I've never seen one. You'd like to believe that when you "restore" your bookmarks, they end up organized the way they were originally.

所有回复 (2)

more options

You write about an HTML backup above. Importing an HTML backup merges the bookmarks with the current bookmarks, but sometimes things goes wrong and all bookmarks end up in the Bookmarks Menu folder.

Restoring a JSON backup, either one you created yourself or an automatically created backup in the bookmarkbackups folder, replaces all current bookmarks with the bookmarks in this backup and should place all bookmarks in the correct folders. If this goes wrong then there is likely a problem with places.sqlite or possibly favicons.sqlite.


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

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.


  • 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;32+) and key4.db (decryption key;58+) for Passwords saved in the Password Manager
    key3.db support ended in 73+; to use key3.db in 58-72, make sure to remove key4.db
  • cert9.db (58+) for (intermediate) 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. I didn't try json, and I will see if that works better. But why doesn't "restore" really restore in an organized way? Is it supposed to, but just not working right in my implementation? That would be ideal if "restore" really restored with all folders intact. I call "restore" making it look like it once did. Doesn't do that for me.

If I still have trouble, should I dump places.sqlite and favicons.sqlite?

Yes, the html merging is inconvenient.

由danflester于修改