Hyperion Cloud Backup script
Summary
Hyperion Cloud Backup scriptContent
@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"
0