Restore form from database

Hi, I’m trying to recover a form from a WP website that has been heavily corrupted.

Can I do that from the database, and if so, how?

I’d like to be able to export to json to reimport into another WP instance.

You won’t be able to export as JSON from the database directly, but you can grab the record from the wp_gf_form and wp_gf_form_meta tables and copy that to a new WordPress database. You will need to edit the form ID in the new database. This is not covered by Gravity Forms support, so I recommend working with your hosting support for assistance if you’re not comfortable with direct database manipulation.