PHP code example of calmbackup / backup

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

    

calmbackup / backup example snippets

bash
php artisan backup:install
bash
# Laravel
php artisan backup:run

# Any PHP app
vendor/bin/calmbackup run
bash
php artisan backup:list          # Laravel
vendor/bin/calmbackup list-backups   # Any PHP
bash
php artisan backup:restore       # Laravel
vendor/bin/calmbackup restore    # Any PHP
bash
php artisan backup:status        # Laravel
vendor/bin/calmbackup status     # Any PHP