Thursday, April 9, 2015

LCM command line utility to automate the shared services/planning application backup

LCM command line utility to automate the shared services/planning application backup How To: Use LCM command line utility to automate the shared services/planning application backup. Solution: LCM has a graphical interface to take shared services and applications backup. What we also have is a command line utility that can be used to automate and schedule the backup jobs. The steps mentioned below are for backing up Shared Services. The same can be replicated for taking a Planning Application backup also. • The first step will be to save a migration definition file from the LCM graphical interface. o Go to Shared services console -> Application Groups -> Foundation -> Shared Services. o Select all/required artifacts (Options: Native Directory, TaskFlows) and click “Define Migration”. o Select the destination as a file system, and give a name to it, say “SharedServiceDefinition”. o Select the option “Save Migration Definition”, and save this xml file in a folder, say C:\Backup\ SharedServicesMigrationDefinition.xml. • Create a batch file with the following commands in it: cd C:\Oracle\Middleware\user_projects\epmsystem1\bin Utility.bat C:\Backup\SharedServicesMigrationDefinition.xml • Run this batch file manually the first time. It will prompt for a username and password. • From second time onwards, you don’t need to type the username password, since this information gets stored in the migration definition xml file (Password is stored in encoded form). Now you can schedule this batch file, for a regular backup. • Note that the utility is located in the folder \\Oracle_Home\Middleware\user_projects\epmsystem1\bin and the backup file is generated in this folder only. So you might want to move this folder to another suitable destination, through another batch. - See more at: http://www.adistrategies.com/resources/knowledge-base/id0127-lcm-command-line-utility-to-automate-the-shared-servicesplanning-application-backup/#sthash.fe70LKYe.dpuf

No comments:

Post a Comment