PHP code example of sam152 / platform-backup
1. Go to this page and download the library: Download sam152/platform-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/ */
sam152 / platform-backup example snippets
db_backup:
spec: "0 0 * * *"
cmd: "php ./jobs/backup.php"