Transferring data to a new profile: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎Browser: searchplugins: reworded.)
m (Category:Redirects)
 
(40 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:Profiles]]
* [[Transferring data to a new profile - Firefox]]  
:''This article describes how to copy data and settings from one profile to another and lists a suggested set of files.  This process will not migrate extensions, themes or toolbar/window customizations. It is not intended for moving or restoring a complete profile.''
* [[Transferring data to a new profile - Thunderbird]]
* [[Transferring data to a new profile - SeaMonkey|Transferring data to a new profile - Mozilla Suite/SeaMonkey]]


Completely close Firefox/Thunderbird/Mozilla Suite, and copy the files shown below from the source [[profile folder]] to the destination profile folder.  This process will overwrite existing files of the same name so you may wish to [[Profile_backup | back up the profile data]] beforehand. 
[[Category:Redirects]]
 
==Browser==
''These files are used by  Firefox and [[Mozilla Suite |Mozilla Suite / SeaMonkey]].''
 
* <tt>bookmarks.html</tt> - Bookmarks
* <tt>cert8.db</tt> - Security certificates
* <tt>chrome/[[userChrome.css]]</tt> and <tt>chrome/[[userContent.css]]</tt> (if they exist) - User-defined styles. '''Note:''' It is '''not''' recommended to migrate these files if you had problems with the previous profile.
* <tt>cookies.txt</tt> - Cookies
* <tt>formhistory.dat</tt> ''(Firefox)'' or <tt>''(number)''.w</tt> ''(Mozilla Suite)'' - Form history
* <tt>key3.db</tt> and <tt>signons.txt</tt> ''(Firefox)'' - Saved passwords.
* <tt>history.dat</tt> - Browsing history
* <tt>hostperm.1</tt> - Cookie, image, and extension install permissions
* <tt>mimeTypes.rdf</tt> - Actions to perform on downloaded files
* <tt>[[user.js]]</tt> (if it exists) and <tt>[[prefs.js file|prefs.js]]</tt> - User Preferences.  '''Note:''' In most cases, migrating the <tt>prefs.js</tt> file from one profile to another is '''not''' recommended, especially if you had problems with the previous profile. If you choose to do so, you may need to manually edit the paths in prefs.js to reflect the new profile location.  Additionally, you may need to remove preferences that refer to extensions that are not installed in the new profile.
* <tt>searchplugins</tt> folder - Search plugins. Copy the .src and .gif/.png pair of files (or, in Firefox 2, the .xml file) for each search plugin, from the <tt>searchplugins</tt> folder in the source directory to the destination <tt>searchplugins</tt> folder.  '''Note:''' In Firefox 1.5 or later and in SeaMonkey, newly-installed search plugins are added to the <tt>searchplugins</tt> folder in the [[profile folder]] instead of to the [[installation directory]].  Starting in Firefox 2, a single .xml file is used (instead of .src and .gif/.png files) for each search plugin.
 
==Mail and newsgroups==
''These files are used by Thunderbird and Mozilla Suite Mail.''
 
* <tt>abook.mab</tt> and <tt>history.mab</tt> - Personal Address Book and 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> (if they exist) - User-defined styles
* <tt>key3.db</tt> and <tt>''(number).s''</tt> - Saved passwords. If you do not migrate the <tt>prefs.js</tt> file, use [[about:config]] to modify the <tt>signon.SignonFileName</tt> preference value to match the copied <tt>''(number)''.s</tt> file name.
* <tt>mimeTypes.rdf</tt> - 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>[[user.js]]</tt> (if it exists) and <tt>[[prefs.js file|prefs.js]]</tt> - User Preferences.  '''Note:''' In most cases, migrating the <tt>prefs.js</tt> file from one profile to another is not recommended. If you choose to do so, you may need to manually edit the paths in prefs.js to reflect the new profile location.  Additionally, you may need to remove 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.
 
<b>Note:</b> Do not copy the whole profile directory. Some of the other files contain absolute path information (like for security certificates), and your profile might not work correctly with old entries from the original profile.
 
==See also==
*[[Migrate from Mozilla Suite or Netscape to Thunderbird]]
*[[Migrate from Thunderbird to Mozilla Suite]]
*[[Combining two profiles]]
*[[Moving your profile folder]]

Latest revision as of 05:38, 6 February 2009