為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I just inadvertently deleted all my saved logins/passwords. can I get them back?

  • 3 回覆
  • 6 有這個問題
  • 1 次檢視
  • 最近回覆由 AliceWyman

more options

I just inadvertently deleted all my saved logins/passwords. can I get them back?

I just inadvertently deleted all my saved logins/passwords. can I get them back?

所有回覆 (3)

more options

Hi   !
You should be able to recover your passwords by using a Windows trick called "Previous versions".
See : https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_finding-your-profile-without-opening-firefox

You'll need to navigate to your Firefox profile folder and right-click the profile folder itself to see an older version of it. Select "Restore previous versions" on the folder; find a folder dated before this happened and backup/copy the entire folder to another location.

You can also just copy the signons.sqlite and key3.db files. You MUST copy both these files together as they are connected to each other. key3.db does the encryption and signons.sqlite stores the passwords. It may be enough to just copy the old signons.sqlite file and drop it in the profile folder since the key3.db file might not have changed. You can experiment with that to see if that works.

more options

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.


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

https://addons.mozilla.org/en-US/firefox/addon/febe/ FEBE (Firefox Environment Backup Extension)

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.

https://addons.mozilla.org/en-US/firefox/addon/opie/ OPIE

Import/Export extension preferences

more options

Happy112 said

Hi   !
You should be able to recover your passwords by using a Windows trick called "Previous versions". <snip>

To Happy112: Thanks so much for that answer. A link to this thread was posted on MozillaZine's Firefox Support forum and it helped another user recover his missing logins/passwords. See: http://forums.mozillazine.org/viewtopic.php?f=38&t=3031810 Posted 16 Jul 2017 by KasperskyITA (quote) Thank you very much for the information. I solved taking a version of a week ago of the key3.db and logins.json files.

Note that passwords are stored in the key3.db and logins.json files in current Firefox versions. Ref: https://support.mozilla.org/kb/profiles-where-firefox-stores-user-data#w_what-information-is-stored-in-my-profile aw

由 AliceWyman 於 修改