Transferring data to a new profile: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (Category:Redirects)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article explains how to transfer your Mozilla application user data and settings to a new [[Profile folder |profile]] and includes a list of suggested files. 
* [[Transferring data to a new profile - Firefox]]
* [[Transferring data to a new profile - Thunderbird]]
* [[Transferring data to a new profile - SeaMonkey|Transferring data to a new profile - Mozilla Suite/SeaMonkey]]  


Firefox users should read [[Transferring data to a new profile - Firefox]]  since it contains more detailed instructions  and information about files specific to Firefox 3.  Thunderbird  users should read [[Transferring data to a new profile - Thunderbird]] for more detailed instructions.
[[Category:Redirects]]
 
==Background==
Mozilla applications store your user data in a [[profile folder]], separate from the [[installation directory|program]].  Normally, you only need a single profile, the original "default" profile that was created when you first installed your Mozilla application.  You can transfer your data and settings to the "default" profile on another computer.  You can also use the [[Profile Manager]]  to create an additional user profile on the same computer and both profiles will be available.  This can be useful when your Mozilla application is behaving badly, since most problems are in the profile and  it's often easier to [[Profile_Manager#Creating_a_new_profile|create a new profile]] and copy over desired data than to fix the problem in the original profile.
 
==Copying data and settings==
* As a precaution, it is recommended that you make a [[profile backup]]  to safeguard your important data, before making any changes.
 
* The Mozilla program must be closed before you attempt changes to the profile.
 
* Although in many cases  it is possible to copy the entire contents of a profile to a new profile,  it is recommended that you only copy the data that you truly want to keep.
 
* If you are transferring data to a new profile because you had problems with the old one, copy a few files at a time and test between steps.
 
==Browser files==
''These files are used by Firefox 2 (or prior) and [[Mozilla Suite |Mozilla Suite / SeaMonkey]].''  Firefox 3 users should read [[Transferring data to a new profile - Firefox|this article]] for a list of suggested files and additional instructions.
 
* '''<tt>[[bookmarks.html]]</tt>''' - [[Bookmarks]]
 
* '''<tt>cert8.db</tt>''' - Security certificate settings
 
* '''<tt>[[cookies.txt]]</tt>''' - [[Cookies]]  (Keeping cookies will keep you logged into websites that you were logged into before.)
 
* '''<tt>formhistory.dat</tt>''' - Form history (Firefox)  Autocomplete entries for web forms and the search bar. 
 
* '''<tt>''(number)''.w</tt>''' - Form history (Mozilla Suite/SeaMonkey). If you do not migrate the "prefs.js" file,  then use [[about:config]] to modify the  ''wallet.SchemaValueFileName'' preference value to match the copied "(number).w" file name.
 
* '''<tt>[[history.dat]]</tt>''' - Browsing history
 
* '''<tt>[[hostperm.1]]</tt>''' - Permissions Cookie, image, and extension install permissions.
 
* '''<tt>[[key3.db]]</tt>''' - Key database for passwords.  To transfer saved passwords you <u>must</u> copy key3.db along with one of the following files.
** '''<tt>[[signons.txt]]</tt>''' Saved passwords in  Firefox 1.5.0.9 and below and Firefox 2.0.0.0, 2.0.0.1
** '''<tt>[[signons2.txt]]</tt>''' - Saved passwords in Firefox 1.5.0.10 and 2.0.0.2 and above.
** '''<tt>''(number)''.s</tt>''' - Saved passwords in Mozilla Suite/SeaMonkey.  If you do not copy the "prefs.js" file, you must first save a password in the new profile so that a "(number).s" file is created, then use [[about:config]] to modify the ''signon.SignonFileName'' preference value to match the copied file name [http://seamonkey.ilias.ca/profilefaq/#transferring_passwords]
 
* '''<tt>[[mimeTypes.rdf]]</tt>''' - [[File types and download actions |Download actions for file types]] (save or open with a specified application).
 
* '''<tt>[[Persdict.dat|persdict.dat]]</tt>''' The corrections that you have added to the spell checker [[Dictionaries|dictionary]].
 
* '''<tt>[[Prefs.js file |prefs.js]]</tt>''' and,  if it exists, '''<tt>[[User.js file |user.js]]</tt>''' - Preferences.  '''Important:'''  Copying the "prefs.js" file from one profile to another is '''not''' recommended if you had problems with the previous profile. If you choose to transfer "prefs.js" to the new profile,  you may need to edit the prefs.js file (or use [[about:config]]) to remove (or reset) preferences that point to invalid directories or preferences that refer to extensions that are not installed in the new profile.
 
* '''<tt>chrome/[[userChrome.css]]</tt>''' and '''<tt>chrome/[[userContent.css]]</tt>''' - User styles. (Only necessary if you have defined user styles with this method)
 
* '''<tt>searchplugins</tt>''' folder - Search engines.
 
* '''<tt>extensions</tt>''' folder  - Extensions and Themes (Firefox 1.5 or later only)  '''Important:''' Copying this folder is '''not''' recommended if you had problems with the previous profile.  It is also necessary to delete these three files at the same time:  '''extensions.ini''', '''extensions.cache''' and '''extensions.rdf''' (these files will be regenerated on restart).  Note that this method will not move data that specific extensions may have saved in the profile.
 
==Mail program files==
''These files are used by Thunderbird and Mozilla Suite/SeaMonkey Mail.''
 
* '''<tt>abook.mab</tt>''' - Personal Address Book and  '''<tt>history.mab</tt>''' - Collected Addresses.  For migrating other address books, see [[Moving address books between profiles | this article]].
 
* '''<tt>cert8.db</tt>''' - Security certificates
 
*'''<tt>[[key3.db]]</tt>''' - Key database for passwords.  To transfer saved passwords you <u>must</u> copy key3.db along with one of the following files.
** '''<tt>''(number)''.s</tt>''' - Saved passwords in Mozilla Suite and older Thunderbird profiles.  If you do not migrate the "prefs.js" file, use [[about:config]] to modify the ''signon.SignonFileName'' preference value to match the copied "(number).s" file name.
**'''<tt>[[signons.txt]]</tt>'''  - Saved passwords in recent Thunderbird profiles.
 
* '''<tt>[[mimeTypes.rdf]]</tt>''' - [[Actions for attachment file types|Actions to perform on downloaded files]]
 
* '''<tt>msgFilterRules.dat</tt>''' (in each account subfolder) - [[Message Filters|Message filters]]
 
* '''<tt>[[Persdict.dat|persdict.dat]]</tt>''' The corrections that you have added to the spell checker [[Dictionaries|dictionary]].
 
* '''<tt>[[popstate.dat]]</tt>''' (inside each POP mail account subfolder) - Keeps track of which messages have been downloaded from the POP server. If you don't copy it, previously downloaded messages still on the server might all get downloaded again.
 
* '''<tt>[[Prefs.js file|prefs.js]]</tt>''' and, if it exists,  '''<tt>[[User.js file |user.js]]</tt>'''  - Preferences and account settings.  Copying the "prefs.js" file from one profile to another is '''not''' recommended if you had problems with the previous profile. If you choose to transfer "prefs.js" to the new profile,  you may need to edit the prefs.js file (or use [[about:config]]) to remove (or reset) preferences that point to invalid directories or preferences that refer to extensions that are not installed in the new profile.
 
* '''<tt>training.dat</tt>''' - Custom training for [[Junk Mail Controls]]
 
* '''<tt>virtualfolders.dat</tt>''' (Thunderbird) - [[Saved Search]] folder settings
 
* '''<tt>chrome/[[userChrome.css]]</tt>''' and '''<tt>chrome/[[userContent.css]]</tt>''' - User-defined styles (if they exist)
 
* '''<tt>Mail</tt>''' and '''<tt>ImapMail</tt>''' folders - E-mail messages and settings.  See [[Importing_and_exporting_your_mail#Manually_importing_and_exporting | this article]].
 
* '''<tt>News</tt>''' folder - Newsgroups messages and settings.  If necessary, create a new "newsgroup" account for each news server in the new profile ("File -> New -> Account"), then close Mozilla Suite or Thunderbird and copy over the "News" folder contents.
 
* '''<tt>extensions</tt>''' folder - Themes and Extensions  (Thunderbird 1.5 or later only).  '''Important:'''  Copying this folder is '''not''' recommended if you had problems with the previous profile.  It is also necessary to delete these three files at the same time:  '''extensions.ini''', '''extensions.cache''' and '''extensions.rdf''' (these files will be regenerated on restart).
 
==See also==
*[[Moving your profile folder]]
*[[Moving from Windows to Linux]]
*[[Combining mail from two profiles - SeaMonkey]]
*[[Migrate from Mozilla Suite or Netscape to Thunderbird]]
*[[Migrate from Thunderbird to Mozilla Suite]]
 
[[Category:Profiles]]

Latest revision as of 05:38, 6 February 2009