PHP code example of milkwood / laravel-backupper

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

    

milkwood / laravel-backupper example snippets


's3' => [
    'driver' => 's3',
    'key'    => 'XXX',
    'secret' => 'XXX',
    'region' => 'XXX',
    'bucket' => 'XXX',
]

php artisan backup:db

php artisan backup:cleaner

php artisan backup:report "receiver email" "receiver name"