PHP Classes

File: docs/using-scenario.md

Recommend this page to a friend!
  Classes of Chouchen   Shikiryu PHP Backup Tool   docs/using-scenario.md   Download  
File: docs/using-scenario.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Shikiryu PHP Backup Tool
Backup files and databases to different storage
Author: By
Last change:
Date: 4 years ago
Size: 838 bytes
 

Contents

Class file image Download

Scenario is based on a json explaining how the backup will work. It contains 2 bases : - backup (what you're going to backup) - transport (how and where you're going to backup)

backup

- must begin with an uppercase - a PHP class with the same name must exists in the Backup folder

transport

- must begin with an uppercase - a PHP class with the same name must exists in the Transport folder

configuration of backup and transport

- all protected variable of the aimed class can be used as a configuration

tips

JSON

The JSON must be compatible with the PHP json_decode implementation which correspond to this one

Basically : - everything surrounded by " and no ' - no comments - escape escape escape