In this mini-tutorial we will build little php file which can take your website database backup and send it to remote ftp server. We will write 3 functions for it. 1st one will take backup from our database. 2nd one will send it to remote ftp server. 3rd one will make 1-2 steps automatizied.