PHP Website & Database Backup to ZIP

I recently had the need to do a full website backup (WordPress in this instance). I needed to zip up the main website files and MySQL database. After much trail and error, I have come up with a fairly simple solution. Breakdown The main “zipIt” function takes 3 arguments: source: The folder to zip. destination: […]