X
點擊此處開啟此網站的行動版。

技術支援討論區

How do I backup firefox's password database?

Vas
已張貼

When I tried to backup my firefox appdata from synctoy, it kept throwing an error on logins.json, which is required to copy my passwords over.

I tried to manually copy the file, and it threw an error saying I don't have permissions. I checked permissions, I do have permissions. Mozilla somehow hard coded the file with some kind of superlock, and I need to find a way to get past it so I can backup firefox. I'm kinda pissed because now my data is at risk on a computer that is failing and I have to sit here and wait for a damn answer while my laptop motherboard dies a little more each day.

When I tried to backup my firefox appdata from synctoy, it kept throwing an error on logins.json, which is required to copy my passwords over. I tried to manually copy the file, and it threw an error saying I don't have permissions. I checked permissions, I do have permissions. Mozilla somehow hard coded the file with some kind of superlock, and I need to find a way to get past it so I can backup firefox. I'm kinda pissed because now my data is at risk on a computer that is failing and I have to sit here and wait for a damn answer while my laptop motherboard dies a little more each day.
附加的畫面擷圖

被選擇的解決方法

Oddly, rebooting fixed the file, I don't know how or why, but somehow when I rebooted, the logins file started to work again. I just don't get it, I checked everything in trying to find why the file was locked.

從原來的回覆中察看解決方案 0
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 26.0 r0

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

更多資訊

jscher2000
  • Top 10 Contributor
8767 個解決方法 71704 個答案

I'm not familiar with SyncToy. However, if it needs administrator privileges to copy a file, would it work to use "Run as Administrator" with SyncToy?

I'm not familiar with SyncToy. However, if it needs administrator privileges to copy a file, would it work to use "Run as Administrator" with SyncToy?
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17534 個解決方法 158551 個答案

You did make sure that Firefox was closed when you made the backup ? For the passwords you need logins.json and key4.db with the latter storing the encryption key.

Did you check the properties of the logins.json file ?

Do you possibly have security software that might be interfering ? What security software do you have?

You can check which process has a file handle on a file with the process explorer utility.

You did make sure that Firefox was closed when you made the backup ? For the passwords you need logins.json and key4.db with the latter storing the encryption key. Did you check the properties of the logins.json file ? Do you possibly have security software that might be interfering ? What security software do you have? You can check which process has a file handle on a file with the process explorer utility. *https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
這篇文章有幫助嗎?
引用

提出問題者

Firefox was closed when I did the backup.

I have checked the properties of the file, I couldn't find anything odd about it.

I use AVG, but I don't see why it would interfere with a random file in firefox.

As for SyncToy, its a simple tool made by Microsoft eons ago that copies data from one spot to another and ignores unchanged data making copying data faster like when doing backups. I tried administrator mode as well, and other methods of copying too.

I checked for the file being loaded by any process in resource monitor.

Firefox was closed when I did the backup. I have checked the properties of the file, I couldn't find anything odd about it. I use AVG, but I don't see why it would interfere with a random file in firefox. As for SyncToy, its a simple tool made by Microsoft eons ago that copies data from one spot to another and ignores unchanged data making copying data faster like when doing backups. I tried administrator mode as well, and other methods of copying too. I checked for the file being loaded by any process in resource monitor.
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17534 個解決方法 158551 個答案
For AVG and passwords, see: *https://support.mozilla.org/en-US/kb/passwords-disappearing-avg-security-software
這篇文章有幫助嗎?
引用

提出問題者

My passwords weren't corrupted, I just can't back up that one file. All my passwords still exist, the firefox database of passwords is still accessable within firefox. Its just that, logins.json is totally locked down so it can't be copied.

My passwords weren't corrupted, I just can't back up that one file. All my passwords still exist, the firefox database of passwords is still accessable within firefox. Its just that, logins.json is totally locked down so it can't be copied.
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8767 個解決方法 71704 個答案

It's puzzling because people copy/paste the logins.json file all the time.

cor-el can provide a script to export your bookmarks as a "Plan B."

It's puzzling because people copy/paste the logins.json file all the time. cor-el can provide a script to export your bookmarks as a "Plan B."
這篇文章有幫助嗎?
引用

選擇的解決方法

Oddly, rebooting fixed the file, I don't know how or why, but somehow when I rebooted, the logins file started to work again. I just don't get it, I checked everything in trying to find why the file was locked.

Oddly, rebooting fixed the file, I don't know how or why, but somehow when I rebooted, the logins file started to work again. I just don't get it, I checked everything in trying to find why the file was locked.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題