In an environment where we have done a lot of work to use custom groups for subscriptions a good question was asked of me recently - “How do I backup and restore my Channels, Subscriptions and Subscribers?”. This is a reasonable question because based upon our tests we have done in our environment as follows:
- Create a custom rule
- Create a subscription which contains the custom rule (by rule name)
- Delete the custom rule
- Attempts to edit the subscription fail as the UI crashes during the edit of the subscription which contains the custom rule that was deleted
I hope to write-up the above issue soon but just haven’t had the cycles yet. But back to the original question: “How do I backup and restore my Channels, Subscriptions and Subscribers?” After digging through the web I found the following articles which explained how this works:
http://blogs.msdn.com/b/steverac/archive/2009/09/14/categories-filter-missing-in-opsmgr-r2-notifications.aspx: All notification detail in OpsMgr is stored in the ‘Notifications Internal Library’ management pack.
http://blogs.inovativ.nl/archive/2010-02-01/opsmgr-and-the-case-of-the-unexplained-notification-subscription: The SCOM product architecture defines that notification configuration (subscriptions, channels, subscribers) are stored in a management pack called "Microsoft.SystemCenter.Notifications.Internal".
To verify this I created a new Subscription (subscription1), Subscriber (subscriber1) and Channel (channel1). Next I exported the MP from the Operations Manager Console and verified that each name (subscription1, subscriber1, channel1) was found in the exported management pack. Since these are stored in the “Notifications Internal Library” management pack, my recommendation is to create a good scheduled export and backup of your management packs. To restore these re-import the exported management pack.
Summary: My recommendation to backup Channels, Subscriptions and Subscribers is to perform a scheduled export and backup of your management packs. One good way to accomplish this is through the backup script which was included in the System Center Operations Manager Unleashed book and to schedule it to run on a daily basis.