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

Recommend this page to a friend!

  Author Author  
Picture of Chouchen
Name: Chouchen <contact>
Classes: 4 packages by
Country: France France
Age: ???
All time rank: 318883 in France France
Week rank: 126 Up8 in France France Up
Innovation award
Innovation award
Nominee: 3x

Winner: 2x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

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


  Classes of Chouchen  >  Shikiryu PHP Backup Tool  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Shikiryu PHP Backup Tool
Base name: shikiryu_backup
Description: Backup files and databases to different storage
Version: 1.0.1
PHP version: 5
License: The PHP License
All time users: 121 users
All time rank: 9152
Week users: 1 user
Week rank: 241 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Systems administration System configuration and management View top rated classes
Group folder image Security Security protection and attack detection View top rated classes


  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
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  /  app  
File Role Description
Files folder imagecode (1 file, 2 directories)
Files folder imagescenario (1 file)

  Files folder image Files  /  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  /  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  /  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  /  app  /  scenario  
File Role Description
  Accessible without login Plain text file scenarii.json Data Auxiliary data

  Files folder image Files  /  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  /  docs  /  configuration  
File Role Description
Files folder imagebackup (2 files)
Files folder imagetransport (5 files)

  Files folder image Files  /  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  /  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  /  docs  /  fr  
File Role Description
  Accessible without login Plain text file back-up-vers-synology.md Example Example script

Install with Composer Install with Composer - Download Download all files: shikiryu_backup.tar.gz shikiryu_backup.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

For more information send a message to info at phpclasses dot org.