Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

How to recover bookmarks?

  • 4 fhreagra
  • 2 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó rstuffx

more options

I tried to upgrade Firefox from version 7 to version 24 but it crashed. I uninstalled the old Firefox and installed the new. I forgot to backup the bookmarks but I was able to recover several backups using Recuva. The backups have data in them when I look at them in Notepad. I am able to restore a bookmark that was automatically saved yesterday but not the ones that I restored. I copied one of them to my profiles and tried restoring it and I get the message "unable to process backup file". I tried restoring from a filename on another drive and I didn't get the message but I didn't see any bookmarks either. I have found many instances of this problem and I tried deleting the places.sqlite file and restarting Firefox with no luck. When I look at the profile it has a check mark in the read only box that looks grayed out. I uncheck the box but it keeps coming back. I am able to restore new backups. When I restore from a filename it deletes all my bookmarks. This is on a Windows Vista Toshiba laptop. Any suggestions?

I tried to upgrade Firefox from version 7 to version 24 but it crashed. I uninstalled the old Firefox and installed the new. I forgot to backup the bookmarks but I was able to recover several backups using Recuva. The backups have data in them when I look at them in Notepad. I am able to restore a bookmark that was automatically saved yesterday but not the ones that I restored. I copied one of them to my profiles and tried restoring it and I get the message "unable to process backup file". I tried restoring from a filename on another drive and I didn't get the message but I didn't see any bookmarks either. I have found many instances of this problem and I tried deleting the places.sqlite file and restarting Firefox with no luck. When I look at the profile it has a check mark in the read only box that looks grayed out. I uncheck the box but it keeps coming back. I am able to restore new backups. When I restore from a filename it deletes all my bookmarks. This is on a Windows Vista Toshiba laptop. Any suggestions?

Réiteach roghnaithe

I found a JSON file fixer at http://jsonformatter.curiousconcept.com/. I pasted my JSON file into it and ran it and it told me that I had an unexpected comma. The extra comma was clear down at the end of the file before the last closing bracket. I edited it out using Notepad, restored it and all my bookmarks are back. I should go back and check my other backups and see if they had the exact same problem. Would like to know how the extra comma got there.

Read this answer in context 👍 0

All Replies (4)

more options

First, it's normal that when you restore a .json backup file it completely replaces your existing bookmarks. To preserve existing bookmarks, before restoring a backup, use the export to HTML feature. You can import from the HTML format without losing bookmarks.

Now... what to do about the corrupted .json files you recovered. Because the format is hard to read, it may be difficult to repair adequately. This has come up in other threads, and I can't recall seeing a good tool to do it. Hopefully someone else will have a suggestion other than visiting all the links in the file and bookmarking them from scratch.

more options

Note that Windows shows a green block for folders in the Read-only box, but not a real check-mark.
Only a check mark in the Read-only box means that a folder or file is Read-only.
Windows doesn't check all the files in a folder so instead displays a green block to indicate that it is not sure.

A JSON backup is a text file, so if the file contains other character apart from readable text then the file is corrupted and Windows probably has used some clusters to store other data.
Repairing such a damaged JSON file is almost impossible (a cluster is 4 KB and you would need to fix all missing closing '}' and ']' to make Firefox pickup the remainder of the file).
The only possibility is to extract http(s) links from such a file with an editor that knows about regular expressions or use the below posted bookmarklet in Firefox.

You can try to open the JSON backup in a Firefox tab and run this JavaScript bookmarklet code.
You need to create a new bookmark and paste the JavaScript code in its location field.

javascript:(function(){var E=document.getElementsByTagName('pre')[0],T=E.innerHTML,R=/("uri":"([^"]*)")/g,i=0,r1,r2,t;t=[];while(R.test(T)){r1=RegExp.$1;r2=RegExp.$2;if(/^(https?|ftps?):/i.test(r2)){t.push('['+(i++)+']:<a href='+r2+'>'+r2+'<\/a>');}}with(window.open().document){write(t.join('<br>\n'));close();}})();
more options

Thank you. The javascript gave me a list of my bookmarks so now all I have to do is bookmark each one of them individually. I have pages of bookmarks. I should probably do this anyway to organize them and remove the old ones.

more options

Réiteach Roghnaithe

I found a JSON file fixer at http://jsonformatter.curiousconcept.com/. I pasted my JSON file into it and ran it and it told me that I had an unexpected comma. The extra comma was clear down at the end of the file before the last closing bracket. I edited it out using Notepad, restored it and all my bookmarks are back. I should go back and check my other backups and see if they had the exact same problem. Would like to know how the extra comma got there.