Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Transferring Passwords form Firefox 45.9.0 to 70.0.1

more options

Without using Sync, what is the easiest way to transfer my Firefox passwords from my old Mac (running OS X 10.6.8) to a new Mac (running 10.15.1)?

Is it as simple as moving the old logins.json and key3.db files from the old Firefox Profile folder to the new Firefox Profile folder?

Can I copy the old Firefox Profiles folder and replace the Profile folder in the new Mac with a copy (to get all my bookmarks & passwords)?

Without using Sync, what is the easiest way to transfer my Firefox passwords from my old Mac (running OS X 10.6.8) to a new Mac (running 10.15.1)? Is it as simple as moving the old logins.json and key3.db files from the old Firefox Profile folder to the new Firefox Profile folder? Can I copy the old Firefox Profiles folder and replace the Profile folder in the new Mac with a copy (to get all my bookmarks & passwords)?

被采纳的解决方案

Firefox 45 uses key3.db for the key file. Firefox 55 and later use key4.db (SQLite) for the key file. Firefox 55+ can fallback to using key3.db, but that only works when no key4.db is present in the profile folder.

定位到答案原位置 👍 1

所有回复 (8)

more options

You can simply copy your profile, and place it on your new computer. Just make sure there is a backup in case of data failure.

more options

If I move the entire Profile folder won't I be moving all the old add-ons, extensions and other files that may not work in the new version of Firefox?

more options

Any old extensions that don't work just won't work, but yes, you can just move the logins files if you want.

more options

Copy logins.json and key3.db from 45 esr profile and remove the existing key4.db to the current profile folder.

more options

Do I understand correctly - the Profile folder in Firefox 70.0.1 has a file named key4.db which needs to be removed before I copy the old key3.db file.

more options

选择的解决方案

Firefox 45 uses key3.db for the key file. Firefox 55 and later use key4.db (SQLite) for the key file. Firefox 55+ can fallback to using key3.db, but that only works when no key4.db is present in the profile folder.

more options

Thanks for the complete explanation - really appreciated.

more options

The key3.db fallback seems to no longer be working with Firefox 76.0.1, where I'm trying to do this right now. I just want a clean new version of FF for testing purposes while I personally still use 56, the last version worth a damn with XUL access and all the things that made Firefox unique and useful -- but I would still like to have all of my logins -- so I don't mind fresh installs to get them there. I'll try and see if an intermediate version such as 70 will do.

Result: Yes!

Installing FF 70 (En-US x64 here: https://ftp.mozilla.org/pub/firefox/releases/70.0/win64-EME-free/en-US/ ), following the above instructions and then upgrading seems to work. My logins.json was edited to conform to the new key4.db and the passwords are still available after the upgrade.

If you want to take other profile data with you, it looks like you have to copy the profile folder and/or use Firefox Sync and/or other tools along the way and take care to maximize compatibility at every step by adjusting your settings, about:config, checking in with your extensions and ruling would-be automatic updates with an iron fist until you're done.

由Benjamin Philipp于修改