X
Tryk her for at gå til webstedets mobilversion.

Supportforum

So confused about backing up bookmarks

Skrevet

I lost all my bookmarks when my computer crashed. I thought they would have been on my backup drive, but they were not. Some people say export to a htlm file, then put in documents, then when you backup, they will be there. 'Then I have heard about backing them up to a json file. i tried that and it wouldn't open up from my desktop. So i don't know what to do. I cannot afford to lose them again. I am slowly building them back up, but had a lot of medical sites on there. What is the best way and safest way. I have windows 8. Thanks.

I lost all my bookmarks when my computer crashed. I thought they would have been on my backup drive, but they were not. Some people say export to a htlm file, then put in documents, then when you backup, they will be there. 'Then I have heard about backing them up to a json file. i tried that and it wouldn't open up from my desktop. So i don't know what to do. I cannot afford to lose them again. I am slowly building them back up, but had a lot of medical sites on there. What is the best way and safest way. I have windows 8. Thanks.

Valgt løsning

Hi PattiChati, it depends on how your backup software is configured -- what folders it backs up. Make sure you export to one of those folders.

Læs dette svar i sammenhæng 0

Yderligere systemdetaljer

Installerede plugins

  • Shockwave Flash 11.8 r800
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.03
  • Picasa plugin
  • NPWLPG
  • Intel web components for Intel® Identity Protection Technology
  • Intel web components updater - Installs and updates the Intel web components
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers

Program

  • Firefox 23.0.1
  • User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
  • Support-URL: http://support.mozilla.org/1/firefox/23.0.1/WINNT/en-US/

Udvidelser

  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • avast! Online Security 8.0.1489 (wrc@avast.com) (Inactive)
  • MixiDJ V30 10.16.9.506 ({1122b43d-30ee-403f-9bfa-3cc99b0caddd}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Grafik

  • adapterDescription: Intel(R) HD Graphics 4000
  • adapterDescription2:
  • adapterDeviceID: 0x0166
  • adapterDeviceID2:
  • adapterDrivers: igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32
  • adapterDrivers2:
  • adapterRAM: Unknown
  • adapterRAM2:
  • adapterVendorID: 0x8086
  • adapterVendorID2:
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.16581
  • driverDate: 10-17-2012
  • driverDate2:
  • driverVersion: 9.17.10.2875
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'direct2d', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (Intel(R) HD Graphics 4000)
  • windowLayerManagerType: Direct3D 10

Ændrede indstillinger

  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.places.smartBookmarksVersion: 4
  • browser.startup.homepage: https://us-mg5.mail.yahoo.com/neo/launch?.rand=bfegst4cumimm#mail|https://us-mg5.mail.yahoo.com/neo/launch?.rand=8lcmkvkfcv404|http://lp.vertitechnologygroup.com/tinyplayer__/?o=45&campid=633&creaid=60&reqid=223166141|http://my-uq.com/rdr/5093062/flash-player/1/&_mcnc&af=5093062&of=f-a-l-new1
  • browser.startup.homepage_override.buildID: 20130814063812
  • browser.startup.homepage_override.mstone: 23.0.1
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 23.0.1
  • font.internaluseonly.changed: True
  • gfx.direct3d.last_used_feature_level_idx: 0
  • keyword.URL:
  • network.cookie.cookieBehavior: 1
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1376759353
  • places.history.expiration.transient_current_max_pages: 104858
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • plugins.notifyMissingFlash: False
  • privacy.sanitize.migrateFx3Prefs: True
  • security.csp.enable: False
  • security.OCSP.enabled: 0
  • storage.vacuum.last.index: 1
  • storage.vacuum.last.places.sqlite: 1376326736

Diverse

  • User JS: Nej
  • Tilgængelighed: Nej
Luk
cor-el
  • Top 10 Contributor
  • Moderator
17479 løsninger 157955 svar

What kind of backup did you create?

Make sure that the backup file with the bookmarks has the correct file extension:

  • .html for a HTML backup
  • .json for a JSON backup

You can check the type via the right-click context menu of that file and open the Properties.
If you are not sure about the file type then you can open the file in Firefox via "File > Open File"
A JSON backup will show as one long text line without line breaks and a HTML backup as a web page with clickable links.

A JSON backup starts with: {"title":"","id":1,"dateAdded":
An HTML backup starts with: <!DOCTYPE NETSCAPE-Bookmark-file-1>

Note that you can open an HTML backup in a Firefox tab (Firefox > New Tab > Open File) to inspect the file and links (bookmarks) in the file should be clickable.

What kind of backup did you create? Make sure that the backup file with the bookmarks has the correct file extension: * .html for a HTML backup * .json for a JSON backup You can check the type via the right-click context menu of that file and open the Properties.<br /> If you are not sure about the file type then you can open the file in Firefox via "File > Open File"<br /> A JSON backup will show as one long text line without line breaks and a HTML backup as a web page with clickable links. A JSON backup starts with: <b><nowiki>{"title":"","id":1,"dateAdded":</nowiki></b><br /> An HTML backup starts with: <b><nowiki><!DOCTYPE NETSCAPE-Bookmark-file-1></nowiki></b> Note that you can open an HTML backup in a Firefox tab (Firefox > New Tab > Open File) to inspect the file and links (bookmarks) in the file should be clickable.

Ændret af cor-el den

the-edmeister
  • Top 25 Contributor
  • Moderator
5399 løsninger 40158 svar

IMO, it is best to have a bookmarks.html backup. That is the universal bookmark interchange format for web browsers, which allows a person to import their bookmarks into almost any browser. Every browser I have ever seen had the ability to both export and import favorites / bookmarks in bookmarks.html format. This file type can also be viewed in any browser, just like viewing a web page. This file format was initiated by Netscape back in 1995, which used it for "exporting & importing" and for bookmarks storage, too. Firefox followed suit and used this format for the same purpose up thru the Firefox 2.0 versions, along with using bookmarks.html for bookmarks backups from the 1.5 thru the 2.0 versions. In Firefox 3.0 and later versions Firefox used a more modern format - sqlite for storage and json for backups, but they left the option available for a backup to be saved in the old bookmarks.html format, too. (there's a hidden preference of - browser.bookmarks.autoExportHTML - which the user needs to turn on for Firefox to save in that format, in addition to the json format)

As far as the .json format goes, that is what Firefox uses now for automatic bookmarks backups into a similarly named folder in the Profile folder. If you use the Tags feature in Firefox bookmarks, this is the format that you want your bookmark backups saved in - the older html format predates the Tags feature and doesn't support Tags data.

The json file format is widely used for different purposes unrelated to just Firefox bookmarks. http://en.wikipedia.org/wiki/Json Which might be why you couldn't open that file from the WIndows 8 desktop. You should be able to open and view that file type in a text program like Wordpad or Notepad, as it is a text based file type - but Firefox incarnation has no carriage returns so it is one super long line of text and characters. It is made to "work", not to be easily "read".


My recommendation is to turn on that browser.bookmarks.autoExportHTML preference in about:config to give you an automatic HTML file backup of your bookmarks, and then create a new preference ("browser.bookmarks.file", "path:\\to-Firefox\\bookmarks\\"); to point that file to a drive location where your backup program will find that backup to save it with all your other backup files.
http://kb.mozillazine.org/About:config


You are probably overwhelmed by now with my explanation, but it isn't really that hard to setup. If that's what you decide to do one of us can walk you thru setting it up in the manner that I recommended (or explain it bit more succinctly). And chances are that another support helper may come up with something that might be easier to use. I tend to do things related to Firefox with what is already built into Firefox, and without the use of external programs or extensions, where available, so that I am not dependent upon an extension which might be abandoned and not available any longer.

IMO, it is best to have a '''bookmarks.html''' backup. That is the universal bookmark interchange format for web browsers, which allows a person to import their bookmarks into almost any browser. Every browser I have ever seen had the ability to both export and import favorites / bookmarks in bookmarks.html format. This file type can also be viewed in any browser, just like viewing a web page. This file format was initiated by Netscape back in 1995, which used it for "exporting & importing" and for bookmarks storage, too. Firefox followed suit and used this format for the same purpose up thru the Firefox 2.0 versions, along with using bookmarks.html for bookmarks backups from the 1.5 thru the 2.0 versions. In Firefox 3.0 and later versions Firefox used a more modern format - sqlite for storage and json for backups, but they left the option available for a backup to be saved in the old bookmarks.html format, too. ''(there's a hidden preference of - '''browser.bookmarks.autoExportHTML''' - which the user needs to turn on for Firefox to save in that format, in addition to the json format)'' As far as the '''.json''' format goes, that is what Firefox uses now for automatic bookmarks backups into a similarly named folder in the Profile folder. If you use the Tags feature in Firefox bookmarks, this is the format that you want your bookmark backups saved in - the older html format predates the Tags feature and doesn't support Tags data. The '''json''' file format is widely used for different purposes unrelated to just Firefox bookmarks. http://en.wikipedia.org/wiki/Json Which might be why you couldn't open that file from the WIndows 8 desktop. You should be able to open and view that file type in a '''text program''' like Wordpad or Notepad, as it is a text based file type - ''but Firefox incarnation has no carriage returns so it is one super long line of text and characters. It is made to "work", not to be easily "read".'' ----- My recommendation is to turn on that '''browser.bookmarks.autoExportHTML''' preference in about:config to give you an automatic HTML file backup of your bookmarks, and then create a new preference '''("browser.bookmarks.file", "path:\\to-Firefox\\bookmarks\\");''' to point that file to a drive location where your backup program will find that backup to save it with all your other backup files. <br />http://kb.mozillazine.org/About:config ------ You are probably overwhelmed by now with my explanation, but it isn't really that hard to setup. If that's what you decide to do one of us can walk you thru setting it up in the manner that I recommended (or explain it bit more succinctly). And chances are that another support helper may come up with something that might be easier to use. I tend to do things related to Firefox with what is already built into Firefox, and without the use of external programs or extensions, ''where available'', so that I am not dependent upon an extension which might be abandoned and not available any longer.

Spørgsmålsstiller

My recommendation is to turn on that browser.bookmarks.autoExportHTML preference in about:config to give you an automatic HTML file backup of your bookmarks, and then create a new preference ("browser.bookmarks.file", "path:\\to-Firefox\\bookmarks\\"); to point that file to a drive location where your backup program will find that backup to save it with all your other backup files. http://kb.mozillazine.org/About:config

You are probably overwhelmed by now with my explanation, but it isn't really that hard to setup. If that's what you decide to do one of us can walk you thru setting it up in the manner that I recommended (or explain it bit more succinctly).

'Yes, I would like to go this way and would truly appreciate it if you could walk me through it. I take it is not as simple as going to bookmarks and export to html? 'bold text'

My recommendation is to turn on that browser.bookmarks.autoExportHTML preference in about:config to give you an automatic HTML file backup of your bookmarks, and then create a new preference ("browser.bookmarks.file", "path:\\to-Firefox\\bookmarks\\"); to point that file to a drive location where your backup program will find that backup to save it with all your other backup files. http://kb.mozillazine.org/About:config You are probably overwhelmed by now with my explanation, but it isn't really that hard to setup. If that's what you decide to do one of us can walk you thru setting it up in the manner that I recommended (or explain it bit more succinctly). 'Yes, I would like to go this way and would truly appreciate it if you could walk me through it. I take it is not as simple as going to bookmarks and export to html? ''''''bold text''''''
cor-el
  • Top 10 Contributor
  • Moderator
17479 løsninger 157955 svar

Nyttigt svar

If you use the above mentioned method and set the browser.bookmarks.autoExportHTML to true then Firefox will create an automatic HTML backup each time you close Firefox in addition to the JSON backup that is created once each day when you start Firefox.

So this HTML back up always has the latest changes and you do not need to create one yourself.
This HTML backup is created by default in the Firefox profile folder as bookmarks.html, but you can specify its name and location via the browser.bookmarks.file pref.

This browser.bookmarks.file pref doesn't exist by default and thus needs to be created as a new Boolean pref via the right-click context menu of the about:config page (right-click: New > String).

You can enter a normal file path like C:\<backup directory>\bookmarks.html and Firefox will automatically escape (double the backslashes) for you when saving the pref to prefs.js.

If you are OK with leaving the file in the Firefox profile folder then you can omit this step.

See also:

You can use this button to go to the Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
If you use the above mentioned method and set the browser.bookmarks.autoExportHTML to true then Firefox will create an automatic HTML backup each time you close Firefox in addition to the JSON backup that is created once each day when you start Firefox. So this HTML back up always has the latest changes and you do not need to create one yourself.<br /> This HTML backup is created by default in the Firefox profile folder as bookmarks.html, but you can specify its name and location via the browser.bookmarks.file pref. This browser.bookmarks.file pref doesn't exist by default and thus needs to be created as a new Boolean pref via the right-click context menu of the <b>about:config</b> page (right-click: New > String). You can enter a normal file path like C:\<backup directory>\bookmarks.html and Firefox will automatically escape (double the backslashes) for you when saving the pref to prefs.js.<br /> If you are OK with leaving the file in the Firefox profile folder then you can omit this step. *http://kb.mozillazine.org/about:config See also: *http://kb.mozillazine.org/Export_bookmarks You can use this button to go to the Firefox profile folder: *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

Ændret af cor-el den

Spørgsmålsstiller

I am sorry, but still don't understand. If I set up the Boolean pref, it backs up bookmarks automatically? Can't i just do it manually by exporting file to html? I have windows 8 and am not familiar with it yet. When I type in about:config it says I can't open it and it says get the app that supports it. I don't know what i am doing there. Thanks.

I am sorry, but still don't understand. If I set up the Boolean pref, it backs up bookmarks automatically? Can't i just do it manually by exporting file to html? I have windows 8 and am not familiar with it yet. When I type in about:config it says I can't open it and it says get the app that supports it. I don't know what i am doing there. Thanks.
cor-el
  • Top 10 Contributor
  • Moderator
17479 løsninger 157955 svar

Nyttigt svar

Yes, you can backup the bookmarks manually in the Bookmarks Manager (Library) if you prefer this.

  • Bookmarks > Show All Bookmarks > Import & Backup > Export Bookmarks to HTML

But of course you need to remember doing this regularly and with an automatic backup.
You need to remember to copy the backup to a safe place to prevent it from getting overwritten with a copy that is missing bookmarks or is otherwise corrupted.

Yes, you can backup the bookmarks manually in the Bookmarks Manager (Library) if you prefer this. *Bookmarks > Show All Bookmarks > Import & Backup > Export Bookmarks to HTML But of course you need to remember doing this regularly and with an automatic backup.<br /> You need to remember to copy the backup to a safe place to prevent it from getting overwritten with a copy that is missing bookmarks or is otherwise corrupted.

Ændret af cor-el den

Spørgsmålsstiller

OK, thanks. So when I export manually don't have it overwrite the same file? Give it a different name? Thanks.

OK, thanks. So when I export manually don't have it overwrite the same file? Give it a different name? Thanks.
cor-el
  • Top 10 Contributor
  • Moderator
17479 løsninger 157955 svar

Yes, you can add the date to the file name, just like Firefox does with the JSON backups in the bookmarkbackups folder (bookmarks-yyyy-mm-dd.html). Then you can easily see when each backup has been created.

Yes, you can add the date to the file name, just like Firefox does with the JSON backups in the bookmarkbackups folder (bookmarks-yyyy-mm-dd.html). Then you can easily see when each backup has been created.

Spørgsmålsstiller

Thank you. How come when it saves to a json file you cannot open it? Would it be able to be restored so you could see it? I don't see what difference it would make to do it the htlm way. I plan on saving them in the documents file then they should backup and be restored like the other files, right? Thank you so much for all your help. One problem down, about 4 to go. Thanks.

Thank you. How come when it saves to a json file you cannot open it? Would it be able to be restored so you could see it? I don't see what difference it would make to do it the htlm way. I plan on saving them in the documents file then they should backup and be restored like the other files, right? Thank you so much for all your help. One problem down, about 4 to go. Thanks.
cor-el
  • Top 10 Contributor
  • Moderator
17479 løsninger 157955 svar

A JSON file is in a special object format consisting of record names and their value and is not very human readable as is essential one long line without line breaks (those would only add to the file size).

This page would look like this with the URL and Title:

[{"url":"https://support.mozilla.org/en-US/questions/968414#answer-469552","title":"So confused about backing up bookmarks | Firefox Support Forum | Mozilla Support","ID":4896,"referrer":"https://support.mozilla.org/en-US/questions?page=1"}]

The HTML format is the same as used to code web pages and can thus can be opened in a tab via Firefox > New Tab > Open File or by simply dragging the file on empty space on the tab bar or in the browsing area and gives you links that can be clicked to open a bookmark.
The JSON format can only be read properly by a program that can interpret this specific object structure and that means restoring the file in the Firefox Bookmarks Manager (Library).
Other programs can only beautify the print by adding line breaks and a possible indent.

A JSON file is in a special object format consisting of record names and their value and is not very human readable as is essential one long line without line breaks (those would only add to the file size). This page would look like this with the URL and Title: <pre><nowiki>[{"url":"https://support.mozilla.org/en-US/questions/968414#answer-469552","title":"So confused about backing up bookmarks | Firefox Support Forum | Mozilla Support","ID":4896,"referrer":"https://support.mozilla.org/en-US/questions?page=1"}]</nowiki></pre> The HTML format is the same as used to code web pages and can thus can be opened in a tab via Firefox > New Tab > Open File or by simply dragging the file on empty space on the tab bar or in the browsing area and gives you links that can be clicked to open a bookmark.<br /> The JSON format can only be read properly by a program that can interpret this specific object structure and that means restoring the file in the Firefox Bookmarks Manager (Library).<br /> Other programs can only beautify the print by adding line breaks and a possible indent.

Spørgsmålsstiller

Thank you so much for your help. mission accomplished. Have a great day!

Thank you so much for your help. mission accomplished. Have a great day!
cor-el
  • Top 10 Contributor
  • Moderator
17479 løsninger 157955 svar

You're welcome Patti.

You're welcome Patti.
ARREB 0 løsninger 11 svar

Do not use the Restore and Backup feature in Firefox that is in the Show all Bookmarks window as it is defective. It creates a file as a backup then it is unable to open its own created file. This has happened to me on every operating system on multiple computers. I have lost all my book marks plenty of time does that.

Seems to be a bug in Mozilla.
I am a 20 year computer tech with my own business so I have some insight on this.
Export it as a HTML if you do not want to loose your bookmark backup.
Do not use the Restore and Backup feature in Firefox that is in the Show all Bookmarks window as it is defective. It creates a file as a backup then it is unable to open its own created file. This has happened to me on every operating system on multiple computers. I have lost all my book marks plenty of time does that. Seems to be a bug in Mozilla. I am a 20 year computer tech with my own business so I have some insight on this. Export it as a HTML if you do not want to loose your bookmark backup.

Ændret af ARREB den

cor-el
  • Top 10 Contributor
  • Moderator
17479 løsninger 157955 svar

You only get that problem if you save the file with the wrong or missing file extension.

Make sure that the backup file with the bookmarks has the correct file extension:

  • .html for a HTML backup (Export Bookmarks to HTML)
  • .json for a JSON backup (Backup)
You only get that problem if you save the file with the wrong or missing file extension. Make sure that the backup file with the bookmarks has the correct file extension: * .html for a HTML backup (Export Bookmarks to HTML) * .json for a JSON backup (Backup)
ARREB 0 løsninger 11 svar

I saved it as firefox default backup extension, so that means by default it picks the wrong one

I saved it as firefox default backup extension, so that means by default it picks the wrong one

Ændret af ARREB den

Spørgsmålsstiller

Ok, so I just export them and they will save in a file and then when I do my weekly backup to my external hard drive - they will all be there, right?

Ok, so I just export them and they will save in a file and then when I do my weekly backup to my external hard drive - they will all be there, right?
jscher2000
  • Top 10 Contributor
8695 løsninger 71074 svar

Valgt løsning

Hi PattiChati, it depends on how your backup software is configured -- what folders it backs up. Make sure you export to one of those folders.

Hi PattiChati, it depends on how your backup software is configured -- what folders it backs up. Make sure you export to one of those folders.

Spørgsmålsstiller

Hi - when I look at what is on the backup it has documents and the file for bookmarks is in documents. I should try to open it up and see if it is there and if it looks correct. Thanks so much.

Hi - when I look at what is on the backup it has documents and the file for bookmarks is in documents. I should try to open it up and see if it is there and if it looks correct. Thanks so much.