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
Procedure
- Log in to the Control System and go to Summary tab in the volume details page.
- Click the associated with Volume Snapshot in the Schedules pane to display the Browse Schedules window.
- Review the name and detail of each schedule and select a schedule from the list.
- Click Save Changes to associate the schedule with the volume.
Associating a Snapshot Schedule Using the CLI and REST API
About this task
- 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
volume create
and volume modify.