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

搜索 | 用户支持

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

详细了解

Unable to restore bookmarks from old version of Firefox

  • 9 个回答
  • 1 人有此问题
  • 40 次查看
  • 最后回复者为 TimWilcox

more options

I downloaded version 38.0.1but my bookmarks then disappeared. I restored the places.sqlite file to the x1a09m34.default file under library/application support/firefox/profiles from my Mac Time Machine and also the .json files from before the new version was downloaded. However when I go to restore the places.sqlite file using 'restore' and 'choose file' it says 'unsupported file type' and if I choose a .json file it says 'unable to process'. So I am stuck....help!

I downloaded version 38.0.1but my bookmarks then disappeared. I restored the places.sqlite file to the x1a09m34.default file under library/application support/firefox/profiles from my Mac Time Machine and also the .json files from before the new version was downloaded. However when I go to restore the places.sqlite file using 'restore' and 'choose file' it says 'unsupported file type' and if I choose a .json file it says 'unable to process'. So I am stuck....help!

所有回复 (9)

more options

The method you are using only works for backed up json files. Also there was an update to how this works a while back, how old was your previous version of Firefox?

In order to restore the places.sqlte file, it needs to be manually put into the active profile folder. Open the folder by going to about:support and scroll down and press the button to open up the Profile Folder. Copy the file to overwrite the other places.sqlite and that should do it.

more options

Are that compressed JSON backups with a .jsonlz4 file extension?

Make sure to remove all other places files like places.sqlite-shm and places.sqlite-wal when you place another places.sqlite file in the Firefox profile folder.

Remove all places.sqlite file(s) in the Firefox profile folder to make Firefox rebuild the places.sqlite database from the most recent JSON backup (bookmarks-YYYY-MM-DD_<item count>_<hash>.json) in the bookmarkbackups folder.

more options

cor-el said

Are that compressed JSON backups with a .jsonlz4 file extension? Make sure to remove all other places files like places.sqlite-shm and places.sqlite-wal when you place another places.sqlite file in the Firefox profile folder. Remove all places.sqlite file(s) in the Firefox profile folder to make Firefox rebuild the places.sqlite database from the most recent JSON backup (bookmarks-YYYY-MM-DD_<item count>_<hash>.json) in the bookmarkbackups folder.

Thanks both I'm afraid no fix worked. Maybe the old Firefox was too old. I'll just have to start all over again. This is very annoying...

more options

You didn't tell us if you have an uncompressed .json backup or a compressed .jsonlz4.

Can you confirm what backup type you have?

more options

cor-el said

Are that compressed JSON backups with a .jsonlz4 file extension? Make sure to remove all other places files like places.sqlite-shm and places.sqlite-wal when you place another places.sqlite file in the Firefox profile folder. Remove all places.sqlite file(s) in the Firefox profile folder to make Firefox rebuild the places.sqlite database from the most recent JSON backup (bookmarks-YYYY-MM-DD_<item count>_<hash>.json) in the bookmarkbackups folder.

Only some new file files created after the installation of Firefox 38.0.1 in the 'bookmarks backup' folder have the file etension .jsonlz4 No files in the Time Machine backup from which I have attempted to restore my places have this file extension. When Firefox opens it seems to automatically load new 'places' or 'session' files even if I've put all '.places' files in the trash and emptied them out before replacing the right '.places' file from Time Machine from the old version of Firefox. I am now totally confused as to the relationship between these 'places. files and .json files. The new version seems to be set to only accept .json files unless you select 'all files' to show 'places' then it doesn't like these. I am no computer bod and this is frankly all getting beyond my abilities...thanks anyway

more options

The JSON backups are backups that you can create manually or that Firefox creates automatically when changes are detected (i.e. the calculated hash that is part of the name is different). Current Firefox version compress these automatically created backups and give them a .jsonlz4 file extension. If the backups in the time machine are very old then they may not be compatible with current releases.

What file dates (time stamp) do these backups have?

If the files are not compressed (i.e. have a .json file extension) then you can inspect them in the Scratchpad (Firefox/Tools > Web Developer). Click the "Pretty Print" button to format the file for readability (a JSON backup is one long line without line breaks).

由cor-el于修改

more options

cor-el said

The JSON backups are backups that you can create manually or that Firefox creates automatically when changes are detected (i.e. the calculated hash that is part of the name is different). Current Firefox version compress these automatically created backups and give them a .jsonlz4 file extension. If the backups in the time machine are very old then they may not be compatible with current releases. What file dates (time stamp) do these backups have? If the files are not compressed (i.e. have a .json file extension) then you can inspect them in the Scratchpad (Firefox/Tools > Web Developer). Click the "Pretty Print" button to format the file for readability (a JSON backup is one long line without line breaks).

OK I did that and I can see the names of sites and pages that were in my bookmarks before the upgrade (surrounded by computer gibberish and numbers). So what use are they now? They won't open or run

more options

You can only restore a JSON backup in a Firefox version that is compatible with this backup. You would have to install this older Firefox version temporarily to be able to restore the bookmarks and then update to the current release or create an HTML backup.

You didn't answer my question about the time stamps of those backups, so could you please do that?


There are methods described in this MozillaZine forum thread to extract links from from a bookmarks JSON backup.

more options

cor-el said

You can only restore a JSON backup in a Firefox version that is compatible with this backup. You would have to install this older Firefox version temporarily to be able to restore the bookmarks and then update to the current release or create an HTML backup. You didn't answer my question about the time stamps of those backups, so could you please do that?

There are methods described in this MozillaZine forum thread to extract links from from a bookmarks JSON backup.

20 May 2015