We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

how can i restore bookmark, other then "restore" option in library?

  • 7 个回答
  • 3 人有此问题
  • 8 次查看
  • 最后回复者为 omi

more options

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.

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.

被采纳的解决方案

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.

定位到答案原位置 👍 2

所有回复 (7)

more options

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.

more options

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?

more options

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于修改

more options

选择的解决方案

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.

more options

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 :)

more options

You can only merge bookmarks by importing an HTML backup because restoring a JSON backup will replace all existing bookmarks.

more options

ok. thnx for your help :)