Daily automatic database download

I want to be created The database download (database export) is stored in the desired web folder. automatically every day. How do I use it? Can I use a Cron Job or do I have to do it?


It should be possible with a bash script and cron job.