Microsoft Virtualization Discussions

SnapCenter 4.0 Protect-SmRepository without SnapMirrorlabel


Hello All,


our customer would like that the Repository Backup from SnapCenter should be replicated to the SnapVault Destination.


We use this lines to add the Repository Backup on SnapCenter.


Open-smconnection  -SMSbaseurl  https://Snapcenter:8146/
Protect-SmRepository -HostName SnapCenter -Path E:\ -Schedule @{"ScheduleType"="daily";"StartTime"="02:05 AM";"DaysInterval"="1"} -RetentionCount 7


I tried anything with any cmd lines from the Reference Guide, but i don´t find a solution to set the snapmirrorLabels by the same step.


Our Workaround is another Powershell Script that sets the SnapmirrorLabel in a second step after the backup.


Has anyone a solution, to take the SnapmirrorLabel automatically in one way?


Second thought about this is, if i would like to set hourly, daily and weekly backups for the Repository Backup in a kind of ressource group with this policies. How should i create the Script to add it direct over the protect-smrepository lines?


Thanks a lot for your help




NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner