I needed a MySQL database backup function that I could call from a script and
would not rely on mysqldump or phpMyAdmin.
I found a class by Hossein Sarlak that used the older mysql interface. I wanted
the newer mysqli interface, so I set out rebuilding the class when I could not
locate Hossein Sarlak.
I found his script for sale for $25, but no indication whether it was updated.
This script is free. Use as you see fit.
Make sure to read all comments. There are some customizations needed.
26 February 2015