export db first step