Wallogit.com
2017 © Pedro Peláez
Backup script for limited shared hosting
Because even small websites need to be backed up, (*1)
Backup script for limited shared hosting, (*2)
Before installing this, you need to check if you have PHPand Composer installed on your computer., (*3)
composer require shikiryu/backup
Everything in this library is based on a scenario (or multiple scenarii)., (*4)
It consists of 2 sections in a JSON file : * what to backup * where to backup, (*5)
You have an example file in app/scenario., (*6)
The first section is backup (what to backup) and the second transport, (*7)
More information about how to use scenario, (*8)
Each possible section has docs in their respective folders, (*9)
Here is an example code, (*10)
<?php
include_once 'vendor/autoload.php';
try {
\Shikiryu\Backup\Scenario::launch('backup.json'); // whatever the file name you gave previously
} catch (\Exception $e) {
echo $e->getMessage();
}
Please open an issue for support., (*11)
Please contribute using Github Flow. Create a branch, add commits, and open a pull request., (*12)
Creative Commons Attribution NonCommercial (CC-BY-NC) © Chouchen, (*13)