how can i restore bookmark, other then "restore" option in library?
i know how to restore bookmarks in mozilla firefox, but i want an another option to restore bookmarks in firefox where i can just put the name of bookmark and it restore automatically if file is found. please reply if anyone know any other method to restore the bookmark.
Chosen solution
A way to restore bookmarks automatically is to delete the places.sqlite and place the JSON backup as only or most recent bookmarks.json file in the bookmarkbackups folder.
Ler a resposta no contexto 👍 2All Replies (7)
The places.sqlite file in your profile folder stores your bookmarks and history. You can replace this file with a backup copy while Firefox is closed.
You can also import bookmarks from a backup in HTML format. The key difference is that this will add those bookmarks to the existing ones, rather than replacing the whole set with the backup.
Note that replacing places.sqlite restore the bookmarks and the history as stored in the file. Restoring a JSON backup replaces all bookmarks with the bookmarks in the file.
I'm not sure if I understand how or when you want to restore bookmarks.
Are you doing this that often that you want to do this in a different way?
thnx Gingerbread Man and COR-EL for your reply.
cor-el, basically i am working on a small project by which we can restore bookmarks in mozilla. i am able to get backup file(json) but i need an option by which user only select path of that backup json file and it should automatically restore that file in mozilla. i dont want to write sql query for that. if you have any other idea please suggest. thnx :)
omi modificouno o
Chosen Solution
A way to restore bookmarks automatically is to delete the places.sqlite and place the JSON backup as only or most recent bookmarks.json file in the bookmarkbackups folder.
thnx COR-EL, its working. :)
One more thing is there any way to merge two .json files. say i want my old bookmarks to be there if i restore with new backup file.
thnx again for the solution :)
You can only merge bookmarks by importing an HTML backup because restoring a JSON backup will replace all existing bookmarks.
ok. thnx for your help :)