Added workaround for DB backup not working with drivers other than mysql