pre export database