PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Chouchen   Shikiryu PHP Backup Tool   README.md   Download  
File: README.md
Role: Auxiliary data
Content type: text/markdown
Description: Read me
Class: Shikiryu PHP Backup Tool
Backup files and databases to different storage
Author: By
Last change: :pencil: Add a proper README file with section and links

Fix #1
Date: 4 years ago
Size: 2,032 bytes
 

Contents

Class file image Download

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