Monday, December 30, 2013

Restoring Chrome bookmarks

Bookmarks have never been the same since Google stopped having toolbars that synchronized with Google Bookmarks, but this is another story. Now if you want to have your bookmarks in your browser anywhere you NEED to use Chrome bookmarks, you’ll sign in to Chrome, ask it to sync your bookmarks and then you have it with you.
So, if you accidentally deleted your bookmarks, and don’t have a backup (if you haven’t exported your bookmarks to an html file) there’s still a way to recover them. You can find steps to do it in many internet sites and forums but what I’m going to tell you nobody says, it’s when you do these steps and Chrome continues to delete your bookmarks when it starts as it syncs with you google account.
As the start of the troubleshoot is already well explained by C.D. Crowder in I’m copying it here:
Google Chrome automatically backs up your bookmarks on a regular basis. While the frequency depends on how often you use the browser, odds are the most recent backup will contain your deleted bookmarks. The only problem is Chrome doesn't make these backups blatantly obvious or easy to access. You must know exactly where to look and which file to use. 
Finding Bookmark Backups 
Start by opening a new instance of Windows Explorer. Basically, just open any folder. All you need is the location bar at the top of the window. Copy the following line into the location bar and replace USERNAME with your own Windows username: 
C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Default 
If you're not certain what your username is, open the Start menu and look at the top right side of the menu. Your name should be at the top if you're using Windows XP or later.
You'll see two bookmark files when the folder opens. The Bookmarks file contains all your current bookmarks. Bookmarks.bak contains the most recent backup of your bookmarks.
Just a comment here, if you notice both files have the same size, open these files with notepad and compare their contents, in case you see that both files contain the same contents (so that your .bak file is already backing up the new “bookmarks” file)  there’s still a hope if you’re running windows 7 or above, firstly close Chrome, and then you can right-click the bookmarks.bak file and click “properties”, after this click on “previous versions”. It will then do a search. It will have a version backed up of the last couple of days. Click on the most recent, and then hit “restore”. You will then have restored the backup of the backup file ;-) and you can continue here with the troubleshoot.
Before you proceed, check the date on the Bookmarks.bak file to ensure it was created before you deleted your bookmarks. If the file is newer, the bookmark cannot be restored. 
Restoring Chrome Bookmarks 
To prevent any possible problems, back up both files before proceeding. Simply select both files and press Ctrl + C. Minimize all windows to show your desktop. Click a blank space on the desktop and press Ctrl + V. This provides a backup of the original files should something go wrong.
Now, as I mentioned earlier, if you just delete the “bookmarks” file rename “bookmarks.bak” to “bookmarks” it won’t work as you’re synchronizing your bookmarks with your google account. I’ll show you how to solve it:
  1. Ensure that Chrome is not open.
  2. If you have Chrome in your smartphone, turn the cell phone off.
  3. Open both files in notepad (chose the option to open the file in an already installed software)
  4. You will need to preserve the line that starts with ”checksum” in the “bookmarks” file. you can delete everything after this line.
  5. Copy all the contents after this line of the “bookmarks.bak” file, paste on the “bookmarks” file and then save it.
  6. Open Chrome and voilĂ , your bookmarks are back to you.
After all this, you can start exporting your favorites to an html file, it will be much more easy to restore them later.

No comments:

Post a Comment