projects-jenz/file_mover/config_demos.json
2021-11-01 21:33:50 +01:00

48 lines
1.3 KiB
JSON
Executable File

{
"remotes":{
"local_dir_demos_ze_src":{
"description": "local machine demos ze",
"path": "/home/gameservers/css_ze/cstrike/demos/demos/",
"remote_type": "local_dir"
},
"local_dir_demos_mg_src":{
"description": "local machine demos mg",
"path": "/home/gameservers/css_mg/cstrike/demos/demos/",
"remote_type": "local_dir"
},
"sftp_vm_demos_dest":{
"description": "sftp server for backups, fastdl & demos",
"hostname": "163.172.119.53",
"username": "nonroot",
"port": "22",
"path": "/home/nonroot/demos/",
"remote_type": "sftp"
}
},
"jobs":[
{
"job_name": "demo_move_ze",
"job_description": "move demos to backup/fastdl/demo vm",
"src": "local_dir_demos_ze_src",
"dest": "sftp_vm_demos_dest"
},
{
"job_name": "demo_move_mg",
"job_description": "move demos to backup/fastdl/demo vm",
"src": "local_dir_demos_mg_src",
"dest": "sftp_vm_demos_dest"
}
],
"settings": {
"sftp": {
"remote_attempts": "5",
"remote_delay": "15",
"ip":{
"username": {
"password": "password"
}
}
}
}
}