Create backup policies for Windows file systems
You can create a new backup policy for resources before you use SnapCenter to back up Windows file systems, or you can create a new backup policy at the time you create a resource group or when you back up a resource.
What you will need
You must have defined your backup strategy. Learn more
You must have prepared for data protection.
To prepare for data protection, you must complete tasks such as installing SnapCenter, adding hosts, discovering resources, and creating storage virtual machine (SVM) connections.
If you are replicating Snapshot copies to a mirror or vault secondary storage, the SnapCenter administrator must have assigned the SVMs to you for both the source and destination volumes.
If you want to run the PowerShell scripts in prescripts and postscripts, you should set the value of the usePowershellProcessforScripts parameter to true in the web.config file.
The default value is false
In the left navigation pane, click Settings.
In the Settings page, click Policies.
To determine if you can use an existing policy, select the policy name and then click Details.
After reviewing the existing policies, you can perform one of the following:
Use an existing policy.
Copy an existing policy and modify the policy configuration.
Create a new policy.
To create a new policy, click New.
In the Name page, enter the policy name and a description.
In the Backup Options page, perform the following tasks:
Select a backup setting.
File System Consistent Backup
Choose this option if you want SnapCenter to quiesce the disk drive on which the file system resides before the backup operation begins and then resume the disk drive after the backup operation ends.
File System Crash-consistent Backup
Choose this option if you do not want SnapCenter to quiesce the disk drive on which the file system resides.
Select a schedule frequency (also called a policy type).
The policy specifies the backup frequency only. The specific protection schedule for backing up is defined in the resource group. Therefore, two or more resource groups can share the same policy and backup frequency but have different backup schedules.
If you have scheduled for 2:00 a.m., the schedule will not be triggered during daylight saving time (DST).
On the Retention page, specify the retention settings for on-demand backups and for each schedule frequency you selected.
Total Snapshot copies to retain
Choose this option if you want to specify the number of Snapshot copies SnapCenter stores before automatically deleting them.
Delete Snapshot copies older than
Choose this option if you want to specify the number of days SnapCenter retains a backup copy before deleting it.
You should set the retention count to 2 or higher. The minimum value for the retention count is 2. 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.
In the Replication page, specify replication to the secondary storage system:
For this field… Do this…
Update SnapMirror after creating a local Snapshot copy
Select this option to create mirror copies of backup sets on another volume (SnapMirror).
Update SnapVault after creating a Snapshot copy
Select this option to perform disk-to-disk backup replication.
Secondary policy label
Select a Snapshot label.
Depending on the Snapshot copy label that you select, ONTAP applies the secondary Snapshot copy retention policy that matches the label.
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 number of replication attempts that should occur before the process halts.
You should configure SnapMirror retention policy in ONTAP for the secondary storage to avoid reaching the maximum limit of Snapshot copies on the secondary storage.
In the Script page, enter the path of the prescript or postscript that you want the SnapCenter Server to run before or after the backup operation, respectively and a time limit that SnapCenter waits for the script to execute before timing out.
For example, you can run a script to update SNMP traps, automate alerts, and send logs.
Review the summary, and then click Finish.