MozillaZine

How do I transfer bookmarks stored in a JSON file?

User Help for Mozilla Firefox
Windmaker
 
Posts: 19
Joined: October 27th, 2006, 9:47 pm

Post Posted August 1st, 2008, 11:26 am

I just purchased a new computer and had followed some instructions I found in Firefox help on how to transfer my Firefox bookmarks from my old computer to my new computer, but the host file turned out to be a .json file (java script object notation), whatever that means. Initially, I had entered the (provided) path into my Start/Run search box to locate the bookmarks in a "profile folder". From there I copied it onto a flash drive. As stated, it turned out that the file had a .json extension, and the problem is that I haven't found a way to open a/the json type file, so the transfer cannot be completed. When a dialog box appears requesting a selection of a program to open it, entering "java" or "javascript" doesn't compute.

Can anyone help me with this or know of another way to transfer firefox bookmarks between computers? I have Firefox 3.0.1 loaded on both computers....I think. Right now I don't have my old computer hooked up to verify, but I know for certain it was a Firefox 3 version at a minimum...possibly 3.0
Last edited by LIMPET235 on September 24th, 2008, 9:27 am, edited 1 time in total.
Reason: Coloured sig removed..

trolly
Moderator

User avatar
 
Posts: 39243
Joined: August 22nd, 2005, 7:25 am

Post Posted August 1st, 2008, 11:35 am

Use Bookmarks -> Organize Bookmarks -> Import & Backup -> Export HTML
... -> Import HTML

BTW Colored signatures are against the forum rules. Please remove the color. Thanks.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.

coyot
 
Posts: 38
Joined: October 3rd, 2004, 7:42 am

Post Posted August 1st, 2008, 11:49 am

I just copy and paste the "places.sqlite" found in profiles -- that is if your upgrading Firefox and transfering to
another Firefox. If going to a different browser, or lower than FF 3.0 then you need the html file and do as above said.

(Good idea to backup "places.sqlite" it contains everything-ALL bookmarks)

coyot

fan tom
Guest
 

Post Posted August 1st, 2008, 12:46 pm


Anonymosity
 
Posts: 8174
Joined: May 7th, 2007, 12:07 pm

Post Posted August 1st, 2008, 1:44 pm

Why not just copy the .json file to any directory and restore it from there?

dickvl

User avatar
 
Posts: 51515
Joined: July 18th, 2005, 3:25 am

Post Posted August 3rd, 2008, 12:22 am

Bookmarks > Organize Bookmarks > Import & Backup > Restore > Choose File

Guest
Guest
 

Post Posted September 24th, 2008, 8:58 am

coyot wrote:I just copy and paste the "places.sqlite" found in profiles -- that is if your upgrading Firefox and transfering to
another Firefox.

coyot


I have FF 3.0.1 installed on my home and work computers. I use flash drive to transfer the places.sqlite file between the two PCs via SyncToy. What I've found, however, is the bookmarks are not getting updated on my home computer. I've used Sqlite Manager to verify the new bookmarks are in the database, but after copying the file (exiting FF first) and restarting Firefox, they're not there.

The HTML transfer method takes too many steps to perform every other day.

Any suggestions?

Rich

Anonymosity
 
Posts: 8174
Joined: May 7th, 2007, 12:07 pm

Post Posted September 24th, 2008, 11:11 am

Transfer the .json files instead. You obtain those by using "Backup" from the bookmark organizer. You use "Restore" to import them.

dickvl

User avatar
 
Posts: 51515
Joined: July 18th, 2005, 3:25 am

Post Posted September 24th, 2008, 11:24 am

If you copy places.sqlite then you may need to reset browser.places.*folderId prefs on the about:config page. Also old references in localstore.rdf to places.sqlite can cause problems.
So it is better to use a JSON backup to restore the bookmarks from.

steviex
Moderator

User avatar
 
Posts: 28902
Joined: August 12th, 2006, 8:27 am
Location: Middle England

Post Posted September 24th, 2008, 12:06 pm

Pike's Bookmarks Backup Extension is a good way to automate this... http://www.pikey.me.uk/mozilla/?addon=bb

It can save Bookmarks and other Profile data to the folder of your choice on a daily basis.....
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -Albert Einstein

Please DO NOT PM me for support... Lets keep it on the board, so we can all learn.

Guest
Guest
 

Post Posted September 25th, 2008, 4:35 am

Using the .json files appears to be a workable solution. However, I'm still puzzled about why transferring the places.sqlite file works from home to work, but not from work to home.

Pike's extension seems to do what I'm doing manually so I doubt it would help.

Thanks,
Rich

Guest
Guest
 

Post Posted October 6th, 2008, 3:44 pm

I had the same problem the above answer :"Bookmarks > Organize Bookmarks > Import & Backup > Restore > Choose File" worked great!! Thanks

Guest
Guest
 

Post Posted November 17th, 2008, 3:14 pm

ok, I running Win XP Home and the new firefox 3.0.4 and I had to reformat the HD and before I did so I used firefox to backup my bookmarks and saved the .json file.
NOOOW when I try to restore that file it says "Unable to process the backup file."

It is driving me buggy because alllll of the last 6 months of bookmarks and research sites are in there and I really do not want to have to research it allll over again.

Any help is greatly loved!!

dickvl

User avatar
 
Posts: 51515
Joined: July 18th, 2005, 3:25 am

Post Posted November 17th, 2008, 4:44 pm

Which security software do you have?

You can use EnumProcess written by trolly, a moderator on this forum, to check which security software is running (firewalls and anti-virus).
More info on trolly's website: http://www.trolly.homepage.t-online.de/tools.html

Try to put the JSON backup in the bookmarkbackups folder and move all other files in that folder to another location. Then also remove places.sqlite and prefs.js from the profile folder. That should make Firefox use the JSON backup to recreate a new places.sqlite.

See Finding the profile folder on Windows
"Application Data" in XP and "AppData" in Vista are hidden folders

Show hidden files and folders

XP/2K : C:\Documents and Settings\<user>\Application Data\Mozilla\Firefox\Profiles\<profile>\
Vista : C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\

the-edmeister

User avatar
 
Posts: 31167
Joined: February 25th, 2003, 12:51 am
Location: Chicago, IL, USA

Post Posted November 17th, 2008, 4:50 pm

^ Guest,

Open that .json file in a text reader program, like Notepad. The "uri" for each bookmark is there, so you should be able to recover most of those bookmarks.


.
A mind is a terrible thing to waste. Mine has wandered off and I'm out looking for it.

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 13 guests