SCALARIZR-1157 *Fix postgresql db restore method some code