There may be other threads here on the forum about Firefox bookmarks, but the one I remember off the top of my head is
this one.
I occasionally make a backup copy (different name, different location) of my bookmarks file. I think there may even be a Firefox extension or some such to generate archive copies automatically.