Better way to save the db dump