You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Hyperion Cloud Backup script

Received Response
12
Views
6
Comments
edited Aug 2, 2018 2:36AM in Essbase 6 comments

Summary

Hyperion Cloud Backup script

Content

@echo off

rem Sample script to download and maintain 7 maintenance backups

rem Update the following three parameters

SET url=https:

SET user=

SET domain=

SET NumberOfBackups=7

SET password=C:\mySecuredir\password.epw

SET SnapshotName=Artifact Snapshot

rem EPM Automate commands

CD /D %~dp0

call epmautomate login %user% %password% %url% %domain%

IF %ERRORLEVEL% NEQ 0 goto :ERROR

call epmautomate downloadfile "%SnapshotName%"

IF %ERRORLEVEL% NEQ 0 goto :ERROR

call epmautomate logout

IF %ERRORLEVEL% NEQ 0 goto :ERROR

rem Renames the downloaded artifacts, keeps the last 7 backups

Set Timestamp=%date:~4,2%_%date:~7,2%_%date:~10,4%_%time:~1,1%%time:~3,2%%

ren "%SnapshotName%.zip" "%SnapshotName%_%Timestamp%.zip"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!