MozillaZine

can I safely relocate the firefox profile folder?

User Help for Mozilla Firefox
LMHmedchem
 
Posts: 73
Joined: August 31st, 2009, 2:29 pm

Post Posted August 14th, 2018, 9:29 am

Hello,

One reason I have always used seamonkey for my browser and email is that it is set up to allow profiles to be stored in a designated location instead of a default location in the OS install partition. Keeping my browser and email off of the OS drive protects me during the frequent reinstalls (restoration from an image) that have always gone along with windows.

I recently had to restore my OS drive image from a backup image and have lost many of my firefox settings. Firefox is not installed on the OS drive, so nothing about the installation has changed, but my profile is located at,

C:\Documents and Settings\user_name\Application Data\Mozilla\Firefox\Profiles

and the profile is, of course, reverted to its state when the image was taken. It's not the end of the world since I use firefox less than seamonkey, but it would be nice to not have to deal with this in the future.

Why does firefox not have a feature to allow users to store their profile where they want? Does this feature exist and I just don't know how to use it?

Can I just move the profile folder to another location and make a modification in profiles.ini?

From,
Code: Select all
[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=Profiles/j1d089t7.default


To,
Code: Select all
[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=D:/firefox_profiles/j1d089t7.default


Would something like that work or would it be more involved? Is there a syntax for coding a non-relative path for the profile location?

Thanks,

LMHmedchem

Brummelchen
 
Posts: 3942
Joined: March 19th, 2005, 10:51 am

Post Posted August 14th, 2018, 10:20 am

isrelative must be 0 when absolute path.

Use -p when profile.ini is not needed, portable option, read docs pls
https://developer.mozilla.org/en-US/doc ... ne_Options

LoveMyFoxy

User avatar
 
Posts: 2187
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted August 14th, 2018, 9:59 pm

I have my profile in my C drive too, but it gets backed up every night, so if I have to do a reinstall, I just copy from the backup on my flash drive. You should be backing it up anyway.
2 Desktops--Win 7 Ult. 64-bit, 6GB RAM /FF 52.9ESR 64/Thunderbird 52.9ESR/Verizon FIOS wired network

therube

User avatar
 
Posts: 19250
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 15th, 2018, 4:46 am

-p still relies on profiles.ini.
-profile does not.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

therube

User avatar
 
Posts: 19250
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 15th, 2018, 4:49 am

SeaMonkey ... allow profiles to be stored in a designated location instead of a default location in the OS install partition

The same is true for FF (& I'd guess, any Mozilla browser).

profiles.ini will end up on your "system drive", but that is about all that "has" to be there.

Can I just move the profile folder to another location and make a modification in profiles.ini?

Yes.
Backup first (including profiles.ini). Offhand not sure how to properly "format" profile.ini, but experiment & see what you get.

I have something like this:
Code: Select all
[Profile2]
Name=FF61
IsRelative=0
Path=V:\Mozilla\USERS\FF61

So change your IsRelative= & thinking that should be good.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Brummelchen
 
Posts: 3942
Joined: March 19th, 2005, 10:51 am

Post Posted August 15th, 2018, 9:05 am

Thx, my bad ](*,)

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 11 guests