Recommend this page to a friend! |
Download |
Info | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 156 | All time: 9,014 This week: 455 |
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 (27) |
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 (27) | / | app | / | code |
File | Role | Description | ||
---|---|---|---|---|
backup (5 files) | ||||
Transport (7 files) | ||||
Scenario.php | Class | Class source |
Files (27) | / | 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 (27) | / | 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 (27) | / | 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 (27) | / | docs | / | configuration | / | backup |
Files (27) | / | 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 |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
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.