cancel
Showing results for 
Search instead for 
Did you mean: 

Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

SOLVED
Highlighted
New Contributor

Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

The other day, Firefox Sync scrambled most of my bookmarks and I need to know if there is a way to restore a copy of my bookmarks from a point in the past. Thousands of bookmarks, all organized into folders, are now "loose" and unsorted. If I have to restore all of them, it would take weeks.

Has anyone else experienced this or have a solution?

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Support Forum Moderator

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

■ Act quickly, recent versions of firefox save snapshot auto bookmarks for the situation as it was, by default, on the last five days. But do not act in haste read the notes first, otherwise you will be in danger of overwriting sets you want and loosing them

  1. Make a manual backup of current bookmarks, (do this in turn for each device or profile) and keep the file somewhere safe. see Restore bookmarks from backup or move them to another computer but do Not use the restore option given their yet, that will just overwrite and loose a potentialy usefull set of bookmarks
  2. Find and copy each of the auto bookmark files they will end in .JSON give each file a meaningfull name you can reimport them into firefox at some later date to examine and work on them

■ Look at

I have firefox 3.6.13 and 4.0.Beta8 but I created a separate profile for the beta, so it has its own bookmarks, and if I consider syncing I think I will be creating yet more profiles

12 REPLIES
New Contributor

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

seems to have randomly moved bookmarks and/or folders and placed them in 'unsorted', and then deleted or hidden unsorted. Must have taken some coding, I'm impressed.

New Contributor

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

This happened to me immediately after I upgraded to version 1.6 of Sync. I managed to stop it before it messed up the bookmarks on all my machines, but it is totally unacceptable. I'm turning off Sync and going back to Xmarks.

Support Forum Moderator

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

■ Act quickly, recent versions of firefox save snapshot auto bookmarks for the situation as it was, by default, on the last five days. But do not act in haste read the notes first, otherwise you will be in danger of overwriting sets you want and loosing them

  1. Make a manual backup of current bookmarks, (do this in turn for each device or profile) and keep the file somewhere safe. see Restore bookmarks from backup or move them to another computer but do Not use the restore option given their yet, that will just overwrite and loose a potentialy usefull set of bookmarks
  2. Find and copy each of the auto bookmark files they will end in .JSON give each file a meaningfull name you can reimport them into firefox at some later date to examine and work on them

■ Look at

I have firefox 3.6.13 and 4.0.Beta8 but I created a separate profile for the beta, so it has its own bookmarks, and if I consider syncing I think I will be creating yet more profiles

Site Moderator

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

Make a backup copy of all the JSON backups in the bookmarkbackups folder in the Firefox Profile Folder elsewhere to prevent losing any backups that still have your lost bookmarks.

New Contributor

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

Thanks. It turns out I was able to restore a backup of my bookmarks via the "organize bookmarks" feature and selecting "restore." I was lucky because I had not added any important bookmarks since the most recent restore point. After doing this, everything went back and functioned properly. I am still nervous about Firefox Sync, but I'll keep using it unless it does this again. Thanks to everyone for the responses!

New Contributor

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

Ok, so it happened again. Firefox Sync scrambled all of my bookmarks at work. I think there must be a bug in Firefox Sync. For now, I'm moving back to XMarks. Sorry Firefox Sync.

New Contributor

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

Thanks for your answer, John99. I just took the first aid measures you suggested. And bumped the number of backup copies (browser.bookmarks.max_backups in about:config) to a value significantly more important than the default five, too.

Is there a way to browse the various automatic backup files with something similar to "organize bookmark" (other than restoring one copy after the other) in order to decide which one is the latest good copy?

TIA!

New Contributor

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

All I can say is thank God for Apple's 'Time Machine', I had to go back to the 23rd Dec this morning to find a clean version of the .json file. I have also done as filofel said and bumped up the number of backup copies to 20, to give me a bigger safety net within Firefox.

If it does it again I will check out XMarks that others have mensioned, although I also use Firefox Sync on the iPhone and iPad.

Support Forum Moderator

Re: Firefox sync scrambled all of my bookmarks and I want to restore a backup of my bookmarks if that is possible.

@ filofel

I have not tried opening the .json autobackups within firefox, but I think it can be done, and given that you are interested mainly in determining whether the file is corrupt or not I can think of a few potential ways to attempt checking this.

■ Text file - They are basically text files so open in a word processor, possibly after renaming them, maybe write and run a macro to display them correctly

■ Auto export on exit as html

  • you can set firefox to export the bookmarks on exit as HTML
  • see http://kb.mozillazine.org/Mozilla_Suite_:_FAQs_:_Bookmarks
  • it may be reasonable to presume if the html is not corrupt the .json of matching dates will be ok
  • the folder of the html exported files may be bookmarked and the files opened directly as firefox tabs

■ Ask on the MozzilaZine forum

  • I note they have an old thread explaining how .json backups can be opened in firefox, with short JavaScript used to extract printable list of URLs
  • see http://forums.mozillazine.org/viewtopic.php?p=5565535#p5565535
  • that may not answer your question, but at least such matters are on topic and discussed over on MozzilaZine. ( I guess they are on topic here if as a solution to ongoing problems)