Migrate complete user profiles from snap to apt install
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?
All Replies (2)
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..
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)
Modified