Backup

Hi can someone point me in the wright direction here.

I have a php script that exports and imports the data from my db to txt files.

what i would like to do is to call this script once a day at a certain time to make a backup.

Is it possible to start some proces in apache or mysql to do this?

I’m working on an intranet so i have all control over my server.

thx in advance for the help…