Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Transfer Firefox profile information to a new computer

  • 11 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par qwigoqwaga

more options

I have a new computer and I had previously saved a backup of the files of my Firefox profile. I followed the steps in this article: https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles but it didn't work, none of my settings or bookmarks are in place. The backup profile had a different name so I copied the contents and I used the default profile that was created instead of creating a new one. Why didn't it work? Does it matter that I'm using the same profile from the backup on a different new computer as well?

I have a new computer and I had previously saved a backup of the files of my Firefox profile. I followed the steps in this article: https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles but it didn't work, none of my settings or bookmarks are in place. The backup profile had a different name so I copied the contents and I used the default profile that was created instead of creating a new one. Why didn't it work? Does it matter that I'm using the same profile from the backup on a different new computer as well?

Solution choisie

Hi qwigoqwaga, did you end up seeing any of the data that you copied over reflected in the new profile, or none of it, just the install defaults?

If you don't see anything, I suspect the file replacement didn't work.

Make sure you are viewing hidden files and folders: https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files

Now, let's say you have this current profile folder -- obviously I don't know the real name:

C:\Users\your_user_name\AppData\Roaming\Mozilla\Firefox\Profiles\z43yx2w1.default

And you have a backup of your old profile folder whose name I also don't know:

[some location]\a1b23cd4.default

If you were to replace the places.sqlite file in the current profile folder with the places.sqlite file from your backup, that should give you the bookmarks and history of the old profile when you start Firefox with the new profile.

Does that work? Please make sure Firefox is closed when replacing data files or wacky things may happen.

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (11)

more options

Solution choisie

Hi qwigoqwaga, did you end up seeing any of the data that you copied over reflected in the new profile, or none of it, just the install defaults?

If you don't see anything, I suspect the file replacement didn't work.

Make sure you are viewing hidden files and folders: https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files

Now, let's say you have this current profile folder -- obviously I don't know the real name:

C:\Users\your_user_name\AppData\Roaming\Mozilla\Firefox\Profiles\z43yx2w1.default

And you have a backup of your old profile folder whose name I also don't know:

[some location]\a1b23cd4.default

If you were to replace the places.sqlite file in the current profile folder with the places.sqlite file from your backup, that should give you the bookmarks and history of the old profile when you start Firefox with the new profile.

Does that work? Please make sure Firefox is closed when replacing data files or wacky things may happen.

more options

If I change it to show hidden files and folders, can I not just replace everything again? Or should I just replace the places.sqlite?

more options

You can replace everything if you like. Places.sqlite is just a very obvious file to test.

more options

I tried recopying everything and then recopying places.sqlite but neither of those worked.

more options

You do not see any evidence of earlier settings or data? It sounds as though Firefox is not using the profile folder you are modifying. The internal page about:profiles lists all profile folders that Firefox is aware of. The current profile is marked "This is the profile in use and it cannot be deleted." Are there others on the page? If so, you can click "Set as default profile" and then exit/restart Firefox to try that on.

Note: the important data goes in the "Root Directory" which is under AppData\Roaming.

more options

There's the default profile and one I created, both only list this as both the root and local folders and neither profile has my settings working: C:\Users\Name\AppData\Roaming\Mozilla\Firefox\Profiles\su6uok13.default

more options

If you click the "Open Folder" button for that profile and then double-click into the bookmarkbackups folder, does it show the bookmark backup files you copied in? If they are here, you should be able to restore one of them from the Restore menu described in the following article: Restore bookmarks from backup or move them to another computer.

more options

That does appear to have restored some of my history (when I type in the search bar, sites I've never been to on this computer but have visited before pop up), but it doesn't seem to have restored my bookmarks. The most recent backup file is from 2015 so I'm not sure I even have my most recent backup. What I really need are my saved logins.

If I were to create a firefox account where you sign in on my other computer that has all my settings, would it save those settings to that account and then I could just sign in with that on the new computer?

more options

If you want to try Sync, you can, I absolutely cannot predict the results.

For saved logins:

Are both Firefoxes on version 63? There was a change at some point from "key3.db" to "key4.db", the companion file which lets Firefox read a copied in logins.json file. Any mismatch can cause Firefox to discard the old file. This is why when I describe the best way to transplant a profile backup, I suggest creating a new profile, removing all contents from its folder, and putting in all the contents of the old folder.

more options

I'm not sure. I think what I'll try is save a backup now and then try to copy in those files since both versions of firefox should be the same up to date version.

more options

Creating a new up to date backup seems to have worked. Thank you for your help!