Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Restoring session from sessionstore.bak file

  • 2 respostas
  • 24 têm este problema
  • 1 visualização
  • Última resposta por mark2

more options

I'm trying to recover a session lost after a system crash,I have a sessionstore.bak file from the time of this crash (about 1.8Mb),and a sessionstore-1.js file which I assume is a leftover from some time ago and not relevant for this issue:copying this .bak file in the profile folder and renaming it to .js has not restored my session, indeed only one of the 10 windows I had open at that time is now restored-Firefox is set to show windows and tabs from the last time,so why this is not working?

After that crash,not only my profile was missing but the cache folders as well,it all got moved in a C:something directory,maybe I should recover the cache folder also to restore the session?

Is there any other reason why a sessionstore.bak file could not be used to successfully reopen the last session?

I'm trying to recover a session lost after a system crash,I have a '''sessionstore.bak''' file from the time of this crash (about 1.8Mb),and a '''sessionstore-1.js''' file which I assume is a leftover from some time ago and not relevant for this issue:copying this '''.bak''' file in the profile folder and renaming it to '''.js''' has not restored my session, indeed only one of the 10 windows I had open at that time is now restored-Firefox is set to show windows and tabs from the last time,so why this is not working? After that crash,not only my profile was missing but the cache folders as well,it all got moved in a C:something directory,maybe I should recover the cache folder also to restore the session? Is there any other reason why a sessionstore.bak file could not be used to successfully reopen the last session?

Modificado por mark2 a

Todas as respostas (2)

more options

Is there anything in the History > Recently Closed Windows menu ?

You should remove numbered sessionstore-##.js files (sessionstore-1.js). Those shouldn't be there and usually indicate that other software is accessing the main sessionstore.js file that Firefox rewrites every 10 seconds.

more options

Thanks for your answer cor-el,I've just successfully restored this 100-ish tabs session from that sessionstore.bak file,what I've done is

  *  copy sessionstore.bak  in the profile folder,rename it to .js
  • replace the cache folders moved in the "recovered files" directory back in their original location
  • replace a couple of missing userchrome.css files with some others from a previous backup
  • delete that sessionstore-1.js as you suggested

Honestly now I have no clue about the deciding factor,but the pre-crash session is back exactly as it was,I wonder if the cache files are also essential to reopen such a large session (I also have BarTab installed,maybe this extension needs the cache files to work properly?)

Now about that sessionstore-##.js files you were pointing at,I assume the external programs accessing Firefox would be some security software,or do I have to search now for some out of control application ?

Modificado por mark2 a