X
點擊此處開啟此網站的行動版。

技術支援討論區

Why isn't my bookmark restore file type recognized?

已張貼

I'm trying to restore my bookmarks after reinstalling Windows 10. They were saved in a windows.old file on my Passport. I used the Import and Backup button, selected Restore, and choose my file. It's a json file. It then gave me an error message "unsupported file type."

BTW, the file ends in .jsonlz45dd510a6. It's not recognized as a json file, so I had choose 'all files" and then highlighted it to select it, and received the above error message. I then tried making a copy but omitting the letters and numbers after .jason, and tried using that, but got an error message "unable to process the backup file."

I'm trying to restore my bookmarks after reinstalling Windows 10. They were saved in a windows.old file on my Passport. I used the Import and Backup button, selected Restore, and choose my file. It's a json file. It then gave me an error message "unsupported file type." BTW, the file ends in .jsonlz45dd510a6. It's not recognized as a json file, so I had choose 'all files" and then highlighted it to select it, and received the above error message. I then tried making a copy but omitting the letters and numbers after .jason, and tried using that, but got an error message "unable to process the backup file."

由 justchris63 於 修改

引用

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

更多資訊

the-edmeister
  • Top 25 Contributor
  • Moderator
5420 個解決方法 40435 個答案

The file extension is .jsonlz4 .

The file extension is '''.jsonlz4''' .
這篇文章有幫助嗎? 0
引用

提出問題者

If I change it to .jsonlz4 I still get the error message "unable to process the backup file."

If I change it to .jsonlz4 I still get the error message "unable to process the backup file."
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17696 個解決方法 160119 個答案
Any luck with this tool ? *https://www.jeffersonscher.com/res/bookbackreader.html
這篇文章有幫助嗎? 0
引用

提出問題者

No. It says "failed JSON parsing: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".

No. It says "failed JSON parsing: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".
這篇文章有幫助嗎?
引用
Dinushi Dhananjani
  • Top 25 Contributor
5 個解決方法 216 個答案

hi dr,

Access the Feature

Firefox has a built-in export tool that's accessible from the bookmarks Library.

To access the Library,
click the “Firefox” button and then select “Bookmarks” or
press “Ctrl-Shift-B.” To open the 

Export Bookmarks File window, select “Import and Backup” above

the right panel and then select “Export Bookmarks to HTML."

Transfer the Bookmarks

Mozilla names the HTML file “bookmarks.html” and provides you with standard file-saving options.

Pick a storage location and then
click “Save.” After creating the copy, 

plug your external drive into the secondary computer or download the file onto

the computer from online storage,
then use the Library’s Import and Backup
menu again to import it. 

Select “Import Bookmarks from HTML," locate the file and click “Open.”

hi dr, Access the Feature Firefox has a built-in export tool that's accessible from the bookmarks Library. To access the Library, click the “Firefox” button and then select “Bookmarks” or press “Ctrl-Shift-B.” To open the Export Bookmarks File window, select “Import and Backup” above the right panel and then select “Export Bookmarks to HTML." Transfer the Bookmarks Mozilla names the HTML file “bookmarks.html” and provides you with standard file-saving options. Pick a storage location and then click “Save.” After creating the copy, plug your external drive into the secondary computer or download the file onto the computer from online storage, then use the Library’s Import and Backup menu again to import it. Select “Import Bookmarks from HTML," locate the file and click “Open.”
這篇文章有幫助嗎? 0
引用
crankygoat
  • Top 25 Contributor
31 個解決方法 347 個答案

IIRC, the importing from json backups and export-as-json have not worked in years. Had you tried copying the old FF profile over to your user files in the new Windows installation? There are different ways to activate the profile as a new profile in the existing FF installation, but deleting all of the Mozilla / Firefox folders from your Windows user profile (and possibly uninstalling FF) and then copying the old profile over (and reinstalling FF) should work.

IIRC, the importing from json backups and export-as-json have not worked in years. Had you tried copying the old FF profile over to your user files in the new Windows installation? There are different ways to activate the profile as a new profile in the existing FF installation, but deleting all of the Mozilla / Firefox folders from your Windows user profile (and possibly uninstalling FF) and then copying the old profile over (and reinstalling FF) should work.
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8838 個解決方法 72245 個答案

justchris63 said

No. It says "failed JSON parsing: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".

What does the data in the box look like after the page decompresses it?

A JSON-format bookmark backup usually starts with something like this (in readable characters):

{"guid":"root_____

What's in your file?

''justchris63 [[#answer-1271050|said]]'' <blockquote> No. It says "failed JSON parsing: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data". </blockquote> What does the data in the box look like after the page decompresses it? A JSON-format bookmark backup usually starts with something like this (in readable characters): {"guid":"root_____ What's in your file?
這篇文章有幫助嗎?
引用

提出問題者

The file is bookmarks-2019-11-20_2189_mWup1fRxr37mQD8f4y+KkA==.jsonlz4_LAST

The file contains my Firefox bookmarks.

This is a screen shot after decompression:

The file is bookmarks-2019-11-20_2189_mWup1fRxr37mQD8f4y+KkA==.jsonlz4_LAST The file contains my Firefox bookmarks. This is a screen shot after decompression:
這篇文章有幫助嗎?
引用

提出問題者

Dinushi Dhananjani,

It could not export any of the json files as html files because it could not recognize them (as html files?), so I copied and renamed the most recent backup json file as an html file and was able to export it. When I imported it, it just made second copies of all my current bookmarks, not the extensive number of bookmarks from the old backup, even though it was the backup file, just renamed as an html file.

Dinushi Dhananjani, It could not export any of the json files as html files because it could not recognize them (as html files?), so I copied and renamed the most recent backup json file as an html file and was able to export it. When I imported it, it just made second copies of all my current bookmarks, not the extensive number of bookmarks from the old backup, even though it was the backup file, just renamed as an html file.
這篇文章有幫助嗎?
引用

提出問題者

crankygoat,

Where do I find the old profile, and what are its files called?

crankygoat, Where do I find the old profile, and what are its files called?
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8838 個解決方法 72245 個答案

Hi justchris63, your file shows a lot of nulls (00) at the end, which is a bad sign. The mechanism Windows uses to track the precise start and end of files may have failed you in this case.

How about the start of the file (if you scroll back to the top of the box)?

Do you have any other old bookmark backup files that don't show that type of corruption?

Hi justchris63, your file shows a lot of nulls (00) at the end, which is a bad sign. The mechanism Windows uses to track the precise start and end of files may have failed you in this case. How about the start of the file (if you scroll back to the top of the box)? Do you have any other old bookmark backup files that don't show that type of corruption?
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17696 個解決方法 160119 個答案

The OP already posted that there is an error at the start of the file (line 1 column 1), so it is likely that the complete file only contains null bytes.

Quote: No. It says "failed JSON parsing: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".

The OP already posted that there is an error at the start of the file (line 1 column 1), so it is likely that the complete file only contains null bytes. Quote: ''No. It says "failed JSON parsing: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".''
這篇文章有幫助嗎?
引用

提出問題者

jscher2000,

All of the files in the backup folder show that same type of corruption. I have no other folders.

jscher2000, All of the files in the backup folder show that same type of corruption. I have no other folders.
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8838 個解決方法 72245 個答案

Is this the only backup -- did the refresh create a Windows.old folder directly on the C drive?

If that is all we have, could you also take a look at the places.sqlite file(s) at the main level of your profile folder(s). You can load the file into an online viewer to see whether it can read any of the tables. For example:

https://inloop.github.io/sqlite-viewer/

The moz_bookmarks table requires the moz_places table for the URLs, so both need to be in good shape to get anything from the file.

Is this the only backup -- did the refresh create a Windows.old folder directly on the C drive? If that is all we have, could you also take a look at the '''places.sqlite''' file(s) at the main level of your profile folder(s). You can load the file into an online viewer to see whether it can read any of the tables. For example: https://inloop.github.io/sqlite-viewer/ The moz_bookmarks table requires the moz_places table for the URLs, so both need to be in good shape to get anything from the file.
這篇文章有幫助嗎?
引用

提出問題者

Yes it's the only backup -- its from an external Passport drive dedicated to backups. The C drive was wiped when I had to reinstall Windows 10.

What "refresh" are you referring to?

Since the backup the new bookmarks I've added are in readable files, but I'm trying to reload my bookmarks from the prior to the Windows 10 re installation from the backup on the Passport device.

I just tried viewing one of the old bookmarks backup files in the viewer you just referred me to and it says: "error: file is encrypted or is not a database".

Yes it's the only backup -- its from an external Passport drive dedicated to backups. The C drive was wiped when I had to reinstall Windows 10. What "refresh" are you referring to? Since the backup the new bookmarks I've added are in readable files, but I'm trying to reload my bookmarks from the prior to the Windows 10 re installation from the backup on the Passport device. I just tried viewing one of the old bookmarks backup files in the viewer you just referred me to and it says: "error: file is encrypted or is not a database".

由 justchris63 於 修改

這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8838 個解決方法 72245 個答案

justchris63 said

I just tried viewing one of the old bookmarks backup files in the viewer you just referred me to and it says: "error: file is encrypted or is not a database".

The viewer is for .sqlite files, if you have an old places.sqlite file.

''justchris63 [[#answer-1271448|said]]'' <blockquote> I just tried viewing one of the old bookmarks backup files in the viewer you just referred me to and it says: "error: file is encrypted or is not a database". </blockquote> The viewer is for .sqlite files, if you have an old places.sqlite file.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題