CopySraConfiguration

This method copies the SRA configuration from a source image to a destination image.

Synopsis

void copySraConfiguration(String fromImage, String toImage)
copySraConfiguration
has the following parameters:
Parameter
Description
fromImage
Docker image id of the source image. It can be either in the [REPOSITORY:[TAG]] format or in the canonical sha256 format.
toImage
Docker image id of the destination image. It can be either in the [REPOSITORY:[TAG]] format or in the canonical sha256 format.

Faults

  • CannotCreateSraLogDirectory
  • CannotExecuteDockerCommand
  • DockerCommandFailed
  • DockerImageDoesNotExist
  • RuntimeFault
  • SraOperationsDisabled
For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.