export db to gz