注:
确保更改用户名、密码文件、身份域名和服务 URL。有关创建加密密码文件的信息,请参阅
encrypt
命令。
REM Sign in to the primary instance
epmautomate login serviceAdmin primaryPassword.epw primary_URL primaryDomain
REM Create a snapshot and then sign out
epmautomate exportsnapshot "Artifact Snapshot"
epmautomate logout
REM Sign in to the secondary instance
epmautomate login serviceAdmin secondaryPassword.epw secondary_URL secondaryDomain
REM Copy the snapshot from the primary instance
epmautomate copysnapshotfrominstance "Artifact Snapshot" primaryPassword.epw primary_URL primaryDomain
REM Sign out of the secondary instance
epmautomate logout