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

搜尋 Mozilla 技術支援網站

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

了解更多

Can't restore bookmark export from Windows PC to Linux Mint PC

  • 6 回覆
  • 1 有這個問題
  • 59 次檢視
  • 最近回覆由 rlindx

more options

I run Firefox on a couple Windows PCs and one Linux Mint PC. Each of them is running Firefox 92.0.

My customary process had been to use one of the Windows PCs as my master copy of Firefox bookmarks. I do not use synch; rather, every so often I export the bookmarks from the master machine and restore the export to my other machines. I've not had a problem with that process in the past.

Today I encountered a problem for the first time: I exported the bookmarks from my "master" Windows PC and usual and then restored to my other PCs. The other Windows PCs did so without trouble, but the Mint PC did not restore the export file correctly: When I attempt to restore on the Mint PC, I get the folder structure from the original Windows export, but none of the folders is populated with bookmarks; instead, all 5K or so individual bookmarks are listed individually at the top level of my "Bookmarks Menu" folder, beneath the list of empty folders.

I've run the about:support Places Database "Verify Integrity" function on both the Windows master PC and on the Mint PC. The function does not flag any issues.

Any idea what's going on, and how I can resolve it? Might there be a bug in the Linux 92.0 that I should report somewhere? Is there a workaround I can try in the meanwhile, e.g., copy places.sqlite from the master machine to the Linux machine?

Thanks in advance for your help / guidance.

Regards, Rob L

I run Firefox on a couple Windows PCs and one Linux Mint PC. Each of them is running Firefox 92.0. My customary process had been to use one of the Windows PCs as my master copy of Firefox bookmarks. I do not use synch; rather, every so often I export the bookmarks from the master machine and restore the export to my other machines. I've not had a problem with that process in the past. Today I encountered a problem for the first time: I exported the bookmarks from my "master" Windows PC and usual and then restored to my other PCs. The other Windows PCs did so without trouble, but the Mint PC did not restore the export file correctly: When I attempt to restore on the Mint PC, I get the folder structure from the original Windows export, but none of the folders is populated with bookmarks; instead, all 5K or so individual bookmarks are listed individually at the top level of my "Bookmarks Menu" folder, beneath the list of empty folders. I've run the about:support Places Database "Verify Integrity" function on both the Windows master PC and on the Mint PC. The function does not flag any issues. Any idea what's going on, and how I can resolve it? Might there be a bug in the Linux 92.0 that I should report somewhere? Is there a workaround I can try in the meanwhile, e.g., copy places.sqlite from the master machine to the Linux machine? Thanks in advance for your help / guidance. Regards, Rob L

被選擇的解決方法

If you run the extension Default Bookmark Folder on any of your installations of Firefox, make sure it is NOT enabled during import or restore. If it is enabled, it dutifully moves every bookmark to your default folder, which is not what you want during those operations.

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

所有回覆 (6)

more options

More: I've now tried the "Moving bookmarks to another computer" -> "using bookmark backup file" instructions posted at https://support.mozilla.org/en-US/kb/restore-bookmarks-from-backup-or-move-them#w_restoring-from-backups . This time I used a Windows PC bookmark backup file from last week, and not a new export. The results were the same as I reported above: All 5K or so bookmarks end up at the top level of my Linux PC bookmarks, and not in their original folders.

more options

What file format are you using? Sometimes the json files become corrupted.


http://kb.mozillazine.org/Unable_to_process_the_backup_file_-_Firefox

jscher2000 has a tool on his website to extract out your bookmarks and save them to an HTML-format bookmark export file. If you want to try it, here is the page:

https://www.jeffersonscher.com/res/bookbackreader.html

To open the bookmarkbackups folder in Finder, use the "Open in Finder" button in the first table on the Troubleshooting Information page, and double-click into bookmarkbackups where you should see several dated files. From there you can drag and drop onto the conversion tool.

To import the HTML file, see the steps in this article: Import Bookmarks from an HTML file.

more options

Thank you, Fred.

I'll take a look at those references.

Is "file format" filetype? If so, the bookmark exports I create manually are filetype .json, and the ones from my bookmarkbackups folder are filetype .jsonlz4.

Thanks again, RL

more options

As I said above;

FredMcD said

Sometimes the json files become corrupted.

This is how I do a backup.

These instructions will combine the new bookmarks with the old.

Open the Bookmarks Manager; Press the Alt or F10 key to bring up the toolbar, and select Bookmarks. Hot key is <Control> (Mac=<Command>) <Shift> B. Firefox 84+ <Control> (Mac=<Command>) <Shift> O.

Once the window is open, at the top of the page, press the button labeled Import and Backup. Select Export Bookmarks To HTML, and follow the prompts and save it to a HTML file. Copy the file to another computer/profile. Repeat the instructions above, BUT select Import Bookmarks From HTML.

https://support.mozilla.org/en-US/kb/restore-bookmarks-from-backup-or-move-them

https://support.mozilla.org/en-US/kb/recover-lost-or-missing-bookmarks

Mozilla search: Import {web link}

more options

選擇的解決方法

If you run the extension Default Bookmark Folder on any of your installations of Firefox, make sure it is NOT enabled during import or restore. If it is enabled, it dutifully moves every bookmark to your default folder, which is not what you want during those operations.

more options

jscher2000, thank you, that was indeed the problem.

I don't know why it finally hit me now on my linux system, and not the windows systems, but after I disabled the extension I was able to restore the bookmarks correctly.

Thanks again, RL