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

搜索 | 用户支持

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

详细了解

Any IT gurus out there who know Firefox...have lost saved passwords when FF created a new profile and deleted the old profile key3.dbf and logins.json files.

more options

Any IT gurus out there who know Firefox...have lost saved passwords when FF created a new profile and deleted the old profile key3.dbf and logins.json files. Any ideas, anyone???

Any IT gurus out there who know Firefox...have lost saved passwords when FF created a new profile and deleted the old profile key3.dbf and logins.json files. Any ideas, anyone???

被采纳的解决方案

So there isn't a logins.json file?

I see a key3.db file and an older signons.sqlite file, so you could try to see if you can import the passwords stored in this file.

You can force Firefox to reimport the passwords from the signons.sqlite file and rebuild the logins.json file with these steps:

  • reset the signon.importedFromSqlite pref on the about:config page to the default value via the right-click context menu
  • delete the logins.json file in the Firefox profile folder with Firefox closed

When you restart Firefox then you should have the signon.importedFromSqlite pref with the value set to true. You should have the passwords imported in the Password Manager unless there have been errors either with signons.sqlite or with key3.db.

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.

You can use this button to go to the current Firefox profile folder:

定位到答案原位置 👍 1

所有回复 (5)

more options

Do you mean that Firefox didn't create an "Old Firefox Data" folder on the desktop or did you delete this folder?

Did you check the default location used for profiles to see if the profile folder is still in place?

You can use this button to go to the current Firefox profile folder and move up one level,

If you do not have a backup of the logins.json (or possibly signons.sqlite) and key3.db files then you passwords are likely lost.

more options

These can't get your data back, but will help in the future.

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 backup of files that you choose.

OPIE {web link} Import/Export extension preferences


In the event that the passwords information is lost, you should record all information in a separate text file somewhere else on your hard drive, or written down. You can easily copy and paste if you need to do so. If you are concerned about someone else looking at that file, you can compress it using a password.

more options

cor-el said

Do you mean that Firefox didn't create an "Old Firefox Data" folder on the desktop or did you delete this folder? Did you check the default location used for profiles to see if the profile folder is still in place? You can use this button to go to the current Firefox profile folder and move up one level, If you do not have a backup of the logins.json (or possibly signons.sqlite) and key3.db files then you passwords are likely lost.

Hello and thanks so much for your reply. The attached immage shows what was left of the old profile folder the dbf has since updated!?! Nothing on Desktop and the new profile folder has the (new) current data. Major headache :(

more options

选择的解决方案

So there isn't a logins.json file?

I see a key3.db file and an older signons.sqlite file, so you could try to see if you can import the passwords stored in this file.

You can force Firefox to reimport the passwords from the signons.sqlite file and rebuild the logins.json file with these steps:

  • reset the signon.importedFromSqlite pref on the about:config page to the default value via the right-click context menu
  • delete the logins.json file in the Firefox profile folder with Firefox closed

When you restart Firefox then you should have the signon.importedFromSqlite pref with the value set to true. You should have the passwords imported in the Password Manager unless there have been errors either with signons.sqlite or with key3.db.

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.

You can use this button to go to the current Firefox profile folder:

more options

Thank you so much - that worked a treat.

Very, very much appreciated.

Best wishes