Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

What is the task 'SnapCenter_RemoveSecondaryBackup' in Task Scheduler Library on SnapCenter Server host?

Views:
81
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

SnapCenter Server

Answer

SnapCenter_RemoveSecondaryBackup is a task scheduler job to delete secondary (SnapMirror/SnapVault) backup metadata. SnapCenter compares the list of backups that are stored in it's own MySQL repository (NSM) against the snapshots that exist on the storage system. If there are any orphaned MySQL records (snapshots no longer exist in Data ONTAP) then they will be purged.

If this task was accidentally deleted from Task Scheduler Library, the task can be recreated with the steps below

  1. Open PowerShell on SnapCenter Server
  2. Issue the commands
    1. Open-SmConnection
      1. You will be prompted for SnapCenter credentials
    2. Set-SmSchedule
      1. See: SnapCenter PowerShell Cmdlets

Example:
Set-SmSchedule -ScheduleInformation @{"StartTime"="03/14/2019 3:59 AM";"ScheduleType"="Weekly";"DaysOfTheWeek"="Sunday"} -TaskName SnapCenter_RemoveSecondaryBackup

Additional Information

N/A