PHP code example of ytubes / backup
1. Go to this page and download the library: Download ytubes/backup 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/ */
ytubes / backup example snippets
'components' => [
'modules' => [
'backup' => [
'class' => 'ytubes\backup\Module',
'enableCompression' => true,
'backupDirectory' => dirname(dirname(__DIR__)) . '/backup',
],
],
],
\ytubes\backend\cron\jobs\Backup 01 00 * * *