restoreNasVolumeWithSnapshot
    • PDF

    restoreNasVolumeWithSnapshot

    • PDF

    Article summary

    Can be used in a VPC environment.

    Overview

    Uses snapshots to recover NAS volumes.
    After recovery with a snapshot, the recovery history can be viewed on the corresponding NAS volume.
    Please note that only the snapshot used for recovery and snapshots created before then are saved.

    Request

    Request parameter

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Determines the region of the NAS volume instance to recover.
    regionCode: It can be obtained through the getRegionList action.
    Default: Selects the first region of the getRegionList search results.
    nasVolumeInstanceNoYesString- Instance number of NAS volume to recover
    nasVolumeInstanceNo: It can be obtained through the getNasVolumeInstanceList action.
    nasVolumeSnapshotNameYesString- Name of the snapshot to be used for recovery
    nasVolumeSnapshotName: It can be obtained through the getNasVolumeSnapshotList action.

    Response

    Response data type

    • NasVolumeSnapshotList type
    NasVolumeSnapshotList extends CommonResponse
    private Integer totalRows;
    private List<NasVolumeSnapshot> nasVolumeSnapshotList = new ArrayList<>();
    NasVolumeSnapshot
    private String nasVolumeSnapshotName;
    private Date createDate;
    private Long snapshotSize;
    private Boolean isBusy;

    Examples

    Request examples

    ncloud vnas restoreNasVolumeWithSnapshot --regionCode KR --nasVolumeInstanceNo ***3901 --nasVolumeSnapshotName "now.20210916.000000"
    

    Response examples

    The snapshot list of the corresponding NAS volume instance after completing the request

    <restoreNasVolumeWithSnapshotResponse>
      <requestId></requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <nasVolumeSnapshotList>
        <nasVolumeSnapshot>
          <nasVolumeSnapshotName>now.20210916.000000</nasVolumeSnapshotName>
          <createDate>2021-09-16T00:00:00+0900</createDate>
          <snapshotSize>139264</snapshotSize>
          <isBusy>false</isBusy>
        </nasVolumeSnapshot>
      </nasVolumeSnapshotList>
    </restoreNasVolumeWithSnapshotResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.