At some point you may find yourself wishing you could get your firefox boomarks from another user home directory on your laptop or on backup.
I want to be able to find them, and restore them into Firefox in my new profile.
This is the location in the filesystem where the Firefox bookmarks are kept. Firefox appears to retain backups of the bookmarks on its own, which is very convenient indeed.
/home/matt/.mozilla/firefox/n5ufmg0e.default/bookmarkbackups
Simply copy the most recent file to the same location in your new profile. The filename is fairly cryptic looking, e.g.
‘bookmarks-2018-09-13_15_AWyxn1GRB8WngmWVnMswTg==.jsonlz4’
so my advice would be to not change it at all, just copy it as it is into the same location in your new profile.
You’ll need to restart firefox before you’ll see it as a recoverable item in the Firefox Bookmarks, Show All Bookmarks, Backup and Restore dialog.
In newer versions of Firefox, the menu bar and bookmarks toolbar are missing by default (I hate all this modern minimalism as it smacks of form over function) but you can enable it again by right clicking on a blank bit of GUI and selecting Menu bar and Bookmarks bar (Highly recommended).