Back up individual NetApp supported plug-ins resources
If an individual NetApp supported plug-ins resource is not part of any resource group, you can back up the resource from the Resources page. You can back up the resource on demand, or, if the resource has a policy attached and a schedule configured, then backups occur automatically according to the schedule.
-
You must have created a backup policy.
-
If you want to back up a resource that has a SnapMirror relationship with a secondary storage, the ONTAP role assigned to the storage user should include the “snapmirror all” privilege. However, if you are using the “vsadmin” role, then the “snapmirror all” privilege is not required.
-
In the left navigation pane, click Resources, and then select the appropriate plug-in from the list.
-
In the Resources page, filter resources from the View drop-down list based on resource type.
Click , and then select the host name and the resource type to filter the resources. You can then click to close the filter pane.
-
Click the resource that you want to back up.
-
In the Resource page, if you want to use a custom name, select the Use custom name format for Snapshot copy check box , and then enter a custom name format for the Snapshot name.
For example, customtext_policy_hostname or resource_hostname. By default, a timestamp is appended to the Snapshot name.
-
In the Application Settings page, do the following:
-
Click the Backups arrow to set additional backup options:
Enable consistency group backup, if needed, and perform the following tasks:
For this field… Do this… Afford time to wait for Consistency Group Snapshot operation to complete
Select Urgent, Medium, or Relaxed to specify the wait time for Snapshot operation to complete.
Urgent = 5 seconds, Medium = 7 seconds, and Relaxed = 20 seconds.
Disable WAFL Sync
Select this to avoid forcing a WAFL consistency point.
-
Click the Scripts arrow to run pre and post commands for quiesce, Snapshot, and unquiesce operations. You can also run pre commands before exiting the backup operation.
Prescripts and postscripts are run in the SnapCenter Server.
-
Click the Custom Configurations arrow, and then enter the custom value pairs required for all jobs using this resource.
-
Click the Snapshot Copy Tool arrow to select the tool to create Snapshots:
If you want… Then… SnapCenter to take a storage level Snapshot
Select SnapCenter without File System Consistency.
SnapCenter to use the plug-in for Windows to put the file system into a consistent state and then take a Snapshot
Select SnapCenter with File System Consistency.
To enter the command to create a Snapshot
Select Other, and then enter the command to create a Snapshot.
-
-
In the Policies page, perform the following steps:
-
Select one or more policies from the drop-down list.
You can also create a policy by clicking . In the Configure schedules for selected policies section, the selected policies are listed.
-
Click in the Configure Schedules column for the policy for which you want to configure a schedule.
-
In the Add schedules for policy policy_name dialog box, configure the schedule, and then click OK.
Where, policy_name is the name of the policy that you have selected.
The configured schedules are listed in the Applied Schedules column.
-
-
In the Notification page, from the Email preference drop-down list, select the scenarios in which you want to send the emails.
You must also specify the sender and receiver email addresses, and the subject of the email. SMTP must also be configured in Settings > Global Settings.
-
Review the summary, and then click Finish.
The resources topology page is displayed.
-
Click Back up Now.
-
In the Backup page, perform the following steps:
-
If you have applied multiple policies to the resource, from the Policy drop-down list, select the policy that you want to use for backup.
If the policy selected for the on-demand backup is associated with a backup schedule, the on-demand backups will be retained based on the retention settings specified for the schedule type.
-
Click Backup.
-
-
Monitor the operation progress by clicking Monitor > Jobs.
-
Initiate a connection session with the SnapCenter Server for a specified user by using the Open-SmConnection cmdlet.
Open-smconnection -SMSbaseurl https:\\snapctr.demo.netapp.com:8146\
The username and password prompt is displayed.
-
Add resources by using the Add-SmResources cmdlet.
This example adds resources:
Add-SmResource -HostName 'scc55.sccore.test.com' -PluginCode 'DummyPlugin' -ResourceName QDBVOL1 -ResourceType Database -StorageFootPrint ( @{"VolumeName"="qtree_vol1_scc55_sccore_test_com";"QTREENAME"="qtreeVol1";"StorageSystem"="vserver_scauto_primary"}) -Instance QTREE1
-
Create a backup policy by using the Add-SmPolicy cmdlet.
This example creates a new backup policy:
Add-SMPolicy -PolicyName 'test2' -PolicyType 'Backup' -PluginPolicyType DummyPlugin -description 'testPolicy'
-
Add a new resource group to SnapCenter by using the Add-SmResourceGroup cmdlet.
This example creates a new resource group with the specified policy and resources:
Add-SmResourceGroup -ResourceGroupName 'Verify_Backup_on_Multiple_Qtree_different_vserver_windows' -Resources @(@{"Host"="scc55.sccore.test.com";"Uid"="QTREE2";"PluginName"="DummyPlugin"},@{"Host"="scc55.sccore.test.com";"Uid"="QTREE";"PluginName"="DummyPlugin"}) -Policies test2 -plugincode 'DummyPlugin' -usesnapcenterwithoutfilesystemconsistency
-
Initiate a new backup job by using the New-SmBackup cmdlet.
New-SMBackup -DatasetName Verify_Backup_on_Multiple_Qtree_different_vserver_windows -Policy test2
-
View the status of the backup job by using the Get-SmBackupReport cmdlet.
This example displays a job summary report of all jobs that were run on the specified date:
Get-SmBackupReport -JobId 149 BackedUpObjects : {QTREE2, QTREE} FailedObjects : {} IsScheduled : False HasMetadata : False SmBackupId : 1 SmJobId : 149 StartDateTime : 1/15/2024 1:35:17 AM EndDateTime : 1/15/2024 1:36:19 AM Duration : 00:01:02.4265750 CreatedDateTime : 1/15/2024 1:35:51 AM Status : Completed ProtectionGroupName : Verify_Backup_on_Multiple_Qtree_different_vserver_windows SmProtectionGroupId : 1 PolicyName : test2 SmPolicyId : 4 BackupName : Verify_Backup_on_Multiple_Qtree_different_vserver_windows_scc55_01-15-2024_01.35.17.4467 VerificationStatus : NotApplicable VerificationStatuses : SmJobError : BackupType : SCC_BACKUP CatalogingStatus : NotApplicable CatalogingStatuses : ReportDataCreatedDateTime : PluginCode : SCC PluginName : DummyPlugin PluginDisplayName : DummyPlugin JobTypeId : JobHost : scc55.sccore.test.com