File: app/scenario/scenarii.json

Recommend this page to a friend!
  Classes of Chouchen  >  Shikiryu PHP Backup Tool  >  app/scenario/scenarii.json  >  Download  
File: app/scenario/scenarii.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
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: 5 months ago
Size: 1,049 bytes
 

Contents

Class file image Download
{
  "backup": {
    "Files": {
      "files": [
        "/path/to/file1",
        "/path/to/file2"
      ]
    },
    "Mysql": {
      "host"  : "mysql address",
      "login" : "mysql login",
      "pwd"   : "mysql password",
      "db"    : "mysql database",
      "tables": [
        ""
      ]
    }
  },
  "transport": {
    "Email": {
      "to"        : "recipient@example.net;recipient2@example.net",
      "from"      : "<name>from@example.net",
      "encoding"  : "UTF-8",
      "subject"   : "[Example.net] backup of the day",
      "message"   : "Hi,\n\nYou can find your backup in this mail.\n\nRegards,\nMyself."
    },
    "Sftp": {
      "host"      : "sftp.domain.com",
      "port"      : "22",
      "login"     : "login",
      "password"  : "password",
      "folder"    : "/folder"
    },
    "Ftp": {
      "host"      : "ftp.domain.com",
      "login"     : "login",
      "password"  : "password",
      "folder"    : "/folder"
    },
    "Folder": {

    },
    "Dropbox": {
      "token": "123456789123456789"
    }
  }
}

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