Configuring Automatic Snapshot Retention on a Target (BUI)

Use this procedure to set a different number of retained automatic snapshots on the replication target than what was set on the source appliance. Before performing this procedure, you must set a replication action on a project or share, and schedule automatic snapshots.

When performing this task, modify the replication action and the snapshot schedule from the appropriate project or share. If the replication action and snapshot schedule are set at different levels, edit the replication action at the same level where the schedule is configured, as shown in the following table:

Action Snapshot Schedule Modify automatic snapshot retention on:

Project level

Project level

Action configured at the project level.

Share level

Share level

Action configured at the share level.

Project level

Share level

Action visible at the share level. (Project-level action inherited by share.)

Share level

Project level

Action configured at the share level.

See Replication Automatic Snapshot Management for more information.

Before You Begin

Before configuring automatic snapshot retention on a target, you must first do the following:

To use the snapshot retention hold feature, apply deferred update "Support for Snapshot Retention." For information about deferred updates, see Deferred Updates in Oracle ZFS Storage Appliance Customer Service Manual, Release OS8.8.x.

The following user role authorizations are required to make changes to a retention policy:

  • Modify an automatic snapshot schedule: scheduleSnap

  • Modify the retention hold value from Off to Locked: scheduleLockedSnap

  • Modify the retention hold value from Locked to Off: releaseSnapRetention

  1. Source appliance: From the Shares menu, select Projects.
  2. Select the project or share with the replication action and snapshot schedule, and click the Replication tab.
  3. Click the edit icon image showing the edit icon of the action you want to modify.
  4. At the bottom of the Edit Replication Action window, click the Snapshots tab.

    The automatic snapshot schedules appear.

  5. For field Auto Snapshot Retention Policies, select independent.
  6. For field Keep At Most, set the number of automatic snapshots to be retained on the target.
  7. For field Retention, select a retention policy option:
    • Off - No retention policy applies to this snapshot.

    • Locked - To lock the snapshot schedule, select Locked for the retention policy, and set Retention to the number of snapshots that should be locked and, thus, protected from manual deletion. The number for the Retention property must be the same or smaller than the number for the Keep At Most property. When all locked snapshots for this schedule have exceeded the Keep At Most property value, the retention hold changes from Locked to Off.

  8. Click Apply.

    Note:

    Automatic snapshot retention for replication has special processing during reverse replication. For more information, see Replication Snapshot Management.