We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

Migrate complete user profiles from snap to apt install

  • 2 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I need to migrate the complete profile (all settings, bookmarks, passwords etc) from a snap install to an apt install on the same system. Currently I have both versions installed, but i want to remove the abomination that is snap..

I tried copying ~/snap/firefox/common/.mozilla/firefox files to ~/.mozilla/firefox but that doesnt seem to work. Since this is a multi-user system i dont want to rely on mozilla accounts to sync everything to the cloud.

What do i need to do in order to migrate all the data from one install to another?

I need to migrate the complete profile (all settings, bookmarks, passwords etc) from a snap install to an apt install on the same system. Currently I have both versions installed, but i want to remove the abomination that is snap.. I tried copying ~/snap/firefox/common/.mozilla/firefox files to ~/.mozilla/firefox but that doesnt seem to work. Since this is a multi-user system i dont want to rely on mozilla accounts to sync everything to the cloud. What do i need to do in order to migrate all the data from one install to another?

所有回复 (2)

more options

Ive been digging some more, i see that my migration works, its just that firefox automatically creates a new profile and seems to ignore the "Default=1" in profiles.ini on the old profile..

more options

You can copy certain files with Firefox closed from one profile folder to another profile folder to transfer your personal data. Note that best is to avoid restoring a full profile folder and only restore important files that are safe to restore/transfer as some files may contain an absolute path to the original profile.


  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (encrypted logins) and key4.db (encryption key/primary password) for logins saved in the Password Manager
  • cert9.db for certificates stored in the Certificate Manager
  • persdict.dat for words added to the spell checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)

由cor-el于修改