Transferring data to a new profile - Firefox
From MozillaZine Knowledge Base
This article explains how to selectively transfer Firefox user data and settings to a new Firefox profile and provides a list of suggested files. If you're using either Thunderbird or SeaMonkey, see Transferring data to a new profile - Thunderbird or Transferring data to a new profile - SeaMonkey.
Back up your profiles
Create a new profile
Installing Firefox and running it for the first time automatically creates a "default" Firefox profile. Additional profiles can be created using the Firefox Profile Manager. If you haven't yet created a new profile, completely close Firefox by choosing File -> Exit (or Quit) and then open the Profile Manager and follow the prompts to create a new profile. Make note of the name you give to the new profile so you can distinguish between the old and the new. You can exit the Profile Manager at this point and a new profile folder will be created (if you don't open Firefox with the new profile, the newly created profile folder will be an "empty shell"). You can then copy the files containing the data you wish to transfer to the new profile folder. Firefox will create any additional files it needs when you actually start Firefox with the new profile.
Copy data to the new profile
Make sure that Firefox is completely closed before you copy data to the new profile.
It's recommended that you only copy data that would be a lot of work to recreate (such as bookmarks, passwords, and cookies) to the new profile. Extensions, themes, and preferences are a common cause of Firefox problems so you should re-install any extensions and themes and reconfigure your preference settings if you had problems with the old profile, instead of trying to transfer them. If you had problems with your old profile and haven't identified what set of files is causing your problem, it's recommended you copy files from your old profile folder to the new one in several steps, testing whether things are still working okay between steps.
If you were not having any problems with the old profile, you can delete the entire contents of the new profile folder and then copy everything you wish to transfer at once, into the new profile folder.
Transferring useful personal data to a new profile from an old profile that had problems:
You will now be working within the Firefox profile folder window, which contains the files and folders that you are going to copy to your new profile. To make the transfer process easier, you should create a new "Transfer Profile" folder inside your old Firefox profile folder:
Note: Any existing folders specifically relating to individual extensions that you may wish to re-install later may also be copied over (at your own risk)
Once you have completed the above, you are ready to copy the contents of the "Transfer Folder" into your new Firefox profile:
Suggested profile contents to transfer
The following files and folders are found in your Firefox profile folder. Note that, on Windows 2000/XP/Vista and Linux, you will need to show hidden files and folders to navigate to the profile folder or search for the files.
Bookmarks and browsing history:
You can alternately import a bookmarks HTML file if you wish to add those bookmarks to your current Firefox bookmarks. In Firefox 3, you can also use the Firefox Library "Restore" feature to replace your current bookmarks with a bookmark backup file (such as a dated JSON backup from the bookmarkbackups folder of another Firefox 3 profile) but this will not transfer your browsing history.
Download actions for file types:
Passwords: (Both of these files must be copied)
Security certificate settings:
Site specific settings (e.g. Page Zoom):
Note: You can import an HTML backup file into any Firefox version. You can restore a JSON backup by opening the Library window, selecting "Import and Backup - Restore -> Choose File", and choosing one of the bookmark backup files in this folder.