Added master or slave include validation to backup class.