Wednesday, October 6, 2010

Recover Mozilla Profiles

retain the default profile for firefox (from the installation) and recover the old profiles:
backup the current profile.ini to profile.ini.bak

open terminal
cd .mozilla/firefox/
cp profile.ini profile.ini.bak

copy profiles from /home//.mozilla/firefox to /home//.mozilla/firefox
modify profiles.ini to include old profiles

old profile:
[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=<random>.default
new profile:
[General]
StartWithLastProfile=0

[Profile0]
Name=default
IsRelative=1
Path=<random>.default

[Profile1]
Name=default_old
IsRelative=1
Path=<random>.default
Default=1

[Profile2]
Name=36x
IsRelative=1
Path=<random>.36x
<random>

[Profile3]
Name=_36x
IsRelative=1
Path=<random>._36
start firefox and test

No comments:

Post a Comment