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

搜索 | 用户支持

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

详细了解

I have successfully exported (and backed up) my bookmarks, but Firefox will not import the html file and also will not restore the bookmarks from the backup.

more options

I have created an html backup (and a backup json file) o my bookmarks in the desktop folder of my old machine, and then transferred it to my new PC (running Win 10 Pro, Firefox 48.0.2). I have tried both restore from backup and importing the html file with no results. When trying to restore from the json file I get this error: "Unable to process the backup file". When trying to import the html file, when you click on "open the file", nothing happens. When I open the json with notepad, all the bookmarks are there as they are supposed to be in one continuous string of text. If I open the html file, it opens in firefox as a web page and all bookmarks show up as links. It appears the backup and export are working properly and the files are not corrupted. Why won't this new and fresh installation of Firefox properly open these files?

I have created an html backup (and a backup json file) o my bookmarks in the desktop folder of my old machine, and then transferred it to my new PC (running Win 10 Pro, Firefox 48.0.2). I have tried both restore from backup and importing the html file with no results. When trying to restore from the json file I get this error: "Unable to process the backup file". When trying to import the html file, when you click on "open the file", nothing happens. When I open the json with notepad, all the bookmarks are there as they are supposed to be in one continuous string of text. If I open the html file, it opens in firefox as a web page and all bookmarks show up as links. It appears the backup and export are working properly and the files are not corrupted. Why won't this new and fresh installation of Firefox properly open these files?

被采纳的解决方案

I have no idea what is going wrong. I presume you are following the suggestions in

There is a third method of transferring bookmarks which may be better and may work. Are you able to back up the profile that is on the old machine, and then transfer that profile to the new machine.

Make copy of the file places.sqlite from the old profile and use that to overwrite the equivalent file in the new computer's profile.

If that fails then fallback to using the bookmarks backups that Firefox creates. Unfortunately you will lose History with this method. With Firefox closed delete the new machines places.sqlite (& any places.sqlite.wal or places.sqlite.shm) Now delete the new mchine's folder and its file contents bookmarkbackups before copying over a copy of the old machine's bookmarkbackups folder, plus contents. When you restart Firefox it should recreate a new database using the latest backup. The latest backup will be the copy file from the old machine.

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

I have no idea what is going wrong. I presume you are following the suggestions in

There is a third method of transferring bookmarks which may be better and may work. Are you able to back up the profile that is on the old machine, and then transfer that profile to the new machine.

Make copy of the file places.sqlite from the old profile and use that to overwrite the equivalent file in the new computer's profile.

If that fails then fallback to using the bookmarks backups that Firefox creates. Unfortunately you will lose History with this method. With Firefox closed delete the new machines places.sqlite (& any places.sqlite.wal or places.sqlite.shm) Now delete the new mchine's folder and its file contents bookmarkbackups before copying over a copy of the old machine's bookmarkbackups folder, plus contents. When you restart Firefox it should recreate a new database using the latest backup. The latest backup will be the copy file from the old machine.

more options

Using your third method, and by completely replacing the profile file, I got everything to update on the new machine. It is still strange that I could not import or restore by the usual methods. I will mark this solved, though I believe problems still exist...