Skip to main content
SnapCenter Software 5.0
A newer release of this product is available.

Create backup policies for Unix file systems

Contributors

Before you use SnapCenter to back up Unix file systems, you must create a backup policy for the resource or the resource group that you want to back up. A backup policy is a set of rules that governs how you manage, schedule, and retain backups. You can also specify the replication, script, and backup type settings. Creating a policy saves time when you want to reuse the policy on another resource or resource group.

Before you begin
  • You must have prepared for data protection by completing tasks such as installing SnapCenter, adding hosts, discovering the file systems, and creating storage system connections.

  • If you are replicating Snapshots to a mirror or vault secondary storage, the SnapCenter administrator must have assigned the SVMs to you for both the source and destination volumes.

Steps
  1. In the left navigation pane, click Settings.

  2. In the Settings page, click Policies.

  3. Select Unix File Systems from the drop-down list.

  4. Click New.

  5. In the Name page, enter the policy name and description.

  6. Specify the schedule frequency by selecting On demand, Hourly, Daily, Weekly, or Monthly.

  7. In the Retention page, specify the retention settings for the backup type and the schedule type selected in the Backup Type page:

    If you want to…​

    Then…​

    Keep a certain number of Snapshots

    Select Total Snapshot copies to keep, and then specify the number of Snapshots that you want to keep.

    If the number of Snapshots exceeds the specified number, the Snapshots are deleted with the oldest copies deleted first.

    Note The maximum retention value is 1018 for resources on ONTAP 9.4 or later, and 254 for resources on ONTAP 9.3 or earlier. Backups will fail if retention is set to a value higher than what the underlying ONTAP version supports.
    Important You must set the retention count to 2 or higher if you plan to enable SnapVault replication. If you set the retention count to 1, the retention operation might fail because the first Snapshot is the reference Snapshot for the SnapVault relationship until a newer Snapshot is replicated to the target.

    Keep the Snapshots for a certain number of days

    Select Keep Snapshot copies for, and then specify the number of days for which you want to keep the Snapshots before deleting them.

    Note You can retain archive log backups only if you have selected the archive log files as part of your backup.
  8. In the Replication page, specify the replication settings:

    For this field…​ Do this…​

    Update SnapMirror after creating a local Snapshot copy

    Select this field to create mirror copies of the backup sets on another volume (SnapMirror replication).

    Update SnapVault after creating a local Snapshot copy

    Select this option to perform disk-to-disk backup replication (SnapVault backups).

    Secondary policy label

    Select a Snapshot label.

    Depending on the Snapshot label that you select, ONTAP applies the secondary Snapshot retention policy that matches the label.

    Note If you have selected Update SnapMirror after creating a local Snapshot copy, you can optionally specify the secondary policy label. However, if you have selected Update SnapVault after creating a local Snapshot copy, you should specify the secondary policy label.

    Error retry count

    Enter the maximum number of replication attempts that can be allowed before the operation stops.

    Note You should configure SnapMirror retention policy in ONTAP for the secondary storage to avoid reaching the maximum limit of Snapshots on the secondary storage.
  9. In the Script page, enter the path and the arguments of the prescript or postscript that you want to run before or after the backup operation, respectively.

    Note You should check if the commands exist in the command list available on the plug-in host from the /opt/NetApp/snapcenter/scc/etc/allowed_commands.config path.

    You can also specify the script timeout value. The default value is 60 seconds.

  10. Review the summary, and then click Finish.