Is there a way taken it back up the database Please explain and thank you for great script
The usual way - using mysqldump or a similar utility.
There's a really good desciption for creating scheduled backups from a MySQL database here. Its simple and easy to implement.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.