Monday, February 10, 2020

Restore Google Chrome and Firefox Bookmarks from a backup

I had an issue with my Hackintosh, so that it wouldn't boot anymore. However I was able to mount the disk of the machine to another newly built Hackintosh which helped me to access the files of the troubled Hackintosh.

First I plugged the disk to the new Hackintosh

For Google Chrome,


1. Navigate to below location of the disk,

/Volumes/<volume name> - Data/Users/<username>/Library/Application Support/Google/Chrome/Default

2. There should be two Bookmark files in the directory:'Bookmarks' and 'Bookmarks.bak'

3. Check the latest by executing diff command

4. Copy the latest to below location of your new machine

/Users/<username>/Library/Application Support/Google/Chrome/Default


For Firefox,


1. Navigate to below location of the disk,

/Volumes/<volume name> - Data/Users/<username>/Library/Application Support/Firefox/Profiles/wzghbr3j.default/bookmarkbackups


2. There should be multiple files in the directory.
e.g.:

bookmarks-2020-02-08_744_<some-encoded-values>.jsonlz4
bookmarks-2020-02-09_744_<some-encoded-values>.jsonlz4


3. Pick the latest file and copy it to the desktop


4. Open Firefox, Select Bookmark and then Show All BookMarks


5. Click on Restore and then select choose file


6. Select the file from the Desktop

No comments:

Post a Comment