I manage a VPS of my client. He wanted a backup solution includes some folders and mysql databases. OS is Ubuntu, web server is apache. I don’t want my client to mess with ssh or ftp.
I think i can save database backup files and trigger PHP’s exec function from a wab page to zip folders and database backup files, then give a link to download this zip file.
This is technically possible but i wonder if there is a better solution except automatically copying backup files to another server. Because creating backups anytime is required in my situation.
There are lots of possibilities, here is a very simple one we use every day: