PHP code example of webula / smallbackup-plugin
1. Go to this page and download the library: Download webula/smallbackup-plugin library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webula / smallbackup-plugin example snippets
title = "artisan"
url = "/artisan/schedule"
is_hidden = 0
==
function onStart()
{
wsb_backup_db($once = false, $connectionName = null,$noCleanup = false);
wsb_backup_theme($once = false, $themeName = null, $noCleanup = false);
wsb_backup_storage($once = false, $cmsStorage = null, $noCleanup = false);
}