From: zed on
Hi!

I've had to do a complete reinstall of LinuxMint on my Desktop computer.
Fortunately I had a backup of Firefox, including the hidden folders on a USB
pendrive.

After the reinstall was completed I renamed the home/.mozilla file and
copied the backup in its place, expecting that when I opened Firefox all my
Bookmarks and Add-ons etc would be there. They weren't :-(

Opened /home/.mozilla in and found that the files contained the same data
as in the backups. Copied the backup files over to /home/mozilla again and
checked all the files contained the same data as in the backup files.

Closed everything and then opened Firefox. Still does not display my
Bookmarks. I have repeated the actions taken but just cannot get Firefox to
display the Bookmarks in /home/.mozilla

I am now at a complete loss and seek your guidance.

--
zed
From: Ian Rawlings on
On 2008-07-25, zed <zed(a)zed.net.nz> wrote:

> After the reinstall was completed I renamed the home/.mozilla file and
> copied the backup in its place, expecting that when I opened Firefox all my
> Bookmarks and Add-ons etc would be there. They weren't :-(

Well, you'd need to make sure firefox wasn't running at the time you
did the move, otherwise any files it had open it would still have open
even if they've been renamed elsewhere. Chances are if you quit
firefox it would overwrite your restored backups of things like
bookmarks with the stuff it has in memory.

So try quitting firefox, renaming .mozilla to mozilla-deleteme (or
similar), "cp -a <backup>/.mozilla ." and *then* restarting firefox.

Failing that, your bookmarks will be in a file called "bookmarks.html"
within your backup mozilla directory, usually with a strange path, on
mine it's /home/ian/.mozilla/firefox/qfjzri4i.default/bookmarks.html
so at the very worst you can copy this HTML file, open it, and go
through them all checking they're all still valid and adding them to
your new config. You shouldn't need to do this though.

Note that firefox config is in a directory called "firefox" inside
".mozilla" though, so if you don't have that directory then you've not
backed up the right information.

--
Blast off and strike the evil Bydo empire!
http://youtube.com/user/tarcus69
http://www.flickr.com/photos/tarcus/sets/
From: alexd on
On Fri, 25 Jul 2008 21:16:22 +1200, zed wrote:

> After the reinstall was completed I renamed the home/.mozilla file and
> copied the backup in its place, expecting that when I opened Firefox all
> my Bookmarks and Add-ons etc would be there. They weren't :-(

Try 'firefox -ProfileManager' and see if it shows two profiles.

--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm(a)ale.cx)
13:38:20 up 13 days, 16:13, 4 users, load average: 0.02, 0.04, 0.00
Convergence, n: The act of using separate DSL circuits for voice and data
From: Robert Billing on
zed wrote:
> Hi!

> After the reinstall was completed I renamed the home/.mozilla file and
> copied the backup in its place, expecting that when I opened Firefox all my
> Bookmarks and Add-ons etc would be there. They weren't :-(

That's because mozilla creates, for some arcane reason, a strangely
named subdirectory. All you need do is copy the bookmarks.html from
wherever it was in the old system to wherever the new system has put it.

I know it works because I've just done it.
From: Andy Burns on
On 25/07/2008 17:56, Robert Billing wrote:


> That's because mozilla creates, for some arcane reason, a strangely
> named subdirectory.

I believe it so that even if some devious javascript figures out a way
of forcing a file upload that a user didn't intend, it won't know the
full path to the files containing bookmarks, cookies and passwords ...