Closed bbfsdev closed 11 years ago
It's better to have a separate configuration parameter.
I agree with Shiray,
Also Is it OK if scan_period and stable state will be shared among ALL dirs? For example: monitoring_scan_period: 300 monitoring_stable_state: 2 monitoring_paths:
Sorry the example text did not show well - trying again..
For example: monitoring_scan_period: 300 monitoring_stable_state: 2 monitoring_paths:
no.. I will remove some chars:
monitoring_scan_period: 300 monitoring_stable_state: 2 monitoring_paths:
path: /mnt/storage/media/files path: /mnt/storage/media/audio path: /mnt/storage/media/video backup_destination_path: path_to_dest # This path is also monitored (using scan priod and stable state)
done: new paramtere format example (a hash format)
backup_destination_folder: path: ~\Ruby\Git\TestRoundClock\backup_server_root # Directory to backup file and monitor. scan_period: 5 # Number of seconds before initiating another directory scan. stable_state: 1 # Number of scan times for a file to be unchanged before his state becomes stable.
Committed to release_1_1_0 branch
Please don't use any more "backup_destination_folder".