Taking a Snapshot (BUI)

Use the following procedure to take a manual snapshot of a filesystem, LUN, or project, and to specify the retention policy setting. A manually set retention policy, which is especially beneficial for legal holds, has no specified duration, and the snapshot cannot be deleted until the off option is manually set. A snapshot with a set retention policy within a share also protects the share and project containing the snapshot from deletion. However, filesystems, LUNs, and other snapshots within the share can be modified or deleted. Snapshot retention holds are preserved when moving the snapshot to another system via remote replication, NDMP (zfs format), or cloud snapshot backup (zfs format). However, retention holds cannot be added to original remote replication snapshots nor original NDMP snapshots.

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 take a manual snapshot and to set a retention policy:

  • Take a manual snapshot: takeSnap

  • Set a retention policy: retainSnap

To release a hold so a snapshot can be deleted, a user with the releaseSnapRetention authorization must set the retention policy to off. For information on editing authorizations for a role, see Editing Authorizations for a Role (BUI). For information on editing the retention policy, see Editing a Snapshot Retention Policy (BUI).

To schedule automatic snapshots at regular intervals and to specify the retention policy setting, see Scheduling Snapshots (BUI).

  1. Go to the share or project you want to snapshot.
    1. To take a snapshot of a filesystem: From the Shares menu, select Shares.
    2. To take a snapshot of a LUN: From the Shares menu, select Shares, then LUNs.
    3. To take a snapshot of a project: From the Shares menu, select Projects.
  2. Hover over the share or project, and click the edit icon image showing the edit icon .
  3. Click the Snapshots tab.
  4. Click the add icon image showing the add icon next to Snapshots.
  5. Type a name for the snapshot. Select a retention policy option:
    • Off - No retention policy applies to this snapshot. This is the default setting.

    • Unlocked - This option can be selected by a user with the retainSnap authorization. It sets a retention hold for this snapshot for an unspecified duration, and the snapshot cannot be deleted.

    Image of Create Snapshot dialog box popped up over BUI Shares Snapshots page, with fields for snapshot name and retention policy.

  6. Click APPLY.