Fix two working interval, and fix several log functions. And leave backup file not delete till the process end.