PHP code example of basry / larabackup

1. Go to this page and download the library: Download basry/larabackup 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/ */

    

basry / larabackup example snippets


php artisan larabackup:backup

php artisan larabackup:restore dumpFullName

php artisan larabackup:list

php artisan vendor:publish --tag=larabackup-config

php artisan larabackup:backup --database=DatabaseConnection

php artisan larabackup:backup --disk=Disk

php artisan larabackup:backup --path=Path