PHP Classes

Shikiryu PHP Backup Tool: Backup files and databases to different storage

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 156 All time: 9,017 This week: 455Up
Version License PHP version Categories
shikiryu_backup 1.0.1The PHP License5PHP 5, Databases, Files and Folders, S..., S...
Description 

Author

This package can backup files and databases to different storage containers.

It can be used to create a backup copy of relevant data and store a copy of that data in a safe container.

The package provides driver classes that can access data to be backed up from files, folders and MySQL databases.

It also providers driver classes to transport backup data to containers such as files in folders, email messages, Dropbox and FTP servers.

Picture of Chouchen
  Performance   Level  
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

 

Details

Shikiryu Backup language issues

> Because even small websites need to be backed up

Backup script for limited shared hosting

:books: Table of Contents

:package: Installation

First check if you have composer installed

Before installing this, you need to check if you have PHPand Composer installed on your computer.

Then install this script

composer require shikiryu/backup

:rocket: Usage

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

Tips

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();
}

:hammer_and_wrench: Support

Please open an issue for support.

:memo: Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

:scroll: License

Creative Commons Attribution NonCommercial (CC-BY-NC)) © Chouchen


  Files folder image Files (27)  
File Role Description
Files folder imageapp (2 directories)
Files folder imagedocs (2 files, 2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file README.md Data Read me

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 Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:156
This week:0
All time:9,017
This week:455Up
User Comments (1)