Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Nummer anzurufen, sie per SMS zu kontaktieren oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

Firefox wiped my saved logins - How to restore/merge from backup?

  • 3 Antworten
  • 1 hat dieses Problem
  • 64 Aufrufe
  • Letzte Antwort von cor-el

more options

I have firefox sync set up, but I ask it not to sync logins. Recently, one of my profiles had an issue with sync and it asked me to reconnect. After reconnecting it cleared all my saved logins. I have a backup of `logins.json` but how can i restore it so i have the old and new logins?

Thanks, Jayen

Alle Antworten (3)

more options

Restoring logins.json (and possibly the matching key4.db) will replace all currently saved passwords. It is not possible to merge passwords other then via Sync AFAIK. Best is probably not to use the same device name when you (re)connect to Sync to prevent losing your current personal data. When you use the same device name then Firefox may think you want to replace (initialize) your current personal data with data previously stored on the Sync server. If you use a different name then Firefox may want to merge instead of replacing your personal data. You would have to test this.

more options

Thanks for your help. Can I use the matching key4.db to merge? I assume if firefox can do it, so can I. I would prefer not to send the passwords to firefox sync if possible. Although if I know only I have the [private] key then maybe it's ok.

Now that I think about this more, I think it happened in the reverse order. login.json got corrupt first, then sync broke [since it didn't have the login information].

I have backed up the new login.json and restored the old login.json and it seems to be fine. There aren't too many in the new one, so I've re-entered them manually.

more options

The passwords are always stored in logins.json. The key4.db file and previously key3.db file stores the basic encryption key and the master password. The logins.json and key4.db files need to match to be able to decrypt the login data.