MDL-23437 backup - restore security checks