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,014 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  
Name: Chouchen <contact>
Classes: 5 packages by
Country: France France
Age: ???
All time rank: 258170 in France France
Week rank: 195 Up12 in France France Up
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

  Files folder image Files (27)  /  app  
File Role Description
Files folder imagecode (1 file, 2 directories)
Files folder imagescenario (1 file)

  Files folder image Files (27)  /  app  /  code  
File Role Description
Files folder imagebackup (5 files)
Files folder imageTransport (7 files)
  Plain text file Scenario.php Class Class source

  Files folder image Files (27)  /  app  /  code  /  backup  
File Role Description
  Plain text file BackupAbstract.php Class Class source
  Plain text file Factory.php Class Class source
  Plain text file Files.php Class Class source
  Plain text file Folder.php Class Class source
  Plain text file Mysql.php Class Class source

  Files folder image Files (27)  /  app  /  code  /  Transport  
File Role Description
  Plain text file Dropbox.php Class Class source
  Plain text file Email.php Class Class source
  Plain text file Factory.php Class Class source
  Plain text file Folder.php Class Class source
  Plain text file FTP.php Class Class source
  Plain text file SFTP.php Class Class source
  Plain text file TransportAbstract.php Class Class source

  Files folder image Files (27)  /  app  /  scenario  
File Role Description
  Accessible without login Plain text file scenarii.json Data Auxiliary data

  Files folder image Files (27)  /  docs  
File Role Description
Files folder imageconfiguration (2 directories)
Files folder imagefr (1 file)
  Accessible without login Plain text file back-up-to-synology.md Example Example script
  Accessible without login Plain text file using-scenario.md Data Auxiliary data

  Files folder image Files (27)  /  docs  /  configuration  
File Role Description
Files folder imagebackup (2 files)
Files folder imagetransport (5 files)

  Files folder image Files (27)  /  docs  /  configuration  /  backup  
File Role Description
  Accessible without login Plain text file files.md Data Auxiliary data
  Accessible without login Plain text file mysql.md Data Auxiliary data

  Files folder image Files (27)  /  docs  /  configuration  /  transport  
File Role Description
  Accessible without login Plain text file dropbox.md Data Auxiliary data
  Accessible without login Plain text file email.md Data Auxiliary data
  Accessible without login Plain text file folder.md Data Auxiliary data
  Accessible without login Plain text file ftp.md Data Auxiliary data
  Accessible without login Plain text file sftp.md Data Auxiliary data

  Files folder image Files (27)  /  docs  /  fr  
File Role Description
  Accessible without login Plain text file back-up-vers-synology.md Example Example script

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,014
This week:455Up
User Comments (1)