Automatic file and MySQL backup with SFTP transfer

In this post I’m going to explain to you the backup mechanism behind all my domains. The backups are created automatically and securely downloaded onto another storage. Generating the backup First, I setup a cronjob that creates a package of all relevant content.

This job gets executed every morning at 5 o’clock. The script…