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

Recommend this page to a friend!
  Info   View files View files (27)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-02-03 (6 months ago) RSS 2.0 feedNot enough user ratingsTotal: 123 This week: 1All time: 9,136 This week: 245Up
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: 4 packages by
Country: France France
Age: ???
All time rank: 318283 in France France
Week rank: 82 Up7 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  
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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:123
This week:1
All time:9,136
This week:245Up
User Comments (1)
Dropbox dosen't work and code is not complet
6 months ago (Igor Gaffling)
0%Star
 

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