PHP code example of voral / bx-backup-tools

1. Go to this page and download the library: Download voral/bx-backup-tools 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/ */

    

voral / bx-backup-tools example snippets



Vasoft\BxBackupTools\Config;
use Vasoft\BxBackupTools\Core\Application;

$configContainer = (new Config\Factory())->load('dev');
$app = new Application([
    // Добавьте необходимые задачи
]);
$app->handle();

cp vendor/voral/bx-backup-tools/examples/config.php config.local.php

cp vendor/voral/bx-backup-tools/examples/download.php download.php

cp vendor/voral/bx-backup-tools/examples/upload.php upload.php