database dump from application

hello,
i am new to rails and would like to know if there is a simple way to
dump my database (schema and data) from within my rails app.

thanks
marco

marco wrote:

hello,
i am new to rails and would like to know if there is a simple way to
dump my database (schema and data) from within my rails app.

thanks
marco

try running
rake --tasks
and see if anything there looks useful.
Cheers.
-=R

thanks for that answer, but that was not what I was looking for.

I would like to dump my database from within my application (a link in
the app "Save Database To File"), not from the commandline.
Or is there a possibility to invoke a commandline?

marco