Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

How to copy logins and history from one profile to another?

  • 6 个回答
  • 1 人有此问题
  • 7 次查看
  • 最后回复者为 Paul

more options

Dears,

after upgrading Firefox from 52.9 to 78.5 (on Debian Linux), my profile is somehow broken, so I just created a new profile.

I could export my bookmarks and import in the new profile, but neither logins nor history.

How can I do that?

Thank you in advance!

Dears, after upgrading Firefox from 52.9 to 78.5 (on Debian Linux), my profile is somehow broken, so I just created a new profile. I could export my bookmarks and import in the new profile, but neither logins nor history. How can I do that? Thank you in advance!

所有回复 (6)

more options

OK, the logins are easy: Just copy the files `key3.db`, `key4.db`, and `logins.json` from the old profile to the new one. Any idea about the history?

more options

places.sqlite = History and Bookmarks.

more options

Note that safest is to use "Help -> About Firefox" to update until you are on the current release, especially if you update from 52 to 78 because there are special so called watershed releases that contain migration code to handle upgrading files to newer schemes (this makes the profile incompatible for downgrading). For the logins (logins.json and key4.db) this is Firefox 72 and running a 52 profile with 78 can cause you to lose logins. In such a case you can run this profile with Firefox 68 ESR to run this migration code.

more options

cor-el said

Note that safest is to use "Help -> About Firefox" to update until you are on the current release, especially if you update from 52 to 78 because there are special so called watershed releases that contain migration code to handle upgrading files to newer schemes (this makes the profile incompatible for downgrading). For the logins (logins.json and key4.db) this is Firefox 72 and running a 52 profile with 78 can cause you to lose logins. In such a case you can run this profile with Firefox 68 ESR to run this migration code.

Upgrading from 52.9 to 78.5 via 68.10 worked in some aspects, but not completely. While the first step, 52.9 to 68.10, worked fine, the second one, 68.10 to 78.5 let the profile in a strange state: I could not open any tabs, which also means: No preferences etc. which open in a new tab.

So far, the copied logins.json and key*.db files seem to work with the new Firefox. Anyway, I'll try with the files, that went through 68.10 just in case.

Thank you!

more options

FredMcD said

places.sqlite = History and Bookmarks.

Yes, this works fine, thank you!

more options

Hello,

I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution.

Thank you for contacting Mozilla Support.