Recommend this page to a friend! |
Download .zip |
Info | View files (27) | Download .zip | Reputation | Support forum (2) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 146 | All time: 9,054 This week: 163 |
Version | License | PHP version | Categories | |||
shikiryu_backup 1.0.1 | The PHP License | 5 | PHP 5, Databases, Files and Folders, S..., S... |
Description | Author | |
This package can backup files and databases to different storage containers. |
> Because even small websites need to be backed up
Backup script for limited shared hosting
Before installing this, you need to check if you have PHP
and Composer
installed on your computer.
composer require shikiryu/backup
Everything in this library is based on a scenario (or multiple scenarii).
It consists of 2 sections in a JSON file : * what to backup * where to backup
You have an example file in app/scenario
.
The first section is backup
(what to backup) and the second transport
More information about how to use scenario
Each possible section has docs in their respective folders
Here is an example code
<?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.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.
Creative Commons Attribution NonCommercial (CC-BY-NC)) © Chouchen
Files |
File | Role | Description | ||
---|---|---|---|---|
app (2 directories) | ||||
docs (2 files, 2 directories) | ||||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
README.md | Data | Read me |
Files | / | app | / | code |
File | Role | Description | ||
---|---|---|---|---|
backup (5 files) | ||||
Transport (7 files) | ||||
Scenario.php | Class | Class source |
Files | / | app | / | code | / | backup |
File | Role | Description |
---|---|---|
BackupAbstract.php | Class | Class source |
Factory.php | Class | Class source |
Files.php | Class | Class source |
Folder.php | Class | Class source |
Mysql.php | Class | Class source |
Files | / | app | / | code | / | Transport |
File | Role | Description |
---|---|---|
Dropbox.php | Class | Class source |
Email.php | Class | Class source |
Factory.php | Class | Class source |
Folder.php | Class | Class source |
FTP.php | Class | Class source |
SFTP.php | Class | Class source |
TransportAbstract.php | Class | Class source |
Files | / | docs |
File | Role | Description | ||
---|---|---|---|---|
configuration (2 directories) | ||||
fr (1 file) | ||||
back-up-to-synology.md | Example | Example script | ||
using-scenario.md | Data | Auxiliary data |
Files | / | docs | / | configuration | / | backup |
Files | / | docs | / | configuration | / | transport |
File | Role | Description |
---|---|---|
dropbox.md | Data | Auxiliary data |
email.md | Data | Auxiliary data |
folder.md | Data | Auxiliary data |
ftp.md | Data | Auxiliary data |
sftp.md | Data | Auxiliary data |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.