export and permisions of DB