// // sample config file for kio's backup_daemon // // this file must be located in: "~/.backup_daemon/config.txt" // _________________________________________________________________ // server settings: // time values are in seconds. // numeric values can have postfix: // k = *1000 // M = *1000000 // m = *60 // h = *60*60 // d = *60*60*24 verbose: 1 // default = 1; range: 0 .. 4 upload_speed: 2000k // default = 0; value in bit/s; 0 = no limit num_clients: 4 // default = 4 num_servers: 10 // default = 10 max_backups: 10 // default = 10 watchdog_timeout: 5m // default = 5m // during connect: //connect_delay: 5 // default = 5; delay after failed connection //connect_retries: 1 // default = 1; immediate retries after failed connection // after failed connection: retry_delay: 5m // default = 5m; initial delay for reshedule of a job after connection failure or error retry_delay_incr: 5m // default = 5m; increment for retry_delay after repeated connection failure or error max_retry_delay: 30m // default = 30m; maximum retry_delay // after successful connection: backup_delay: 12h // delay to next backup after successful backup sync_delay: 30m // delay to next pull after successful pull // _________________________________________________________________ // own host & peers: // // n = nickname // h = hostname o. ip address // p = port // s = secret // c = true ---> remote control; optional self: n=MY_NAME : h=MY_URL_OR_IP_ADDRESS : p=MY_SERVER_PORT : s="MY_LOGIN_SECRET" c=true peer: n=HIS_NAME : h=HIS_URL_OR_IP_ADDRESS : p=HIS_SERVER_PORT : s="HIS_LOGIN_SECRET" peer: n=HER_NAME : h=HER_URL_OR_IP_ADDRESS : p=HER_SERVER_PORT : s="HER_LOGIN_SECRET" // define a peer "*" if you export some folders to everybody. // note: they still need to know the push folder's name and encryption secret, if any. // settings h, p and s may be present but are ignored for peer "*" peer: n=* // _________________________________________________________________ // push folders: // these folders are served by you and sent to any peer in their list // the encryption password is optional. if not set, then no encryption is used. // you can add multiple peers to a push folder by adding multiple "p=PEER_NAME" entries // // n = nickname // t = type // p = peer // d = directory path // x = exclude // i = include // s = encryption secret push: n=MY_BACKUP : t=backup : p=HIS_NAME : d="/MY/ROOT/DIR" : s="MY_PRIVATE_PASSWORD" push: n=FOR_MY_FRIENDS : t=push : p=HIS_NAME : p=HER_NAME : d="/MY/PUSH/BOX" push: n=FOR_EVERYBODY : t=push : p=* : d="/MY/DISTRO/DIR" // _________________________________________________________________ // pull folder: // these folders are downloaded by your clients // the encryption password is optional. if not set, then no decryption is applied. // // n = nickname // t = type // p = peer // d = directory path // i = include // x = exclude // s = encryption secret pull: n=HIS_BACKUP : t=backup : p=HIS_NAME : d="/MY/DIR/FOR/HIS/BACKUP" pull: n=FROM_HIM : t=pull : p=HIS_NAME : d="/MY/DROP/BOX" pull: n=FROM_HER : t=pull : p=HER_NAME : d="/MY/DROP/BOX"