Publi

Cómo recuperar pestañas perdidas en Google Chrome

En Internet hay dos tipos de personas: esos que como mucho tienen tres pestañas abiertas a la vez, y parece que les cuesta dinero tener pestañas abiertas. Y los que, como yo, abrimos una pestaña, la dejamos pa’ luego, descubrimos algo interesante y lo abrimos, o incluso mientras buscamos información abrimos todas las entradas del buscador en pestañas para ir mirándolas poco a poco. Total, al final te juntas (sin exagerar) con unas 500 pestañas. Afortunadamente, los navegadores modernos gestionan esto de forma más o menos eficiente.

Acumulando pestañas

Por si las moscas, ya que Chrome/Chromium tiene todo abierto a la vez y muchas veces el sistema no se suspende automáticamente porque alguna página lo prohíbe, yo utilizo la extensión The Great Suspender que se encarga de suspender pestañas que no uso tras un tiempo sin hacerles caso. Esto es sólo para liberar memoria y recursos del ordenador.

Reabriendo pestañas

De la misma manera que se puede abrir una pestaña cerrada recientemente haciendo click con el botón derecho en la pestaña y luego «Volver a abrir pestaña cerrada» o pulsando Control + Mayúscula + T podemos abrir todas las pestañas que teníamos en la ventana cuando la cerramos. Por lo que si hemos cerrado accidentalmente el navegador podemos volver a tener todo abierto con esta combinación de teclas.

Chrome también nos permite guardar en marcadores todas las pestañas que tenemos abiertas con (Control + Mayúscula + D), que nos puede venir muy bien.

Que automáticamente restaure las pestañas

Si entramos en la configuración de Chrome, veremos en las primeras opciones cómo queremos que el navegador se presente ante nosotros, en Iniciar Sesión / Al abrir el navegador… podemos marcar «Abrir todo como estaba antes de cerrar», tal y como aparece en la foto. Esto puede variar ligeramente con la versión.

Pero a veces hay problemas…

Pero a veces podemos tener serios problemas cuando tienes muchas pestañas abiertas, se cierra la ventana por algún problema (o porque tuviste un accidente, que un error humano no lo podemos descartar) y cuando arrancamos de nuevo el navegador no se restauran las pestañas. Cuando ya no sabes ni qué tenías abierto pero que seguro que era interesante y tarde o temprano echarías en falta (y que no la encuentras en el historial porque tienes demasiadas cosas). Aquella pestaña que abriste hace meses y no le has hecho ni caso pero ahora se vuelve una gran pérdida en tu corazón.

Todavía no está todo perdido. ¡No hagas nada! ¡No toques nada!. Este navegador guarda una copia de la sesión anterior en los archivos de usuario. Para ello, dependiendo de tu sistema operativo encontrarás los archivos en un sitio u otro. Más o menos:

  • GNU/Linux: /home/usuario/.config/{chrome}/Default ({chrome} lo pongo entre llaves porque puede ser «chrome» / «chromium» o «google chrome»
  • Mac OS X: Users/usuario/Library/Application Support/Google/Chrome/Default
  • Windows 7, 8.1 y 10: C:\Users\\AppData\Local\Google\Chrome\User Data\Default

Allí encontramos algunos archivos:

  • Current Session
  • Current Tabs
  • Last Session
  • Last Tabs

Estos archivos están en formato binario, aunque las direcciones de las pestañas abiertas se pueden leer perfectamente, si tienes GNU/Linux o cualquier Unix, puedes utilizar strings para ver su contenido (seguro que para Windows encontramos también alguna herramienta):

strings Current\ Session
http://www.bodurov.com/JsonFormatter/
https://colorlib.com/polygon/metis/

Pero estos ficheros también podemos copiarlos fuera (por seguridad, ya lo veremos), o machacar Current Session con Last Session y Current Tabs con Last Tabs. Para asegurarnos de que todo va bien, es recomendable, antes de cerrar el navegador hacer una copia de seguridad de todos:

cp Current\ Session{,.backup}
cp Current\ Tabs{,.backup}
cp Last\ Session{,.backup}
cp Last\ Tabs{,.backup}

Ahora tendremos Current Session y Current Session.backup , Current Tabs y Current Tabs.backup y así con los demás. Ahora, cerramos el navegador, que seguramente reescriba los archivos (pero no las copias de seguridad que hemos hecho).
Ahora copiamos Last Session.backup en Last Session (y en Current Session también si queremos) y hacemos lo mismo con Last Tabs.backup:

cp Last\ Session.backup Current\ Session
cp Last\ Session.backup Last\ Session
cp Last\ Tabs.backup Current\ Tabs
cp Last\ Tabs.backup Last\ Tabs

Ahora podemos volver a abrir el navegador normalmente y si es necesario restaurar las pestañas. ¡Espero que las hayas podido recuperar!

Copias de seguridad periódicas de las pestañas

Si dejas abierto mucho tiempo el navegador y tienes largas sesiones de navegación que pueden durar incluso días. No estaría mal tener una copia de seguridad periódica de estas pestañas. Que se realice automáticamente cada cierto tiempo, para ello puedes hacer un cron con este script:

1
2
3
4
5
#!/bin/bash

cd /home/usuario/.config/chromium/Default/
tar cvjpf /home/usuario/Chromebackups/chrometabs_20170302_22_32_52.tar.bz2 "Current Session" "Current Tabs" "Last Session" "Last Tabs"
find -mtime +30 -exec rm {} +

Cambiando los directorios de usuario y de chrome y ejecutándolo un par de veces al día podemos tener por seguro que no perderemos muchas pestañas. Con el script anterior estaremos guardando un mes de pestañas en el tiempo (la última línea de find se encarga de borrar los que sean muy antiguos).

También podría interesarte....

There are 12 comments left Ir a comentario

  1. Pingback: Cómo recuperar pestañas perdidas en Google Chrome | PlanetaLibre /

  2. Alicia /
    Usando Google Chrome Google Chrome 79.0.3945.130 en Windows Windows NT

    Gracias mil!

    1. Gaspar Fernández / Post Author
      Usando Google Chrome Google Chrome 79.0.3945.79 en Ubuntu Linux Ubuntu Linux

      Gracias a ti por comentar!

  3. Vic /
    Usando Mozilla Firefox Mozilla Firefox 75.0 en Windows Windows 7

    Yo uso SessionBuddy qe me salvo varias veces, automaticamente guarda las sesiones.

  4. Dio_ /
    Usando Google Chrome Google Chrome 81.0.4044.138 en Android Android 8.0.0

    Y si no te deja hacer copia de seguridad xq el navegador está abierto y por ello están en uso los archivos? Al menos, current sesión y current tabs no me deja

    1. Revista España /
      Usando Google Chrome Google Chrome 122.0.0.0 en Windows Windows NT

      El foro https://www.donamix.com/forums/discussion/guidelines/tiktok-spanish

  5. Memphis Resume Services /
    Usando Google Chrome Google Chrome 116.0.0.0 en Windows Windows NT

    Managing a multitude of browser tabs can be a digital conundrum. People often fall into two categories: those who maintain a lean, tab-light browsing experience, and those who, like myself, accumulate tabs like they’re precious treasures. For the latter group, tab management strategies are essential.

    One useful tactic is to employ extensions like «The Great Suspender» to automatically suspend inactive tabs, freeing up memory and resources. Additionally, modern browsers enable users to reopen recently closed tabs with a simple right-click or keyboard shortcut (Ctrl + Shift + T), providing a safety net for accidental closures.

    For those who tend to have an extensive tab history, consider configuring your browser to automatically restore tabs on startup. This ensures you pick up right where you left off.

    However, despite these safeguards, sometimes disasters strike, and you find your tabs lost in the digital abyss. Fear not! Browsers often save a copy of the previous session in user files, recoverable with a bit of effort. For instance, in GNU/Linux, you can locate these files in ‘/home/user/.config/{chrome}/Default’. They contain information about your open tabs.

    Taking a step back, the importance of managing your digital life efficiently extends beyond browsers. Just as organizing your digital world matters, so does presenting your professional self effectively. This parallels the significance of crafting a well-structured resume. In today’s digital age, online services offer invaluable tools and resources to help individuals build and optimize their resumes.

    Professional resume services, much like the browser extensions and settings discussed earlier, can streamline a complex task. They provide expert guidance, ensuring your resume showcases your skills, experiences, and achievements effectively. Online platforms also offer templates and formatting options, enhancing the visual appeal of your resume. In a competitive job market, a well-crafted resume is your digital window to career opportunities. Just as you seek efficient tab management, investing in your professional presentation can open doors to success.

  6. Andrew Mark /
    Usando Google Chrome Google Chrome 116.0.0.0 en Windows Windows NT

    This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.
    Blade Runner Coat

  7. Mike Rooney /
    Usando Google Chrome Google Chrome 120.0.0.0 en Windows Windows NT

    Thanks for sharing such a great article. I love reading this article which is useful for me. I guess your article is one of them. Thank you
    Reacher Season 2 TV-Series Jack Zipper Cotton Jacket

  8. Vikas Patel /
    Usando Google Chrome Google Chrome 121.0.0.0 en Windows Windows NT

    We are the first class of all Goa Escorts agency. Oncount of the blend of delightful, tasteful and Fun Hot Goa Call Girl . Dream making respective outlook are within each young lady Hot and Sensuous Goa Chicks is on incredible other option to proceed with. Every one of the angels that we offer to our customers is to a level gifted and additionally committed toward their work.

  9. Giovanni /
    Usando Google Chrome Google Chrome 122.0.0.0 en Windows Windows NT

    Thank you for your kind words! I’m glad you found the information helpful and enjoyable. I’ll do my best to continue sharing valuable and informative content in the future. If you ever have any questions or topics you’d like to learn more about, feel free to reach out. I’m here to help!
    These curly hairstyles offer a range of options for men with curly hair, allowing for personalization and creativity. Whether you prefer a classic and polished look or a trendy and edgy style, there’s a curly hairstyle to suit your preferences and lifestyle. It’s always a good idea to consult with a skilled hairstylist to find the best style that complements your face shape, hair texture, and personal style preferences.curly hairstyle trend

  10. martin /
    Usando Google Chrome Google Chrome 122.0.0.0 en Windows Windows NT

    Thank you very much for your kind words! I’m delighted to hear that you found the blog post inspiring and that it has motivated you to start your own blog. Creative writing is a wonderful outlet for expressing ideas and sharing knowledge, and I wish you all the best on your blogging journey.
    Your message effectively highlights the importance of access control systems in modern security and positions Dahlcore Security Guard Services as a leading provider of quality access control solutions. By acknowledging the reliance of companies on technology to protect their facilities and the necessity of correct access control systems, the message underscores Dahlcore Security’s expertise and commitment to providing comprehensive security solutions.Access Control NYC

Leave a Reply to Alicia Cancle Reply