Configure the physical appliance to copy data


oci dts export configure-physical-appliance [OPTIONS]

Required Parameters

--appliance-cert-fingerprint [text]

The transfer appliance X.509/SSL certificate fingerprint.

--appliance-ip [text]

AThe IP address of the transfer appliance.

--job-id [text]

OCID of the Export Job

--rw [boolean]

Read/Write option on export of dataset

--world [boolean]

World option on export of dataset

Optional Parameters

--access-token [text]

the access token to authenticate with the transfer appliance.

--appliance-port [integer]

Appliance label.

--appliance-profile [text]

Appliance profile

--ip [text]

IP address to export dataset to

--subnet-mask-length [integer]

Subnet mask length for the IP address

Example using required parameter

Copy the following CLI commands into a file named Run the command by typing “bash” and replacing the example parameters with your own.

Please note this sample will only work in the POSIX-compliant bash-like shell. You need to set up the OCI configuration and appropriate security policies before trying the examples.

    export bucket=<substitute-value-of-bucket> #
    export compartment_id=<substitute-value-of-compartment_id> #
    export device_type=<substitute-value-of-device_type> #
    export display_name=<substitute-value-of-display_name> #
    export appliance_cert_fingerprint=<substitute-value-of-appliance_cert_fingerprint> #
    export appliance_ip=<substitute-value-of-appliance_ip> #
    export rw=<substitute-value-of-rw> #
    export world=<substitute-value-of-world> #

    job_id=$(oci dts job create --bucket $bucket --compartment-id $compartment_id --device-type $device_type --display-name $display_name --query --raw-output)

    oci dts export configure-physical-appliance --appliance-cert-fingerprint $appliance_cert_fingerprint --appliance-ip $appliance_ip --job-id $job_id --rw $rw --world $world