Both sides previous revision
Previous revision
|
|
interessen:computer:pc_technik:backup [2015/01/30 15:28] tomtom |
interessen:computer:pc_technik:backup [2015/02/15 11:54] (current) tomtom |
"work_dir":"/data", | "work_dir":"/data", |
"log_dir":"/data/backuplog", | "log_dir":"/data/backuplog", |
"log_remove":"no", | "log_remove":"yes", |
"job_seq":"mount_fs add_tasks.backup_opt replicate error_check messaging", | "job_seq":"mount_fs add_tasks.backup_opt replicate error_check messaging", |
"jobs": | "jobs": |
{ | { |
"@":"'ping_target' is used to verify location; 'mount_def' can be 'file' or 'server'; in case of 'file', 'mount_file' needed", | "@":"'ping_target' is used to verify location; 'mount_def' can be 'file' or 'server'; in case of 'file', 'mount_file' needed", |
"ping_target":"< ich nehm hier meinen Router>", | "ping_target":"192.168.2.1", |
"mount_def":"file", | "mount_def":"file", |
"mount_opt":"-t glusterfs", | "mount_opt":"-t glusterfs", |
"@":"'repli_opt' can be 'local' or 'remote', 'remote' needs 'pass_option', 'sync_server' and 'sync_user'", | "@":"'repli_opt' can be 'local' or 'remote', 'remote' needs 'pass_option', 'sync_server' and 'sync_user'", |
"repli_opt":"local", | "repli_opt":"local", |
"@":"only rsync implemented yet, can try scp, but auth method must implemented by your self", | "@":"only rsync implemented yet, can try scp, but auth method must implemented by your self; use 'AX' to safe links", |
"method":"rsync", | "method":"rsync", |
"run_options":"-avh -partial", | "run_options":"-avh -partial", |
"sync_user":"<username>", | "sync_user":"<username>", |
"@":"if absolute path used in 'sync_folders', not 'work_dir' needed", | "@":"if absolute path used in 'sync_folders', not 'work_dir' needed", |
"sync_folders":"<folder 1> <folder 2> <folder n>", | "sync_folders":"Carrier Closed Documentation Downloads notes privat Projekts Proposals transcripts backup transfer", |
"@":"'remote_folder' means the backup folder at the target file system", | "@":"'remote_folder' means the backup folder at the target file system", |
"remote_folder":"<folder>" | "remote_folder":"Arbeit" |
}, | }, |
"error_check": | "error_check": |
{ | { |
"@":"'err_ignore' means witch files or search words can be ignore in error log or errors at backup this files are normal (i.e. log-files)", | "@":"'err_ignore' means witch files or search words can be ignore in error log or errors at backup this files are normal (i.e. log-files)", |
"err_ignore":"<patter i1> <patter i2> <patter in>", | "err_ignore":"", |
"@":"error level definitions", | "@":"error level definitions", |
"err_high":"<patter h1> <patter h2> <patter hn>", | "err_high":"", |
"err_medium":"<patter m1> <patter m2> <patter mn>", | "err_medium":"notes", |
"err_low":"<patter l1> <patter l2> <patter ln>" | "err_low":"" |
}, | }, |
"messaging":"<no further parameter needed, all included in backup script>", | "messaging":"<no further parameter needed, all included in backup script>", |
{ | { |
"folder":"mysql_backup", | "folder":"mysql_backup", |
"task":"mysqldump -u root --password=<PASSWORD> --all-databases > " | "task":"mysqldump -u root --password=<PASSWORD> --all-databases > $TARGET" |
}, | }, |
"backup_opt": | "backup_opt": |
} | } |
} | } |
| |
| |
| |