0% found this document useful (0 votes)
314 views2 pages

MAXL - Automated Backup of Essbase

This document outlines the process for automatically backing up and recovering LDAP and Essbase databases. It includes: 1) Configuring the essbase.cfg file to split archive files and enable transaction logging. 2) Backup batch files for LDAP and Essbase that call backup scripts to archive the databases. 3) The backup batch files rename the Essbase archive files with a timestamp. 4) A recovery batch file restores the archived Essbase databases and replays transactions.

Uploaded by

Balaji Varathri
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
314 views2 pages

MAXL - Automated Backup of Essbase

This document outlines the process for automatically backing up and recovering LDAP and Essbase databases. It includes: 1) Configuring the essbase.cfg file to split archive files and enable transaction logging. 2) Backup batch files for LDAP and Essbase that call backup scripts to archive the databases. 3) The backup batch files rename the Essbase archive files with a timestamp. 4) A recovery batch file restores the archived Essbase databases and replays transactions.

Uploaded by

Balaji Varathri
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

This paper is for the auto backup and recovery process for LDAP Shared Service a nd Essbase database.

1. In the essbase.cfg file, add: SPLITARCHIVEFILE TRUE TRANSACTIONLOGDATALOADARCHIVE SERVER_CLIENT The 1st command will split big archive file into smaller one automatically. The 2nd command will enable the transaction logging. 2. backupLDAP.bat The code inside: @echo off REM Backup LDAP with HOTBackup c:\Hyperion\products\Foundation\server\scripts\backup.bat C:\Hyperion\backup\HSS _backup 3. RecoveryLDAP.bat, the code inside: @echo off REM Backup LDAP with HOTBackup c:\Hyperion\products\Foundation\server\scripts\recover.bat C:\Hyperion\backup\HS S_backup 4. BackupEssbaseMaxL.msh spool on to 'c:\Hyperion\Logs\EssbaseArchive.log'; login alter c'; alter spool $1 $2 on $3; database Sample.Basic force archive to file 'C:\Hyperion\backup\SampleBasi database Demo.Basic force archive to file 'c:\Hyperion\backup\DemoBasic'; off;

5. backupEssbaseBSO.bat echo off REM Backup BSO Essbase set uid=admin set pwd=password set svr=bobpc essmsh "C:\Hyperion\auto\BackupEssbaseMaxL.msh" %uid% %pwd% %svr% %dt% %tm% ren C:\Hyperion\backup\SampleBasic SampleBasic%date:~4,2%-%date:~7,2%-%date:~10% .arc ren C:\Hyperion\backup\DemoBasic DemoBasic%date:~4,2%-%date:~7,2%-%date:~10%.arc The idea is backup with general name, and use bat script rename the backup file with time stamp. 6. RecoveryEssbaseMaxL.msh spool on to 'c:\Hyperion\Logs\EssbaseArchive.log'; alter database Sample.Basic force restore from file 'C:\Hyperion\backup\SampleBa sic.arc'; alter database Demo.Basic force restore from file 'c:\Hyperion\backup\DemoBasic. arc';

alter database Sample.Basic replay transactions using sequence_id_range 2 to 2; alter database Demo.Basic replay transactions using sequence_id_range 2 to 2; spool off; Please select the sequence id range by query query database Sample.Basic list transactions;

7. RecoveryEssbaseBSO.bat @echo off REM Recovery BSO Essbase essmsh "C:\Hyperion\auto\RecoveryEssbaseMaxL.msh" The bat file for backup can be scheduled to run daily using Windows Scheduler.

You might also like