為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 於 修改