Add use database and add validation to bkp file