basebackup-validation.sh check procedure rewrite