Comparer les révisions

Recover important data from an old profile

Révision 274772 :

Révision 274772 par AliceWyman le

Révision 289056 :

Révision 289056 par AliceWyman le

Mots-clés :

restore retrieve files information
restore retrieve files information

Résumé des résultats de recherche :

If you need to create a new Firefox profile, find out how to recover your old Firefox data such as bookmarks, history and passwords.
If you need to create a new Firefox profile, find out how to recover your old Firefox data such as bookmarks, history and passwords.

Contenu :

A Firefox [[Profiles - Where Firefox stores your bookmarks, passwords and other user data|profile]] stores all of your important data, such as your bookmarks, history, cookies, and passwords. This article explains how to copy files to a new profile, lists important files in the profile and describes what information is stored in these files. *To sync and share data among multiple profiles and devices, see [[How do I set up Sync on my computer?]] and [[How do I choose what information to sync on Firefox?]] *To switch to another profile to recover missing data and settings, see [[Recover user data missing after Firefox update]]. {note}'''Note:''' Because your preferences and extensions often cause problems, this article does not explain how to copy these between profiles. If you follow the steps in this article, you will have to reinstall your extensions and reconfigure your Firefox preferences.{/note} __TOC__ = Back up your current profile = Before starting it is recommended that you make a complete backup of your existing Firefox profile in case something goes wrong. Please read the [[Back up and restore information in Firefox profiles]] article for instructions. = Create a new Firefox profile = {note}'''Note:''' This step is not necessary if you already have a new Firefox profile, for example, one you previously created or a [[Dedicated profiles per Firefox installation|profile created by Firefox for a new installation]]. This step is also not needed if you want to recover profile data from an ''Old Firefox Data'' folder placed on the desktop after you [[Refresh Firefox - reset add-ons and settings|refresh Firefox]].{/note} To learn how to create a brand new Firefox profile, please read the [[Profile Manager - Create, remove, or switch Firefox profiles]] article. = Copying files between profile folders = {note}'''Important:''' Firefox <u>must</u> be closed down while copying files between profile folders. If you can't open a profile from within Firefox, see [[Profiles - Where Firefox stores your bookmarks, passwords and other user data#w_finding-your-profile-without-opening-firefox|Finding your profile without opening Firefox]].{/note} # '''Open the old Firefox profile folder''' containing the files you want to copy to a new profile.<br>If you are copying data from an ''Old Firefox Data'' folder created after you refreshed Firefox, simply open the old profile folder it contains; otherwise, if you can open Firefox using the old profile:[[Template:OpenProfileFolder]] # Close Firefox, if it's open: [[T:closeFirefox]] # [[T:contextmenu]] on a file you want to copy and choose {menu Copy}. # '''Open the new Firefox profile folder''' as explained in step 1, above. # [[T:contextmenu]] inside the profile folder and choose {menu Paste{for mac} Item{/for}}. Repeat steps 3-5 for each file you wish to transfer over to your new profile folder. While copying your personal data from an old Firefox profile to a new Firefox profile, it is possible that you could copy over the file that is causing the problem you are trying to get rid of! The more files you copy over, the greater the chance of this happening. It is therefore recommended that: * You copy over only the minimal amount of files that contain your most important data that you simply can't live without. * You copy over a few files at a time, and then check that the problem you are trying to get rid of hasn't returned. {for win} {note}'''Note:''' By default, Windows hides the ''AppData'' folder where Firefox stores your profile. To set Windows to show hidden files and folders, see [https://support.microsoft.com/help/14201/windows-show-hidden-files Show hidden files - Windows Help].{/note} {/for} = Your important data and their files = <!-- If file names are updated for a new Firefox version, also review the https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_what-information-is-stored-in-my-profile and update, if necessary. --> == Bookmarks, Downloads and Browsing History == * {filepath places.sqlite} This file contains all your Firefox bookmarks and lists of files you have downloaded and of websites you have previously visited. For more information, see [[Bookmarks in Firefox]]. * {filepath favicons.sqlite} This file stores website favicon images. It's best to also include this file when recovering the {filepath places.sqlite} file. <!--https://support.mozilla.org/en-US/questions/1192456?page=2#answer-1044463 --> == Passwords == Your passwords are stored in two different files, both of which are required: * {filepath key4.db} This file stores your key database for your passwords. To transfer saved passwords, you must copy this file along with the following file. * {filepath logins.json} Encrypted information about your saved usernames and passwords. For more information see [[Password Manager - Remember, delete and edit logins and passwords in Firefox]]. == Site-specific preferences == * {filepath permissions.sqlite} This file stores many of your Firefox [[Site Permissions panel|permissions]] that are decided on a per-site basis. For example, it stores which sites are allowed to, or blocked from setting cookies, installing extensions, displaying popups, etc. == Search engines == *{filepath search.json.mozlz4} This file stores user-installed search engines. For more information, see [[Add or remove a search engine in Firefox]]. == Personal dictionary == * {filepath persdict.dat} This file stores any custom words you have added to Firefox's dictionary. If you have never added a custom word to the Firefox dictionary, then you will not have this file. For more information see [[How do I use the Firefox spell checker?]]. == Autocomplete history == * {filepath formhistory.sqlite} This file remembers what you have searched for in the Firefox search bar and what information you have entered into forms on websites. For more information see [[Control whether Firefox automatically fills in forms]]. == Cookies == * {filepath cookies.sqlite} [[Cookies - Information that websites store on your computer|Cookies]] are used by websites for a variety of reasons, some of which include keeping you logged in to a website you have previously logged in to, remembering any preferences a website has allowed you to set, authenticating you as a person who has visited a specific website before, etc. == Security certificate settings == *{filepath cert9.db} This file stores all your security certificate settings and any [[Secure website certificate|secure website certificates]] you have imported into Firefox. == File types and download actions == *{filepath handlers.json} This file stores your preferences with respect to what Firefox does when it comes across known file types, such as whether you want to save a file or open it with a specific application. For more information, see [[Manage file types and download actions in Firefox]]. <!-- MZ credit --> <br/> <br/> '''''Based on information from [http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox Transferring data to a new profile - Firefox (mozillaZine KB)]'''''
A Firefox [[Profiles - Where Firefox stores your bookmarks, passwords and other user data|profile]] stores all of your important data, such as your bookmarks, history, cookies, and passwords. This article explains how to copy files to a new profile, lists important files in the profile and describes what information is stored in these files. *To sync and share data among multiple profiles and devices, see [[How do I set up Sync on my computer?]] and [[How do I choose what information to sync on Firefox?]] *To switch to another profile to recover missing data and settings, see [[Recover user data missing after Firefox update]]. {note}'''Note:''' Because your preferences and extensions often cause problems, this article does not explain how to copy these between profiles. If you follow the steps in this article, you will have to reinstall your extensions and reconfigure your Firefox preferences.{/note} __TOC__ = Back up your current profile = Before starting it is recommended that you make a complete backup of your existing Firefox profile in case something goes wrong. Please read the [[Back up and restore information in Firefox profiles]] article for instructions. = Create a new Firefox profile = {note}'''Note:''' This step is not necessary if you already have a new Firefox profile, for example, one you previously created or a [[Dedicated profiles per Firefox installation|profile created by Firefox for a new installation]]. This step is also not needed if you want to recover profile data from an ''Old Firefox Data'' folder placed on the desktop after you [[Refresh Firefox - reset add-ons and settings|refresh Firefox]].{/note} To learn how to create a brand new Firefox profile, please read the [[Profile Manager - Create, remove, or switch Firefox profiles]] article. = Copy files between profile folders = {note}'''Important:''' Firefox <u>must</u> be closed down while copying files between profile folders. If you can't open a profile from within Firefox, see [[Profiles - Where Firefox stores your bookmarks, passwords and other user data#w_finding-your-profile-without-opening-firefox|Finding your profile without opening Firefox]].{/note} # '''Open the old Firefox profile folder''' containing the files you want to copy to a new profile.<br>If you are copying data from an ''Old Firefox Data'' folder created after you refreshed Firefox, simply open the old profile folder it contains; otherwise, if you can open Firefox using the old profile:[[Template:OpenProfileFolder]] # Close Firefox, if it's open: [[T:closeFirefox]] # [[T:contextmenu]] on a file you want to copy and choose {menu Copy}. # '''Open the new Firefox profile folder''' as explained in step 1, above. # [[T:contextmenu]] inside the profile folder and choose {menu Paste{for mac} Item{/for}}. Repeat steps 3-5 for each file you wish to transfer over to your new profile folder. While copying your personal data from an old Firefox profile to a new Firefox profile, it is possible that you could copy over the file that is causing the problem you are trying to get rid of! The more files you copy over, the greater the chance of this happening. It is therefore recommended that: * You copy over only the minimal amount of files that contain your most important data that you simply can't live without. * You copy over a few files at a time, and then check that the problem you are trying to get rid of hasn't returned. {for win} {note}'''Note:''' By default, Windows hides the ''AppData'' folder where Firefox stores your profile. To set Windows to show hidden files and folders, see [https://support.microsoft.com/help/14201/windows-show-hidden-files Show hidden files - Windows Help].{/note} {/for} = Your important data and their files = <!-- If file names are updated for a new Firefox version, also review the https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_what-information-is-stored-in-my-profile and update, if necessary. --> == Bookmarks, downloads and browsing history == * {filepath places.sqlite} This file contains all your Firefox bookmarks and lists of files you have downloaded and of websites you have previously visited. For more information, see [[Bookmarks in Firefox]]. * {filepath favicons.sqlite} This file stores website favicon images. It's best to also include this file when recovering the {filepath places.sqlite} file. <!--https://support.mozilla.org/en-US/questions/1192456?page=2#answer-1044463 --> == Passwords == Your passwords are stored in two different files, both of which are required: * {filepath key4.db} This file stores your key database for your passwords. To transfer saved passwords, you must copy this file along with the following file. * {filepath logins.json} Encrypted information about your saved usernames and passwords. For more information see [[Password Manager - Remember, delete and edit logins and passwords in Firefox]]. == Site-specific preferences == * {filepath permissions.sqlite} This file stores many of your Firefox [[Site Permissions panel|permissions]] that are decided on a per-site basis. For example, it stores which sites are allowed to, or blocked from setting cookies, installing extensions, displaying popups, etc. == Search engines == *{filepath search.json.mozlz4} This file stores user-installed search engines. For more information, see [[Add or remove a search engine in Firefox]]. == Personal dictionary == * {filepath persdict.dat} This file stores any custom words you have added to Firefox's dictionary. If you have never added a custom word to the Firefox dictionary, then you will not have this file. For more information see [[How do I use the Firefox spell checker?]]. == Autocomplete history == * {filepath formhistory.sqlite} This file remembers what you have searched for in the Firefox search bar and what information you have entered into forms on websites. For more information see [[Control whether Firefox automatically fills in forms]]. == Cookies == * {filepath cookies.sqlite} [[Cookies - Information that websites store on your computer|Cookies]] are used by websites for a variety of reasons, some of which include keeping you logged in to a website you have previously logged in to, remembering any preferences a website has allowed you to set, authenticating you as a person who has visited a specific website before, etc. == Security certificate settings == *{filepath cert9.db} This file stores all your security certificate settings and any [[Secure website certificate|secure website certificates]] you have imported into Firefox. == File types and download actions == *{filepath handlers.json} This file stores your preferences with respect to what Firefox does when it comes across known file types, such as whether you want to save a file or open it with a specific application. For more information, see [[Manage file types and download actions in Firefox]]. <!-- MZ credit --> <br/> <br/> '''''Based on information from [http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox Transferring data to a new profile - Firefox (mozillaZine KB)]'''''

Retour à l’historique