Add-on Auto Backup Database Script

Hi I need a script that backs up your mysql database locally into a folder or something for xenforo v1.5.5

also it should have options to set the timer of backup like back up every week or every day.

please let me know which ones do it for xenforo v1.5.5.