37 lines
988 B
Plaintext
37 lines
988 B
Plaintext
|
{
|
||
|
"exampleHost": {
|
||
|
"types": [
|
||
|
{
|
||
|
"auth": {
|
||
|
"key": "/root/.ssh/id_rsa",
|
||
|
"user": "backups"
|
||
|
},
|
||
|
"backup": [
|
||
|
"/var/www/html"
|
||
|
],
|
||
|
"destination": "/mnt/backups/data",
|
||
|
"exclude": [
|
||
|
"*.filetype.to.exclude",
|
||
|
"*.another.to.exclude",
|
||
|
"/path/to/exclude",
|
||
|
"/another/path/to/exclude"
|
||
|
],
|
||
|
"type": "sftp"
|
||
|
},
|
||
|
{
|
||
|
"auth": {
|
||
|
"password": "PlainTextPassword",
|
||
|
"user": "root"
|
||
|
},
|
||
|
"database": [
|
||
|
"wordpress",
|
||
|
"userlist"
|
||
|
],
|
||
|
"destination": "/mnt/backups/db",
|
||
|
"type": "mysql"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"option": {
|
||
|
}
|
||
|
}
|