You would need to export your database using PHPMyAdmin to export your database.
When your reinstall it, I'd recommend you manually configure the settings so your database isn't affected.
You will need to import it when your ready to reinstall it and then proceed with setting the forums configuration file, You may also just save a copy of your existing one.