This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Which files should I copy to my new profile

  • 10 replies
  • 1 has this problem
  • 1 view
  • Last reply by Michael

more options

I am trying to cleanup the profile on my desktop then put it on my laptop. One I have it working I will copy it back to my desktop; so both browsers will look and behave the same. Then I can use sync to keep the sync'd.

I've moved the data from my desktop profiles to a new folder I named "profile transfer". I understand that I can replace the files in the profile on my laptop with them.

Bookmarkbackup, signons3.txt, signons2.txt, signons.sqlite, prefs.js, places.sqlite, persdict.dat key2.db, cookies.sqlite, cookeies.sqlite-shm, cookies.sqlite-was and cookies.txt.

 Do I need all those cookie files of just cookies.txt? In the help section is was suggested I copy signons.sqlite and signons3.txt; but it didn't mention signon2.txt.
I am trying to cleanup the profile on my desktop then put it on my laptop. One I have it working I will copy it back to my desktop; so both browsers will look and behave the same. Then I can use sync to keep the sync'd. I've moved the data from my desktop profiles to a new folder I named "profile transfer". I understand that I can replace the files in the profile on my laptop with them. Bookmarkbackup, signons3.txt, signons2.txt, signons.sqlite, prefs.js, places.sqlite, persdict.dat key2.db, cookies.sqlite, cookeies.sqlite-shm, cookies.sqlite-was and cookies.txt. Do I need all those cookie files of just cookies.txt? In the help section is was suggested I copy signons.sqlite and signons3.txt; but it didn't mention signon2.txt.

Chosen solution

Hi Mike,

I am sure you will already have seen

You say moved I presume you mean copied,and that you are using that as a temporary backup of your profile. (It is possible to move profile locations)


I am not sure what you are cleaning up, some of the work may be easier from Firefox interfaces rather than from profiles or profile files. You may find it easiest to use a 2nd Firefox install on a laptop. Note however you may setup multiple profiles on a single computer.

You could clone the profile to a new profile and work on that. Or you can start with a blank profile and modify that whichever is best for your objectives. If bookmarks and history are the main concern maybe work in a new profile that contains a copy of places sqlite and then overwrite the original places.squlite once cleaned up. (Note History is not separately backed up anywhere)

signons
Some of those are present for backwards compatability reasons

cookies
The cookies.txt are old types of files Firefox now uses cookies.squlite

Note transfering profile files is often done for troubleshooting issues, and in such circumstances extensions & cookies may not be transferred, because they may be the cause of the problem. In your case you probably do wish to transfer software extensions & cookies.

Read this answer in context 👍 1

All Replies (10)

more options

Chosen Solution

Hi Mike,

I am sure you will already have seen

You say moved I presume you mean copied,and that you are using that as a temporary backup of your profile. (It is possible to move profile locations)


I am not sure what you are cleaning up, some of the work may be easier from Firefox interfaces rather than from profiles or profile files. You may find it easiest to use a 2nd Firefox install on a laptop. Note however you may setup multiple profiles on a single computer.

You could clone the profile to a new profile and work on that. Or you can start with a blank profile and modify that whichever is best for your objectives. If bookmarks and history are the main concern maybe work in a new profile that contains a copy of places sqlite and then overwrite the original places.squlite once cleaned up. (Note History is not separately backed up anywhere)

signons
Some of those are present for backwards compatability reasons

cookies
The cookies.txt are old types of files Firefox now uses cookies.squlite

Note transfering profile files is often done for troubleshooting issues, and in such circumstances extensions & cookies may not be transferred, because they may be the cause of the problem. In your case you probably do wish to transfer software extensions & cookies.

Modified by John99

more options

I have reason to believe that something in my profile caused problems with my OS. For example, I was unable to install updates on my Desktop, so I was told I would have re-install my OS to fix it.

So I moved to my laptop and copied my profile files into my laptop profile. Then I noticed the last update failed to install. So, realizing I had just moved my profile files onto my desktop I removed them and the updates installed. Now that may have been a coincidence; but they certainly seemed related.

So I created a new profile, and have copied just the files I listed. The next step is to install my Add Ons.

I have reviewed the links you posted. It would appear that I can remove the signon2 and signon3 files as they are not relevant to the current versions of FF.

I wonder if key3.db and signon3 are related. If so I guess I should be able to be remove it from the profile. However, in the list of Files: to transfer it shows signons3.ext (if exists); so maybe I’d better leave it?

I see too that Cookies.sqlite is the only Cookies file I need to copy to the profile.

At this point the changes appear to have been successful; everything is working.

Thanks for the help.

more options

You need the key3.db file and the signons.sqlite file to transfer the passwords.
The key3.db file is used in all Firefox versions to store the encryption key and a possible master password.

The sqlite database files shouldn't cause problems unless specific functions were working properly previously.
Extensions are best reinstalled and files like prefs.js and localstore.rdf are best not transferred.

more options

Hmmm, I copied prefs.js. I hope that doesn't turn out to be a mistake

more options

IMO, that is the wrong file to copy from a Profile which you had problems with, or suspect that Profile was troublesome.

more options

I guess you now have it working ok.

My problem when trying to answer was that I was unsure if you did have problems with something not working.
Or whether you were just trying to make changes and clone a profile after such changes ( maybe cleaning-up bookmarks and passwords, and choosing a suitable set of extensions).

pfefs.js is relatively easy to work with either by direct editing of better still using about:config & about:support

more options

Lets hope it doesn't become problem, but at least I'll know where to look if it does. If, at some future point, I simply delete it it will regenerate, new, am I correct.

more options

"using about:config & about:support"

Is that a line I would enter in "run"?

more options

They are entered into the address box like that for a web-page.

about:support
is the same as using the troubleshooting option in the firefox User Interface menu. That includes a list of important prefs that the user has changed.

about:config
lists all the preferences. It is a lot safer than trying to edit the file prefs.js manually. It has a search filter, and is interactive. You may see some sort of warning before it opens.

more options

Thanks John, I had no idea!

Very helpful resource; I'll remember it.

And yes, I did see "some sort of warning" (-: and I'll be careful!