projects-jenz/file_mover/config_backups.json
2021-10-30 23:52:37 +02:00

62 lines
1.9 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_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"
}
},
"jobs":[
{
"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 address":{
"username": {
"password": "password"
}
}
}
}
}