Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

How do I backup firefox's password database?

  • 7 bhfreagra
  • 1 leis an bhfadhb seo
  • 9 views
  • Freagra is déanaí ó Vas

more options

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

Réiteach roghnaithe

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

All Replies (7)

more options

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?

more options

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.

more options

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.

more options
more options

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.

more options

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."

more options

Réiteach Roghnaithe

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.