There’s a folder in your Firefox profile with 5 bookmark backups. As for History, I would ask on the mozillazine.org forums. When you’re up and running again, back up your entire Firefox profile.