Skip to main content
NetApp Knowledge Base

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

Views:
154
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. This job is run once a week.

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

2-1. Open-SmConnection

You will be prompted for SnapCenter credentials

2-2.  Set-SmSchedule

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