Layer 7 Identity Management

Powershell and auto-backup of IME Enviornment

  • 1.  Powershell and auto-backup of IME Enviornment

    Posted 11-09-2017 01:55 PM

    Hello Team,

     

    While on a recent project, mullachv and I wished to add in automation of the Identity Manager environment for an older release of IM r12.6.x.    

     

    We had the opportunity to pull the latest IAMSuite Tool from Identity Suite r14.x, and use that tool.

     e.g.  /opt/CA/IdentityManager/IAM_Suite/IdentityManager/tools/ImportExportUtility

    Identity Suite vApp Backup Process for IME, IMCD, IMPD, & custom Files 

     

    But decided to focus on using native shell tools for the OS.

    In this case, we decided to focus on the MS Windows Server OS, that would be common for the IAMCS/CCS services.

    - For older releases, this was typically the Identity Manager Provisioning Server.

     

    mullachv  has placed out the PowerShell code on GitHub.

    nscripts/backupime.ps1 at master · mullachv/nscripts · GitHub 

     

    This Powershell process may be tied to the MS Windows Scheduler to execute daily.

     

    The script will:

     

    1- authenticate to the IM Management console.

    2- export the directory objects & the IME roles & environments settings.

     

     

    Please take a look.

     

     

     

    Cheers,

     

    A.

     

     

     

    Other examples to automate:

    How to automate a daily backup of the IME and directory.xml files