MapR 5.0 Documentation : Creating Snapshots

A snapshot preserves an image of a volume at a certain point in time, so that you can get back to a known good data set in the event of accidental deletion, overwrites, or corruption. Snapshots are instant, so you can create almost as many as you like to enable a small recovery point objective without affecting performance. Try creating a snapshot in the MapR Control System:

  1. In the Navigation pane, expand the MapR-FS group and click the Volumes view.
  2. Select the checkbox beside the name of the volume you created, then click the New Snapshot button to display the Snapshot Name dialog.
  3. Type a name for the new snapshot in the Name... field.
  4. Click OK to create the snapshot.

With MapR, you can use schedules to automate the creation of snapshots:

  1. In the Volumes view, display the Volume Properties dialog by clicking the volume name, or by selecting the checkbox beside the volume name then clicking the Properties button.
  2. In the Replication and Snapshot Scheduling section, choose a schedule from the Snapshot Schedule dropdown menu.
  3. Click Modify Volume to save changes to the volume.

When you create a snapshot of a volume, it is accessible inside a special directory called .snapshot at the top level of the volume. If you have followed all the steps so far and named your volume "my-volume," you can see the snapshot via NFS by going to the directory /mapr/default/baz/.snapshot and typing ls.

In the next step, you'll see how to mirror a volume.

Next: Creating Mirrors