locked
How to Backup the MP's in scom 2012 beta RRS feed

  • Question

  • Hi,
    As my beta exceeded 180 days and i am not able to open the Operations Console to export my MP's.
    So i back up the Management Packs folder from the following path  C:\Program Files\System Center Operations Manager 2012\Server\Health Service State. is it correct? i mean will they work if i import againg?
    i observed that the name of the MP's changed (appended some number at the end). how can i import them. do i need to remove the appended number and import or..?

    please any help would be highly appreciated
    Tuesday, February 28, 2012 5:02 AM

Answers

  • You may try to use MP2XMLDumper.exe.

    http://blogs.technet.com/b/cliveeastwood/archive/2007/05/25/tool-to-dump-all-mp-s-as-xml-unsealed-to-a-folder-of-your-choice.aspx

    roger

    • Marked as answer by Nicholas Li Friday, March 2, 2012 6:30 AM
    Tuesday, February 28, 2012 4:30 PM
  • Please be aware that PowerShell cmdlets have changed from SCOM 2007 R2 to SCOM 2012.

    Firstly - don't back up from C:\Program Files\System Center Operations Manager 2012\Server\Health Service State.

    In the SCOM console, you can manually export unsealed management packs by right clicking them and export.

    Better to automate via powershell - put the following into a .ps1 file and run via task scheduler or opalis \ orchestrator:

    $ms="<<<Management Server Name >>>"

    import-module "operationsmanager"

    $mps=get-scommanagementpack
    # for just unsealed management packs, comment out the line above and uncomment the line below
    # $mps = get-scommanagemetnpack | where-object ($_.Sealed -eq false)

    foreach ($mp in $mps)
    {
    export-scommanagementpack -managementpack $mp -path C:\Backup

    }

    Cheers

    Graham


    New SCOM 2012 Blog! - http://www.systemcentersolutions.com/blog/
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/

    • Marked as answer by Nicholas Li Friday, March 2, 2012 6:30 AM
    Tuesday, February 28, 2012 6:18 PM

All replies

  • You may try to use MP2XMLDumper.exe.

    http://blogs.technet.com/b/cliveeastwood/archive/2007/05/25/tool-to-dump-all-mp-s-as-xml-unsealed-to-a-folder-of-your-choice.aspx

    roger

    • Marked as answer by Nicholas Li Friday, March 2, 2012 6:30 AM
    Tuesday, February 28, 2012 4:30 PM
  • Please be aware that PowerShell cmdlets have changed from SCOM 2007 R2 to SCOM 2012.

    Firstly - don't back up from C:\Program Files\System Center Operations Manager 2012\Server\Health Service State.

    In the SCOM console, you can manually export unsealed management packs by right clicking them and export.

    Better to automate via powershell - put the following into a .ps1 file and run via task scheduler or opalis \ orchestrator:

    $ms="<<<Management Server Name >>>"

    import-module "operationsmanager"

    $mps=get-scommanagementpack
    # for just unsealed management packs, comment out the line above and uncomment the line below
    # $mps = get-scommanagemetnpack | where-object ($_.Sealed -eq false)

    foreach ($mp in $mps)
    {
    export-scommanagementpack -managementpack $mp -path C:\Backup

    }

    Cheers

    Graham


    New SCOM 2012 Blog! - http://www.systemcentersolutions.com/blog/
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/

    • Marked as answer by Nicholas Li Friday, March 2, 2012 6:30 AM
    Tuesday, February 28, 2012 6:18 PM