330 lines
14 KiB
JSON
Executable File
330 lines
14 KiB
JSON
Executable File
{
|
|
"remotes":{
|
|
"local_dir_gameservers": {
|
|
"description": "local machine gameservers",
|
|
"path": "/home/gameservers/",
|
|
"remote_type": "local_dir"
|
|
},
|
|
"local_dir_var": {
|
|
"description": "local machine var",
|
|
"path": "/var/",
|
|
"remote_type": "local_dir"
|
|
},
|
|
"local_dir_etc": {
|
|
"description": "local machine etc",
|
|
"path": "/etc/",
|
|
"remote_type": "local_dir"
|
|
},
|
|
"sftp_vm_hlstats_src_home":{
|
|
"description": "sftp server for hlstats",
|
|
"hostname": "51.15.159.31",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/home/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_hlstats_src_etc":{
|
|
"description": "sftp server for hlstats",
|
|
"hostname": "51.15.159.31",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/etc/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_hlstats_src_var":{
|
|
"description": "sftp server for hlstats",
|
|
"hostname": "51.15.159.31",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/var/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_hlstats_src_mysqldump":{
|
|
"description": "sftp server for hlstats",
|
|
"hostname": "51.15.159.31",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_xenforo_src_home":{
|
|
"description": "sftp server for xenforo",
|
|
"hostname": "163.172.225.175",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/home/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_xenforo_src_etc":{
|
|
"description": "sftp server for xenforo",
|
|
"hostname": "163.172.225.175",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/etc/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_xenforo_src_var":{
|
|
"description": "sftp server for xenforo",
|
|
"hostname": "163.172.225.175",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/var/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_xenforo_src_mysqldump":{
|
|
"description": "sftp server for xenforo",
|
|
"hostname": "163.172.225.175",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_webservices_src_home":{
|
|
"description": "sftp server for webservices",
|
|
"hostname": "163.172.117.46",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/home/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_webservices_src_etc":{
|
|
"description": "sftp server for webservices",
|
|
"hostname": "163.172.117.46",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/etc/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_webservices_src_var":{
|
|
"description": "sftp server for webservices",
|
|
"hostname": "163.172.117.46",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/var/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_webservices_src_mysqldump":{
|
|
"description": "sftp server for webservices",
|
|
"hostname": "163.172.117.46",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_backups_src_etc":{
|
|
"description": "sftp server for backups/fastdl/demos",
|
|
"hostname": "163.172.119.53",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/etc/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_backups_src_var":{
|
|
"description": "sftp server for backups/fastdl/demos",
|
|
"hostname": "163.172.119.53",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/var/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_backups_dest_ovh":{
|
|
"description": "sftp server for backups, fastdl & demos",
|
|
"hostname": "163.172.119.53",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/home/nonroot/backups/ovh/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_backups_dest_fastdl":{
|
|
"description": "sftp server for backups, fastdl & demos",
|
|
"hostname": "163.172.119.53",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/home/nonroot/backups/fastdl/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_backups_dest_hlstats":{
|
|
"description": "sftp server for backups, fastdl & demos",
|
|
"hostname": "163.172.119.53",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/home/nonroot/backups/hlstats/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_backups_dest_xenforo":{
|
|
"description": "sftp server for backups, fastdl & demos",
|
|
"hostname": "163.172.119.53",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/home/nonroot/backups/xenforo/",
|
|
"remote_type": "sftp"
|
|
},
|
|
"sftp_vm_backups_dest_webservices":{
|
|
"description": "sftp server for backups, fastdl & demos",
|
|
"hostname": "163.172.119.53",
|
|
"username": "nonroot",
|
|
"port": "22",
|
|
"path": "/home/nonroot/backups/webservices/",
|
|
"remote_type": "sftp"
|
|
}
|
|
},
|
|
"jobs":[
|
|
{
|
|
"job_name": "backup_remote_webservices_etc",
|
|
"job_description": "zips the remote webservices etc folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_webservices_src_etc",
|
|
"dest": "sftp_vm_backups_dest_webservices",
|
|
"zipname":"webservices_etc_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_webservices_var",
|
|
"job_description": "zips the remote webservices var folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_webservices_src_var",
|
|
"dest": "sftp_vm_backups_dest_webservices",
|
|
"zipname":"webservices_var_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_webservices_home",
|
|
"job_description": "zips the remote webservices home folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_webservices_src_home",
|
|
"dest": "sftp_vm_backups_dest_webservices",
|
|
"zipname":"webservices_home_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_webservices_mysqldump",
|
|
"job_description": "dumps the remote webservices vm databases and moves them to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_webservices_src_mysqldump",
|
|
"dest": "sftp_vm_backups_dest_webservices",
|
|
"zipname":"webservices_mysqldump_backup"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_xenforo_etc",
|
|
"job_description": "zips the remote xenforo etc folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_xenforo_src_etc",
|
|
"dest": "sftp_vm_backups_dest_xenforo",
|
|
"zipname":"xenforo_etc_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_xenforo_var",
|
|
"job_description": "zips the remote xenforo var folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_xenforo_src_var",
|
|
"dest": "sftp_vm_backups_dest_xenforo",
|
|
"zipname":"xenforo_var_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_xenforo_home",
|
|
"job_description": "zips the remote xenforo home folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_xenforo_src_home",
|
|
"dest": "sftp_vm_backups_dest_xenforo",
|
|
"zipname":"xenforo_home_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_xenforo_mysqldump",
|
|
"job_description": "dumps the remote xenforo vm databases and moves them to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_xenforo_src_mysqldump",
|
|
"dest": "sftp_vm_backups_dest_xenforo",
|
|
"zipname":"xenforo_mysqldump_backup"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_hlstats_etc",
|
|
"job_description": "zips the remote hlstats etc folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_hlstats_src_etc",
|
|
"dest": "sftp_vm_backups_dest_hlstats",
|
|
"zipname":"hlstats_etc_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_hlstats_var",
|
|
"job_description": "zips the remote hlstats var folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_hlstats_src_var",
|
|
"dest": "sftp_vm_backups_dest_hlstats",
|
|
"zipname":"hlstats_var_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_hlstats_mysqldump",
|
|
"job_description": "dumps the remote hlstats vm databases and moves them to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_hlstats_src_mysqldump",
|
|
"dest": "sftp_vm_backups_dest_hlstats",
|
|
"zipname":"hlstats_mysqldump_backup"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_hlstats_home",
|
|
"job_description": "zips the remote hlstats home folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_hlstats_src_home",
|
|
"dest": "sftp_vm_backups_dest_hlstats",
|
|
"zipname":"hlstats_home_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_fastdl_etc",
|
|
"job_description": "zips the remote backups/fastdl/demos etc folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_backups_src_etc",
|
|
"dest": "sftp_vm_backups_dest_fastdl",
|
|
"zipname":"fastdl_etc_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_remote_fastdl_var",
|
|
"job_description": "zips the remote backups/fastdl/demos var folder and moves it to backup/fastdl/demo vm",
|
|
"src": "sftp_vm_backups_src_var",
|
|
"dest": "sftp_vm_backups_dest_fastdl",
|
|
"zipname":"fastdl_var_backup",
|
|
"download_dir": "/home/file_mover/"
|
|
},
|
|
{
|
|
"job_name": "backup_local_gameservers",
|
|
"job_description": "zips the local gameservers folder and moves it to backup/fastdl/demo vm",
|
|
"src": "local_dir_gameservers",
|
|
"dest": "sftp_vm_backups_dest_ovh",
|
|
"zipname":"ovh_gameservers_backup"
|
|
},
|
|
{
|
|
"job_name": "backup_local_var",
|
|
"job_description": "zips the local var folder and moves it to backup/fastdl/demo vm",
|
|
"src": "local_dir_var",
|
|
"dest": "sftp_vm_backups_dest_ovh",
|
|
"zipname":"ovh_var_backup"
|
|
},
|
|
{
|
|
"job_name": "backup_local_etc",
|
|
"job_description": "zips the local etc folder and moves it to backup/fastdl/demo vm",
|
|
"src": "local_dir_etc",
|
|
"dest": "sftp_vm_backups_dest_ovh",
|
|
"zipname":"ovh_etc_backup"
|
|
}
|
|
],
|
|
"settings": {
|
|
"sftp": {
|
|
"remote_attempts": "5",
|
|
"remote_delay": "15",
|
|
"ip":{
|
|
"username": {
|
|
"password": "password"
|
|
}
|
|
},
|
|
"ip":{
|
|
"username": {
|
|
"password": "password"
|
|
}
|
|
},
|
|
"ip":{
|
|
"username": {
|
|
"password": "password"
|
|
}
|
|
},
|
|
"ip":{
|
|
"password": {
|
|
"password": "password"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|