- cleanup the code, move main functionality into subroutines
- add backup status output when displaying backup tasks for monitoring