dumping data to sql file

I need to dump my data from a .gdb database to a readable .sql file
that contains all of the create tables and inserts needed to
regenerate the database as it was.  I have tried looking a little at
gbak, but does not seem to do what I'm looking for.  Any ideas?