搜尋 Mozilla 技術支援網站

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

Learn More

How can I recover a corrupted logins.json file?

  • 2 回覆
  • 1 有這個問題
  • 9 次檢視
  • 最近回覆由 FredMcD

more options

This morning I somehow corrupted my Logins-json file and now I am missing all my logins and passwords. Is there any way to recover the corrupted file. The last profile backup is from 2018.

This morning I somehow corrupted my Logins-json file and now I am missing all my logins and passwords. Is there any way to recover the corrupted file. The last profile backup is from 2018.

所有回覆 (2)

more options

What did you do that the logins.json file got corrupted ?

Do you possibly have a logins-backup.json in the profile folder that you can use instead (i.e rename the file to logins.json)? Keep a backup copy of logins.json and logins-backup.json and key4.db.

Note that you should always keep a backup copy when you edit a file. You can open a JSON file in a Firefox tab to ensure that the file is proper JSON.

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.