moving runcondition and sleep logic into the backup-runner script