Unable to protect the SnapCenter repository
- Views:
- 160
- Visibility:
- Public
- Votes:
- 0
- Category:
- snapcenter
- Specialty:
- snapx
- Last Updated:
- 3/2/2023, 5:13:05 AM
Applies to
- SnapCenter Server 4.x
- SnapCenter Plug-in for Windows 4.x
Issue
The backup of the SnapCenter repository is failing with the following error.
PS C:\Users\xxxxx> Protect-SmRepository -HostName xxxxx -Path F:\xxxxx -RetentionCount 10 -Schedule @{"ScheduleType"="daily";"StartTime"="DD/MM/YYYY HH:MM AM"}
Protect-SmRepository : Host [xxxxx] is required to be registered with SnapCenter to protect the repository database
At line:1 char:1
+ Protect-SmRepository -HostName xxxxx-Path F:\xxxxx ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (SmPSSnapin.ProtectSmRepository:ProtectSmRepository) [Protect-SmRepository], Exception
+ FullyQualifiedErrorId : Protect-SmRepository failed,SmPSSnapin.ProtectSmRepository