Backup instructions

Dependencies

You need two classes to use Backup:

Create ZIP File
mysql_dump

Database

This class is designed only for MySQL databases. If you need to dump any other DB, you should look for a class to replace mysql_dump and change the Backup.backup_mysql() function.

Permissions

You must have read permissions in order to backup files an directories. Otherwise, ZIP file will be empty.