getting dump from database by UNIX script

can i make a dump to happen from my script in a databse.and download that dump.

I want to schedule a script i cron so that i will make a dump and download that inot my server.

What database - Oracle, Sybase?