Skip to main content

SHARED SERVICE BACKUP AUTOMATION


LCM has a graphical interface to take backup of the applications and Foundation services. We can also take backup using a command line utility which again can be used to automate and schedule backups. The following steps are needed to be followed in order to do automation of Shared Services or Application backup. Here the steps are shown of automation of backup of Foundation services. Same steps hold true for any Planning Application as well. The steps are as follows:



     1)      First you need to login to Shared Services to create a migration definition xml.
2)  Go to Application Groups-> Foundation-> Shared Services and select all artifacts and click on Define Migration.
3) Click on NEXT.
4) Select Destination as File system and give a name like – ‘SharedServicebkup’.
5) Click on next.
6) Click on Save Migration Definition.
7)  A pop up opens asking you to save the xml file on your local machine. Save it and a file will be saved with the name MigrationDefinition.xml. Then using WinSCP copy the xml file on the planning server in the directory - /Hyperion/Oracle/Middleware/user_projects/epmsystem1/bin.





                                                                                                                                                                

 8) Then log into the Planning server and go to the directory using the command :

      cd /Hyperion/Oracle/Middleware/user_projects/epmsystem1/bin

Here the utility Utility.sh will be used to take Shared Services backup using the MigrationDefinition.xml file. The xml file contains the details of all the artifacts that are to be backed up.

9) First time we run the  command   ./Utility.sh MigrationDefinition.xml
and it asks for username and password of Shared Services.

10)  Enter the credentials and let it run for the first time. After it runs for the first time the username and the password get saved into the xml file in an encrypted format, so from second time onwards it does not need any credentials.

11) Now a shell script or a batch file can be created with the corresponding commands and can be scheduled for a regular backup.
./Utility.sh MigrationDefinition.xml        ->                            Shell Script (Linux Server)
               Utility.bat Migratio0nDefinition.xml    ->                            Batch Script(Windows Server)

            12)  The backup is formed in the same directory as the utility Utility.sh (i.e/Hyperion/Oracle/Middleware/user_projects/epmsystem1/bin) with the name (SharedServicesbackup) that was provided while creating the MigrationDefinition.xml.




Thanks!!








Popular posts from this blog

Temp files related issues on your Essbase Server

While running an Aggregation process or a restructure in essbase have you ever encountered either of these: EAS quits accepting logins Essbase going down time and again. Failed Data load / Failed Data Export / Failed Level 0 export All of the above together :) In all these cases, there is a huge possibility that you are facing creation of tmp files issue on your Essbase Server, specifically if you are on Linux The Temp directory contains mostly files that are required temporarily. Many programs use this to create lock files and for temporary storage of data. Do not remove files from this directory unless you know exactly what you are doing! Many of these files are important for currently running programs and deleting them may result in a system crash. Usually it won't contain more than a few KB anyway. On most systems, this directory is cleared out at boot or at shutdown by the local system. In MS-Dos  and Windows , the temporary directory is set by the environment ...

Shared Connection and Private Connection

You connect to data sources through shared or private connections. Shared Connections •Shared connections are stored in a central location and are available to multiple users through the Smart View Panel. You cannot add, edit, or rename shared connections, but you can save them as private connections, which you can edit and rename. Private Connections •Private connections are those that you create by saving a shared connection to your local computer or by entering a URL to a provider that is not configured for shared connections. When you create a private connection, it becomes the active connection. Shared Connections : 1. From the Smart View ribbon, click  Panel . 2. From Smart View Home or from the menu displayed when you click the arrow next to Home button, do one of the following: • Click a connection name under  Recently U sed . You can click    to pin items to this list. • Select  Shared Connections  to open th...

Registry file to update Smart View Timeout Settings

“ The Request Timed Out. Contact your Administrator to Increase netRetryCount and netRetryInterval. IE7 and IE8 & IE9 have a 30-second timeout when waiting for communication from the server. When adding form data, Smart View can take longer than 30 seconds to get confirmation from the Planning server that the changes were made and saved. A similar constraint exists for Essbase data. Pre update registry Settings Open the command prompt window by clicking the start  button   >Search bar >Key in regedit navigate to the below path and check the existing settings you might not have” KeepAlive,ServerInfo & ReceiveTimeout ” HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings Automated Resolution Steps 1)       Create a file called “test.reg” 2)       Edit the file in notepad. 3)       Add th...