$sourceFolder
$sourceFolder :
Functionallity for automated folder backups as .zip files.
Usage: define backup types and paths in config/crudkit.php. Setup an external cronjob to call the backup url. All errors make the script abort by sending a HTTP 500 error plus an error message as an result.
__construct(string $sourceFolder, string $destinationFolder, integer $maxBackupFiles) : void
Constructor. Returns http 500 on failure.
| string | $sourceFolder | The folder to back up |
| string | $destinationFolder | The location for the backup .zip file |
| integer | $maxBackupFiles | Max. amount ouf backup files in the backup folder |