Moving Everything: Bookmarks, Cache, Profile, Etc... from AppData to Another Location
Hello
I would like to move all of the information in C:\users\[my name]\ appdata\[roaming and local]\Mozilla\ to another location. How do I set this up in a recent version of Firefox, I believe 53 (I'm not home at the moment) running on Windows 7 64-bit?
I found links to this on the web, but they were all several years old, and outdated.
Thank you
Upravil(a) AARRGGHHH dňa
Všetky odpovede (1)
It is best to create a new Profile in the location that you wish to use and then copy all the files from your current Profile over to the new Profile.
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles and https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile
Don't remove your existing Profile as Firefox occasionally may want to open the default Profile which is located in the default location. Otherwise Firefox just may decide to create a new Profile in the default location all by itself under certain circumstances and leave you wondering what's going on.
Also, be aware that when having your Profile in other than the default location all the "Local" files will end up in the main Profile folder (which was in the Roaming part of AppData) - no way around that. And the Cache set of files will get to be huge which has caused problems for me with a remote Profile, so I have re-directed my Cache to a different folder (you should create the new Cache folder manually before running Firefox, after inserting the code to move the Cache).
For information regarding relocating the Cache see this: http://kb.mozillazine.org/Browser.cache.disk.parent_directory
This is very important: Note: In Windows, if the "browser.cache.disk.parent_directory" value is being set in the prefs.js or user.js file instead of about:config, the path separator must be two backslashes (e.g., "C:\\Path\\To\\Parent"). You need to have the double backslashes in the "Path to" the folder that you want for the Cache files.
Usually best to create a user.js file in the Profile folder to effect that relocation. If you should happen to use the Refresh procedure any changes made in the prefs.js file or in about:config will be lost. And user.js will survive a Refresh; it is a file that Firefox checks every time Firefox is opened, so that your preferences set there would be "reset" every time Firefox is opened. http://kb.mozillazine.org/User.js_file
Further information about "playing with" Profiles can be found in this Builds thread over at MozillaZine fora. Not something that Mozilla officially endorses as it can cause all sorts of issues if not done properly. http://forums.mozillazine.org/viewtopic.php?f=23&t=2821799
And at the bottom of that thread are links to 4 earlier threads that are previous versions of that topic. Not real easy to do, but it's not all that hard to do either. Just need to be careful when you are doing it.