Adding configurations docs

This commit is contained in:
Shikiryu
2015-08-17 13:34:15 +02:00
parent 9c74a9601b
commit e92b1d76d4
4 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# Files backup configuration
## JSON
```
"Files": {
"files": [
"/path/to/file1",
"/path/to/file2"
]
}
```
## General
File path should be absolute
## Options
files (mandatory) = array of file paths

View File

@@ -0,0 +1,25 @@
# Mysql backup configuration
## JSON
```
"Mysql": {
"host" : "mysql address",
"login" : "mysql login",
"pwd" : "mysql password",
"db" : "mysql database",
"tables": [
""
]
}
```
## General
You can indicate "*" or nothing into tables to save every tables in the selected database.
## Options
host (mandatory) = mysql host
login (mandatory) = mysql login
pwd (mandatory) = mysql password
db (mandatory) = database where the tables you want to save are in.
tables (mandatory) = array of tables