GridGain Developers Hub

Snapshots Management

Essentially, the snapshots utility in GridGain is accessed via the command line only. However, you can use the GridGain Web Console UI to create, schedule, and maintain data snapshots for your cluster.

Using both the Web Console and the Snapshots Management Tool, you can work with snapshots from the command line as well as the UI.

Snapshots Management

To manage snapshots in Web Console, go to the Snapshots tab:

wc snapshots1

If no snapshots have been created in the cluster so far, you will see a screen like the one above.

Click on the Create Snapshot button to create your first snapshot.

wc snapshots2

Once the snapshot is created, you can restore, move, or delete it. To do that, select a snapshot and click the desired the Actions menu.

Snapshots Scheduling

In addition to the basic operations, the Web Console supports scheduling of snapshots creation, removal, or movement.

For instance, the scheduler is indispensable if you want to create full snapshots daily with incremental snapshots every 30 minutes. To accomplish this task, click the Set Schedule button and fill in the parameters like those pictured below:

wc snapshots3

Once the operation is scheduled, it will appear in the Schedules section of the screen:

wc snapshots4

Point-In-Time Recovery

If you enabled Point-in-Time Recovery in your cluster, you can restore the state of the cluster to a specific point in time. To do that, click the Restore to Time option in the Action drop-down list.

wc pitr

Then select the exact time in the dialog that appears and click Confirm.

If the operation is successful, you will see a notification.