made backup prepackage db if does not exist