Essbase Backup

Is this the correct forum to post Essbase questions?
We are using Begin Archive and End Archive (EssCmd) to run file system backups on Essbase applications and databases. We've run into a problem ending the archive. We think it is a conflict with a user running a process. We are looking at embedding it in Java with the API and error trapping. Is there a method that works using only Maxl or EssCmd scripts?

Hi,
We are using the following steps for back up for around 35 databases in version 7.1
1.     Login to server.
2.     Logout All users using LOGOUTALLUSERS command
3.     Disable Login for each individual Appname in sequential order- using DISABLELOGIN command for all 35 db
4.     Selecting individual appname and dbname.
5.     Export data for selected app and db
6.     Unload Application
7.     Enable Login for that selected Database.
But we are facing problem like even though all the users are logged out and by the time it selects a particular app and db and exports, if any other user request access to some other app name or database, Essbase allows the complete read/write access for the same. Due to which we get dbname.esm file getting locked out and corrupted.
To avoid the users to have any write mode capability, can we use BEGINARCHIVE and ENDARCHIVE commands?
What I have thought will be the changed steps after we add these 2 commands-
1. Login to AZ18NT169 server.
2. Disable Login for each individual Appname in sequential order- using DISABLELOGIN command.
3. Logout All users using LOGOUTALLUSERS command.
4. Beginarchive for each db
5. Selecting individual appname and dbname
6. Exporting data for that selected app name and dbname.
7. Unload Application (Stops the specified application)
8. EndArchive for each db
9. Enable Login for that selected Database.
Please let me know if I can achieve my goal of making sure that db is completely in read only mode after we log out all users and if any users request access it will be only read only?
Appreciate your help in advance.
Thanks,
Richa

Similar Messages

  • Online Essbase backup

    Hi All,
    Can anyone tell me the how do i do the online essbase backup.
    IF yes how and can i take backup of database while calculations are executing....
    Regards,
    Mink

    Yes, I've had similar environments. On larger cubes you don't often get savings because the "changed files" equals the "entire database" every day, at least for environments where time is dense. Robocopy is good, I've used it almost everywhere (although they are unrelated, that's why I tried RoboTask in the first place).
    The staging area I use is only 3 copies of each database, but that's arbitrary (the batch job supports grandfather/father/son schemes of up to 9 levels, plus any number of "type" qualifiers -- like daily, weekly, special, deep archive, etc...). With restoration just a double-click (and about 15 minutes) away at any point for any "stored" backup. So we also have no need to go to tape unless it's a true D/R.
    I don't even have to change anything for new production apps, it's part of the shell script that runs the data load as a single command call (the shell also sends email when finished -- if the script has the meta-tags for it), and creates a daily log of begin/end entries for each process.
    The real key is using a standard framework -- which is like skinning cats so there's no point in saying one is ideal or better than another. On the detail level however, being able to fit a new piece into the framework can definitely be done better or worse. :)
    To me, the real proof came in our last D/R test (I know, I talk about it often enough) -- but what I didn't say was that *I* didn't even do the recovery. The Junior admin did it with about 3 months of experience in essbase. I was officially dead on the site and only took notes. That tells a lot about system recoverability.

  • Essbase Backup Automation

    Hi all
    I want to automate the backup for essbase. What is the best possible way to do so, as far as i red a thread Re: Essbase Backup
    which tells the automation through maxel script is possible i want to know the efficient and effective methods used around.
    Your valuable suggestions and comments are much needed .
    Regards
    Ace,

    Thank You John,
    I want A suggestion if data size is increasing significantly like upto 50 GB or plus what is recommended as the best practice for backup automation.
    Currently i am doing export with the help of MaxL script scheduled through Windows Scheduling, Well as export it the most time consuming meth in all of the possible ways what is the best the can be adapted.
    A bundle of Thanks for your help and support.
    Regards
    Ace,

  • Storing Multiple Essbase Backups

    Hello,
    We currently run a nightly backup using the MaxL script below. Due to a change in business practices, we now need to save mulitple days worth of backups instead of writing over the previous night's backup, as we do in this script. Does anyone know of a way to include today's date in the name of the file? Right now we have it named as Plan1BkupLv0.txt but I would like it to read "Date"Plan1BkupLv0.txt, where "Date" represents the date the backup is run. Any assistance is greatly appreciated!
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    /* * Start log file output. * */
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    spool on to 'G:\Hyperion\Automation\Backups\TelePlan\Plan1\Plan1bkStartlog.txt';
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    /* * Log on to application. * */
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    login ;
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    /* * Ensure Application and database               * */
    /* *     is loaded before archive.               * */
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    alter application 'TelePlan' load database 'Plan1';
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    /* * Export all data in "Column" format. * */
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    /*export database 'TelePlan'.'Plan1' Input data to data_file                */
    /*     'G:\Hyperion\Automation\Backups\TelePlan\Plan1\Plan1BkupInp.txt';     */
    export database 'TelePlan'.'Plan1' level0 data to data_file
         'G:\Hyperion\Automation\Backups\TelePlan\Plan1\Plan1BkupLv0.txt';
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    /* * Place database in archive mode * */
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    alter database TelePlan.Plan1 begin archive to file 'G:\Hyperion\Automation\Backups\TelePlan\Plan1\files2backup.txt';
    /*Commented out the validate routine*/
    /*alter database TelePlan.Plan1 validate using error_file 'G:\Hyperion\Automation\Backups\TelePlan\Plan1\validate.txt';*/
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    /* * Terminate the Log file output. * */
    /* *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */
    spool off;
    logout;

    Hi GlennS,
    Thank you so much for the response. I am not versed in MaxL or batch scripts so the easier, the better for me. I am just trying to adjust scripts that consultants wrote during our Hyperion implementation. Below is what I now have for the batch script after adding your suggested changes and is not creating the mulitple files. Would you have a suggestion as to what I have done wrong and how to fix it? Thanks again!
    @ECHO ON
    REM --------------------------------------------------------------------
    REM * *
    REM * File Name: bkupbatch.bat     *
    REM * Created By: Srinivas Uppalapati          *
    REM * Created Date: July 12, 2008 *
    REM * *
    REM * Launches Hyperion MaxL and exports the data               *
    REM * *
    REM --------------------------------------------------------------------
    REM
    REM ---------------------------------------------------------------------*
    REM      SET SCRIPT VARIABLES FOR ESSBASE AND BACKUP DIRECTORIES          *
    REM ---------------------------------------------------------------------*
    SET ESSBACKUPSCRIPTDIR=G:\Hyperion\Automation\Backups\BackupScriptsPlan1
    SET ESSBASEAPPHOME=G:\Hyperion\AnalyticServices\app
    SET ESSBACKUPDIR=G:\Hyperion\Automation\Backups
    REM *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    REM *                                             *
    REM *          Deletes existing log file                    *
    REM *                                             *
    REM *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    del %ESSBACKUPDIR%\TelePlan\Plan1\Plan1bklog.txt
    REM *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    REM *                                             *                                   
    REM *          Executes the backup Maxl script                    *
    REM *                                             *                                                            
    REM *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    essmsh.exe %ESSBACKUPSCRIPTDIR%\Plan1BkupStart.msh
    REM ---------------------------------------------------------------------*
    REM      COPY ALL CRITICAL ESSBASE FILES TO THE DATE DIRECTORY          *
    REM ---------------------------------------------------------------------*
    copy %ESSBASEAPPHOME%\TelePlan\Plan1\*.otl %ESSBACKUPDIR%\TelePlan\Plan1
    copy %ESSBASEAPPHOME%\TelePlan\Plan1\*.csc %ESSBACKUPDIR%\TelePlan\Plan1
    copy %ESSBASEAPPHOME%\TelePlan\Plan1\*.rul %ESSBACKUPDIR%\TelePlan\Plan1
    copy %ESSBASEAPPHOME%\TelePlan\Plan1\*.rep %ESSBACKUPDIR%\TelePlan\Plan1
    copy %ESSBASEAPPHOME%\TelePlan\Plan1\*.alt %ESSBACKUPDIR%\TelePlan\Plan1
    copy %ESSBASEAPPHOME%\TelePlan\Plan1\*.zip %ESSBACKUPDIR%\TelePlan\Plan1
    copy %ESSBASEAPPHOME%\TelePlan\Plan1\*.dbb %ESSBACKUPDIR%\TelePlan\Plan1
    copy %ESSBASEAPPHOME%\TelePlan\Plan1\*.txt %ESSBACKUPDIR%\TelePlan\Plan1
    REM *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    REM *                                             *                                   
    REM *          Executes the backup Maxl script                    *
    REM *                                             *                                                            
    REM *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    essmsh.exe %ESSBACKUPSCRIPTDIR%\Plan1BkupEnd.msh
    REM *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    REM *                                             *                                   
    REM *          Stores Old Backup Copies                *
    REM *                                             *                                                            
    REM *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    del %ESSBACKUPDIR%\TelePlan\Plan1\5_Plan1BkupLv0.txt
    rename %ESSBACKUPDIR%\TelePlan\Plan1\4_Plan1BkupLv0.txt %ESSBACKUPDIR%\TelePlan\Plan1\5_Plan1BkupLv0.txt
    rename %ESSBACKUPDIR%\TelePlan\Plan1\3_Plan1BkupLv0.txt %ESSBACKUPDIR%\TelePlan\Plan1\4_Plan1BkupLv0.txt
    rename %ESSBACKUPDIR%\TelePlan\Plan1\2_Plan1BkupLv0.txt %ESSBACKUPDIR%\TelePlan\Plan1\3_Plan1BkupLv0.txt
    rename %ESSBACKUPDIR%\TelePlan\Plan1\1_Plan1BkupLv0.txt %ESSBACKUPDIR%\TelePlan\Plan1\2_Plan1BkupLv0.txt

  • Automate Application & Essbase Backup

    Hi Gurus
    We have done lots of things on different topics in this forum but one thing which i feel lack is Backup & Recovery Procedures. How can we automate Application & Db Backup for Data forms. Anyone have implemented it or have some clue then pls let it share on this forum.
    Thanks in advance
    SNK

    For the planning application then I would take a backup of the schema/db, this can be automated and done by your dba.
    For essbase then different backup options are outlined in :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_backup_recovery/launch.html
    It all depends on your backup method to how it would be automated.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Encrypted Essbase Backup

    HI
    Currently we are taking backup of essbase into .dat or .txt file...but both file can be changed. As a result, it will loose the security of the backup. Kindly let me know how can i get secure backup from essbase?
    Thanks

    Text files are not encrypted, regardless of extension, or even no extension.
    Glenn pointed out that the binary files that are Essbase's data on disk are already encrypted.
    If this is a BSO database, you could use DATAEXPORT's bin format to give you a measure of encryption, or at least the inability to read an export file in a text editor and see numbers.
    Have you looked at real encryption tools? A quick search on the web turns up this Pretty Good Privacy page:
    http://www.cryptography.org/getpgp.htm
    I am no cryptologist, to put it mildly, so I think the above is just a starting point.
    Surely your IT department does this on a regular basis with other data types -- perhaps they would be a resource to turn to?
    Regards,
    Cameron Lackpour

  • Automation of Essbase backup

    Hi Guys,
    My query is about the backup and restore feature with transaction logging and replay where the backup are taken automatically and the recent changes before the crash are recovered through transaction logging and replay. Can anybody tell me how to initiate that automatic backup process ? Whether it can be done through the console or does it need a command in maxl or esscmd. And the how to initiate the transaction logging and replay.
    Thanks in advance

    Hi There,
    Just ADD below commands to your Config file....and also create Replay Folder to store the transactions.
    TRANSACTIONLOGDATALOADARCHIVE Application database SERVER_CLIENT
    TRANSACTIONLOGLOCATION Application database D:\Replay NATIVE ENABLE
    You can serach for thses commands in technical reference for more information.
    Cheers,

  • Essbase backup steps

    Hi,
    We are using the following steps for back up for around 35 databases in version 7.1
    1.     Login to server.
    2.     Logout All users using LOGOUTALLUSERS command
    3.     Disable Login for each individual Appname in sequential order- using DISABLELOGIN command for all 35 db
    4.     Selecting individual appname and dbname.
    5.     Export data for selected app and db
    6.     Unload Application
    7.     Enable Login for that selected Database.
    But we are facing problem like even though all the users are logged out and by the time it selects a particular app and db and exports, if any other user request access to some other app name or database, Essbase allows the complete read/write access for the same. Due to which we get dbname.esm file getting locked out and corrupted.
    To avoid the users to have any write mode capability, can we use BEGINARCHIVE and ENDARCHIVE commands?
    What I have thought will be the changed steps after we add these 2 commands-
    1. Login to AZ18NT169 server.
    2. Disable Login for each individual Appname in sequential order- using DISABLELOGIN command.
    3. Logout All users using LOGOUTALLUSERS command.
    4. Beginarchive for each db
    5. Selecting individual appname and dbname
    6. Exporting data for that selected app name and dbname.
    7. Unload Application (Stops the specified application)
    8. EndArchive for each db
    9. Enable Login for that selected Database.
    Please let me know if I can achieve my goal of making sure that db is completely in read only mode after we log out all users and if any users request access it will be only read only.
    Thanks in advance for your suggestions!
    Regards,
    Richa

    Yes Krish.
    Exactly that is what I thought and hence I have suggested this approach now-
    1. Login to AZ18NT169 server.
    2. Disable Login for each individual Appname in sequential order- using DISABLELOGIN command.
    3. Logout All users using LOGOUTALLUSERS command.
    4. Beginarchive for each db
    5. Selecting individual appname and dbname
    6. Exporting data for that selected app name and dbname.
    7. Unload Application (Stops the specified application)
    8. EndArchive for each db
    9. Enable Login for that selected Database.
    Here i am first disabling login and then logging out all users from all app and db. after that before selecting individual db for export, will do beginArchive (making it read ony), then selecting Dbname, Exporting data, Unloadingapp, EndArchive and then re-enabling login.
    This will be repeated for all databases. Please suggest if BeginArchive and EndArchive for each db will cause any issue?
    Regards,
    Richa

  • Essbase Backups

    I am writing a script to back up all the available apps. For the Begin archive, endarchive and export command, I need to mention the names of App/DB in the maxl script. Is there a way I can dynamically write the script for all the available applications instead of hardcoding their names in the script?
    Thank you!

    Write the maxl script in a kornshell or bat file, then tokenize the items that you will pass from the driver script
    login $1 $2 on $3;
    alter system load application '$4';
    export database '$4'.'$5' level0 data in columns
    to data_file "'$4.Lev0backup";
    logout;
    and name it 'backup.msh' for instance.
    Then from the driver script for each different app/db you would invoke the maxl shell passing the 'backup.msh' file and the parameters.
    essmsh backup.msh <Userid> <Password> <Server> <Appname> <dbname>
    Message was edited by:
    RobertR

  • Essbase and Oracle Backups

    We are currently implementing Hyperion Planning into our environment. In our existing systems ie SAP we have Oracle archiving turned on in our production systems. With Planning we have ESSBASE and Oracle to be concerned about. Is there a way to archive ESSBASE to be in sync with the Oracle archives? If so how can this be done?If the system for example crashed at 10 AM and our last offline and Essbase backups occurred at 11 PM at night, in oracle we can roll forward using the archives, but in Essbase I'm not sure if that can be done. We can't archive or put the database in read mode during the day since we have live activity going on. Are we stuck to a point where we have to restore from the 11 PM backup? Anyone have this issue?Please send comments to my email [email protected]

    I can decribe my scenario in detail.
    I got two data source from Oracle relational tables and Essbase. And I need to join them together to do analysis. To make it simple, I will illustrate it by an example.
    There is main analysis in Essbase, including fact tables and dimension tables. For example, one of the dimension tables is Time dimension which contains hierarchical data only.
    In Oracle table, I got a table named Sales_Date storing description data of Time dimension.
    Since description data needs to be used in Time dimension, I use complex join to join Sales_Date to Essbase Time dimension in physical layer and BMM layer.
    Sales_Date is dragged from physical to BMM layer, and its columns are dragged to Time dimension tables. Then New Logical Keys are created under Time dimension hierarchy for those columns.
    Finally, presentation layer is created by dragging tables from BMM layer.
    When I try to select columns from Time Dimension(including columns from Sales_Date) and fact tables, below error msg appears.
    nQSError: 42043 An external aggregate is found in an outer query block. (HY000)
    Please help.

  • Backup/Restore Proedure of Essbase

    Hi
    I want to know about the right way of Hyperion Essbase backup/restore method. What is contingency plan in case of system crash.
    Its very important. Kindly guide me in detail
    Thanks in advance
    SNK

    This is already discussed in the forumn no. of times.
    Read the below thred. Hope it will clarifies you.
    Re: Backup & recovery

  • Cloning the essbase drive

    Hi All,
    I have to replace the existing Essbase HDD drive with new one. Our OS is in Linux and we are in Hyperion 11.1.2.1 version.
    Could you please suggest the standard method to do the same.
    1) Shall i do the fresh installation on new drive and do the Essbase migration
    or
    2)
         2.1) Stop all Hyperion services
         2.2) Take the full Essbase backup
         2.3) Request my IT to clone the existing Essbase drive to the new one
         2.4) Start all Hyperion services
         2.5) Test the functionality
    Could you please suggest if i missed anything, this is the first time i am going to try this.
    Please suggest which is the standard and safe method, i have referred oracle documentation, but couldn't find anything on the same.
    Thank you,
    PC

    If it is just the disk being cloned then option 2 should work because in theory there is nothing different once you bring the system back online.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Hyperion Backup of Windows and Oracle DB

    <p>Hi,</p><p> </p><p>I have a question regarding Hyperion System 9 backup of windowsservers and Oracle/Essbase backup.</p><p> </p><p>Do we need to bring down all the services and backup all windowsservers and Oracle/Essbase together.  If we need to restoreonly windows or lets say Oracle.  Will that be out of sync. Do we have be in sync all the time ?</p><p> </p><p>Thanks</p><p> </p><p>Azmat Bhatti</p>

    Hello,<BR>You did not specify which relation Essbase and Oracle have in your environment. I my answer I assume you create Essbase databases from your Oracle environment to analyze this data. You extract with SQL statements and rule files data from Oracle to build up your outlines and load the data. <BR><BR>In this, I would not say you need a synchronous backup, since with a new refresh your structure will be created and the data loaded. Ofcourse I would not recommend more than 24 hours between the backup of Essbase versus Oracle.<BR><BR>I hope this answered your question.<BR><BR>Regards,<BR>Philip Hulsebosch<BR><BR>www.Trexco.nl

  • Does restore of essbase database affects its planning app??

    Hi,
    I have a Planning application.I archived its database which sits at essbase into .arc file.Now, if I do restore of .arc file does its planning application affects? If not what should I need to do to reflect the restored file changes to its planning application?
    Thanks,

    If you metadata changes have been made in planning since taking the essbase backup then you would usually also restore the planning applications relational db so planning and essbase are in sync.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Essbase Database File???

    Hi
    Well, pls let me know...from which file DATAEXPORT utility fetch data from Essbase? I mean to say there are different files in file system of Hyperion Application i.e. .pag, .ind, .otl, etc...
    Pls its urgent.
    Thanks

    If you have a backup of all the files in the application directory and the data for the database is being in stored in that directory (check for .pag .ind) then you should be able just to restore the backup folder over the top of the existing folder, make sure the app/db are stopped before doing so.
    So restore all the files from the appname/dbname folder, then start up the db.
    It is also worth having a read of the manual essbase backup/restore procedures - http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_backup_recovery_11121/frameset.htm?ch04s01s02s04.html
    Cheers
    John
    http://john-goodwin.blospot.com

Maybe you are looking for

  • InDesign Text Field Options

    Hi, I want to create a variety of text fields in InDesign for an interactive PDF with options such as font, font size, date, numbers only, alignment, etc, options that are all available in Acrobat. The idea is to create all the text fields in InDesig

  • Bad performance with many xmlqueries in select and big resultset

    I'm running into big performance problems with the following query (edited the query a bit to remove sensitive information): SELECT id "id",created "created",   xmlcast(xmlquery('declare default element namespace "http://www.example.com/myproject/sch

  • Item category determination during Purchase Requisition creation from APO

    I’m creating a  SNP Purchase Requisition in APO and when it is  published to R/3, a Purchase Requisition document is created in R/3. When this PR is created in R/3, I want the Item Category to be determined based on the Material master Special Procur

  • Apple loops again... again

    I installed the new Garageband, but decided to work in Garageband ´11 (5) instead. Fine. But something happened with my apple loops. I have no flutes anymore, occationally i found one that the system didn't recognize, a mideveal flute. I bought the f

  • Some Clients not using Local Distribution Point

    I have a new physcial site that we are wanting to put the SCCM client on the workstations. The local DP has been setup and the SCCM 2012 config settings for the new site have been made. I did a manual push to 5 workstations and monitored the ccmsetup