Help Needed: How to Take SQL DB Dump for a Specific Module in ERPNext

If you have created a custom app, you can export customization in your custom app via fixtures.

https://frappeframework.com/docs/user/en/guides/app-development/exporting-customizations