Transferring data to a new profile: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Same format used in Browser and Mail section. Highlighted each filename since that is what is important. Placed related articles in a "See also" section)
m (Category:Redirects)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This article describe how to do transfer selected user data and settings to a new user [[Profile folder |profile]] for your Mozilla application.  See  [[Transferring data to a new profile - Firefox]] and [[Transferring data to a new profile - Thunderbird]] for  more detailed instructions for Firefox and Thunderbird. 
* [[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]]  


Mozilla applications include a [[Profile Manager]] feature that allows you to create a new user profile, which can be useful when your Mozilla application is behaving badly, since the problem is often in the profile.  Rather than attempt to find the problem, it's often easier to create a new profile and to transfer desired data from the old profile to the new one. 
[[Category:Redirects]]
 
==Copying data and settings==
* As a precaution, it is recommended that you make a copy of the profile folder before you make changes to it.
 
* The Mozilla program must be closed before you attempt changes to the profile.
 
* Do not copy the entire profile directory because some files only work in a specific directory, as noted below.
 
* If you are transferring data to a new profile because you had problems with the old one,  you should copy a few files at a time and test between steps.  It is recommended that you only copy the data that you truly want in the new profile.
 
==Browser files==
''These files are used by  Firefox and [[Mozilla Suite |Mozilla Suite / SeaMonkey]].''
 
* '''<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>[[mimeTypes.rdf]]</tt>''' - [[File types and download actions |Download actions for file types]] (save or open with a specified application).
 
* '''<tt>[[history.dat]]</tt>''' - Browsing history
 
* '''<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>[[hostperm.1]]</tt>''' - Permissions Cookie, image, and extension install permissions.
 
* '''<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>[[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>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>[[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>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>chrome/[[userChrome.css]]</tt>''' and '''<tt>chrome/[[userContent.css]]</tt>''' - User-defined styles (if they exist)
 
* '''<tt>[[mimeTypes.rdf]]</tt>''' - [[Actions for attachment file types|Actions to perform on downloaded files]]
 
* '''<tt>msgFilterRules.dat</tt>''' (in each account subfolder) - [[Filters (Thunderbird) | Message filters]]
 
* '''<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>training.dat</tt>''' - Custom training for [[Junk Mail Controls]]
 
* '''<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>virtualfolders.dat</tt>''' (Thunderbird) - [[Saved Search]] folder settings
 
* '''<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==
*[[Migrate from Mozilla Suite or Netscape to Thunderbird]]
*[[Migrate from Thunderbird to Mozilla Suite]]
*[[Moving your profile folder]].
*[[Profile_backup]]
*[[Combining two profiles]]
 
[[Category:Profiles]]

Latest revision as of 05:38, 6 February 2009