Associating a Snapshot Schedule with a Volume

Explains how to associate a snapshot schedule with a volume using the Control System, the CLI, or the REST API.

Associating a Snapshot Schedule Using the Control System

  1. Log in to the Control System and go to Summary tab in the volume details page.
  2. Click the associated with Volume Snapshot in the Schedules pane to display the Browse Schedules window.
  3. Review the name and detail of each schedule and select a schedule from the list.
  4. Click Save Changes to associate the schedule with the volume.

Associating a Snapshot Schedule Using the CLI and REST API

CLI
You can associate a snapshot schedule with a volume using the schedule parameter when creating or editing the volume. For example:
maprcli volume create -name <volName> -path <mountPath> -schedule <scheduleID>
maprcli volume modify -name <volName> -schedule <scheduleID>
REST
You can associate a mirroring schedule with a mirror volume using the schedule parameter when creating or editing the volume. Send a request of type POST. For example:
curl -k -X POST 'https://<hostname>:8443/rest/volume/create?name=<volName>&path=<volPath>&schedule=<scheduleID>' --user mapr:mapr
curl -k -X POST 'https://<hostname>:8443/rest/volume/modify?name=<volName>&schedule=<scheduleID>' --user mapr:mapr
For the complete list of all required and optional parameters, see volume create and volume modify.