Easy way to export functions, policies, tables to supabase local hosted

I do have supabase hosted at home and I have an instance in supabase cloud. I wanted to export all the tables, with the info in it, and the policies and functions that are also on supabase in a easy way. Is there anything for it?
Was this page helpful?