X
Tap here to go to the mobile version of the site.

منتدى الدعم

How do I backup firefox's password database?

Vas
Posted

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.
Attached screenshots

Chosen solution

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.

Read this answer in context 0
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 26.0 r0

Application

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

More Information

jscher2000
  • Top 10 Contributor
8773 solutions 71719 answers

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?
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17536 solutions 158573 answers

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
Was this helpful to you?
Quote

Question owner

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.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17536 solutions 158573 answers
For AVG and passwords, see: *https://support.mozilla.org/en-US/kb/passwords-disappearing-avg-security-software
Was this helpful to you?
Quote

Question owner

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.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8773 solutions 71719 answers

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."
Was this helpful to you?
Quote

Chosen Solution

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.
Was this helpful to you?
Quote
اطرح سؤالا

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.