code: def dump(self, zone, output_dir, lenient, split, source, *sources):
          '''
          Dump zone data from the specified source
          '''
          self.log.info('dump: zone=%s, sources=%s', zone, sources)
  
          # We broke out source to force at least one to be passed, add it to any
          # others we got.
          sources = [source] + list(sources)
  
          try:
              sources = [self.providers[s] for s in sources]
          except KeyError as e:
              raise Exception('Unknown source: {}'.format(e.args[0]))
  
          clz = YamlProvider
          if split:
              clz = SplitYamlProvider
          target = clz('dump', output_dir)
  
          zone = Zone(zone, self.configured_sub_zones(zone))
          for source in sources:
              source.populate(zone, lenient=lenient)
  
          plan = target.plan(zone)
          if plan is None:
              plan = Plan(zone, zone, [], False)
          target.apply(planf dump(self, zone, output_dir, lenient, split, source, *sources):
          '''
          Dump zone data from the specified source
          '''
          self.log.info('dump: zone=%s, sources=%s', zone, sources)
  
          # We broke out source to force at least one to be passed, add it to any
          # others we got.
          sources = [source] + list(sources)
  
          try:
              sources = [self.providers[s] for s in sources]
          except KeyError as e:
              raise Exception('Unknown source: {}'.format(e.args[0]))
  
          clz = YamlProvider
          if split:
              clz = SplitYamlProvider
          target = clz('dump', output_dir)
  
          zone = Zone(zone, self.configured_sub_zones(zone))
          for source in sources:
              source.populate(zone, lenient=lenient)
  
          plan = target.plan(zone)
          if plan is None:
              plan = Plan(zone, zone, [], False)
          target.apply(plan)
docs: Dump zone data from the specified source