def METHOD_NAME(source_registry, target_registry, dry_run=DRY_RUN):
    log.info(f'backing up production images in {source_registry} to {target_registry}')
    log.info(f'is dry run {dry_run}')
    images = list(production_images(source_registry))
    for image in images:
        copy_image(image, source_registry, target_registry, dry_run)
    log.info(f"Backed up the following images to '{target_registry}':\n{pprint.pformat(images)}")