Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can you get your old bookmarks back if you mistakenly made and used a wrong recovery file?

  • 10 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 orapsag

more options

Hello, I really need help with this one. I installed firefox on a new computer and used the sync function to get all my bookmarks etc. back. Now, I was playing around in the Library and I mistakenly ran a backup file which got created automatically around the time I installed firefox. It only contained the default bookmarks so it deleted all of my stuff and now I'm stuck with the default bookmarks and 2 backup bookmark files containing default bookmarks only (I created one extra file by mistake as well...) Can something be done to get my bookmarks back?

Hello, I really need help with this one. I installed firefox on a new computer and used the sync function to get all my bookmarks etc. back. Now, I was playing around in the Library and I mistakenly ran a backup file which got created automatically around the time I installed firefox. It only contained the default bookmarks so it deleted all of my stuff and now I'm stuck with the default bookmarks and 2 backup bookmark files containing default bookmarks only (I created one extra file by mistake as well...) Can something be done to get my bookmarks back?

被選擇的解決方法

Ok, seems that they are lost then, can't get them through any of these means... thanks for the help anyways!

從原來的回覆中察看解決方案 👍 0

所有回覆 (10)

more options

You can restore a more recent compressed .jsonlz4 backup.

  • Bookmarks -> Show All Bookmarks -> Import & Backup

The name of a JSON bookmarks backup file includes a total item count (folders and separators included) and an hash value to prevent saving the same backup more than once.

  • bookmarks-YYYY-MM-DD_<item count>_<hash>.jsonlz4.
more options

I think your other computer -- the one you originally used to populate your Sync account -- probably has a usable backup you could restore. Is that still accessible? Or a backup from it?

more options

jscher2000 said

I think your other computer -- the one you originally used to populate your Sync account -- probably has a usable backup you could restore. Is that still accessible? Or a backup from it?

sadly, no. firefox was installed on an ssd that died recently

more options

cor-el said

You can restore a more recent compressed .jsonlz4 backup.
  • Bookmarks -> Show All Bookmarks -> Import & Backup
The name of a JSON bookmarks backup file includes a total item count (folders and separators included) and an hash value to prevent saving the same backup more than once.
  • bookmarks-YYYY-MM-DD_<item count>_<hash>.jsonlz4.

could you elaborate on that a bit more? I included a screenshot

more options

There are only two recent backups showing in your screenshot (Aug 9 and Aug 10). As you can see they only have 14 and 17 bookmarks.

If you do not have a backup with all your bookmarks (on this device or on another device) then I'm afraid that they are lost.

Do you still have your old computer with these bookmarks?

In case you have an "Old Firefox Data" folder on the desktop then you can also look there for backups in the bookmarkbackups folder.

You can check if you have an orphaned profile that isn't registered in profiles.ini and that does not show in the Firefox Profile Manager. You can check that by opening the current profile folder and go up one level.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

cor-el said

There are only two recent backups showing in your screenshot (Aug 9 and Aug 10). As you can see they only have 14 and 17 bookmarks. If you do not have a backup with all your bookmarks (on this device or on another device) then I'm afraid that they are lost. Do you still have your old computer with these bookmarks? In case you have an "Old Firefox Data" folder on the desktop then you can also look there for backups in the bookmarkbackups folder. You can check if you have an orphaned profile that isn't registered in profiles.ini and that does not show in the Firefox Profile Manager. You can check that by opening the current profile folder and go up one level. You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

My SSD with old firefox data died, so sadly I can't access it in any way. Also I didn't find any other profiles.. I guess that's it then?

more options

Unfortunately, Sync doesn't keep backups, it's just real-time, so that would already have been overwritten.

The bookmarks downloaded from Sync would have been saved in places.sqlite, the database file that stores history and bookmarks together. I suspect that the restore from backup wiped the database clean of the bookmarks acquired from Sync. Windows may create a snapshot of the places.sqlite database when doing system updates (or whenever it creates a restore point), but I fear there was not enough time between the addition of the bookmarks to the file and their removal for that process to have run.

So... it's not looking very hopeful.

more options

jscher2000 said

Unfortunately, Sync doesn't keep backups, it's just real-time, so that would already have been overwritten. The bookmarks downloaded from Sync would have been saved in places.sqlite, the database file that stores history and bookmarks together. I suspect that the restore from backup wiped the database clean of the bookmarks acquired from Sync. Windows may create a snapshot of the places.sqlite database when doing system updates (or whenever it creates a restore point), but I fear there was not enough time between the addition of the bookmarks to the file and their removal for that process to have run. So... it's not looking very hopeful.

Well, yeah I guess I will have to deal with it then. Still, could you elaborate a bit more on the places.sqlite and how to check if it maybe somehow got my data?

more options

The places.sqlite file is your live bookmarks+history file. That is the file that is modified if you do a restore of an old bookmark backup.

You can use a third party utility to check for a snapshot of your profile folder in a Windows restore point:

(1) Turn on viewing of hidden files and folders: https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files

(2) System Restore Explorer: http://nicbedford.co.uk/software/systemrestoreexplorer/

Look along the same path as your live profile folder:

C:\Users\username\AppData\Roaming\Mozilla\Firefox\Profiles

I suggest copying out any potentially useful files to a neutral location and only then try to replace files in your profile folder. See: Recovering important data from an old profile.

more options

選擇的解決方法

Ok, seems that they are lost then, can't get them through any of these means... thanks for the help anyways!