How can I do automatic backup of Firefox bookmarks? What is the name of the bookmarks file and where is it probably located in Windows?
I want to back up Firefox bookmarks automatically. I know that Firefox has manual bookmark export and bookmark. Can it be automatic? If not I will use backup software to do it, but I need to know the name of the bookmark file and where it is located on my hard drive. .
所有回复 (2)
Firefox stores both bookmarks and browsing history in the file places.sqlite in the Firefox profile folder . On Windows 7, the Firefox profile folder location is something like: C:\Users\"your username"\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default but this location is hidden by default. See Profiles - Where Firefox stores your bookmarks, passwords and other user data for help finding the profile folder.
Firefox bookmarks are already backed up automatically. The bookmark backups are stored as dated .json files in the Firefox profile folder, under the subfolder, bookmarkbackups. You can restore a bookmark backup file using the information here:
For additional information, see:
由AliceWyman于
You can make Firefox 3 create an automatic HTML backup (bookmarks.html) when you exit Firefox if you set the pref browser.bookmarks.autoExportHTML to true on the about:config page.
That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the pref browser.bookmarks.file on the about:config page.
Note: an HTML backup doesn't preserve tags and annotations, so you lose those if you need to import the HTML backup.
See also: