Run the goDump script
I have made this tool for internal use. pg_dump and pg_restore can also be done manually using pgAdmin, but I wanted to make the process more automated. So I created this Go script with 8 steps.
I am sure this script can be modified to be used for MySQL or other databases.