Previous Topic

Next Topic

Book Contents

DeployRestore.cmd

Purpose

Restores a backed up study from a specified archive file. If the operation is successful, the command returns 0. Otherwise, it returns 1 to signal the error.

Location

Deployment root folder, as defined in the DeployRoot registry value under HKEY_LOCAL_MACHINE\SOFTWARE\OracleHS\InForm. By default, it is the InFormDeploy folder on the drive where the InForm application is installed. For example: E:\InFormDeploy.

Usage

DeployRestore <Study_Name> <Archive_File_Name> <TNS_Service_Name> <Archive_Path> <Parameters_File_Name>

Command parameters

Option

Parameter

Study_Name

Name of the study to be restored.

Archive_File_Name

Name of the backup file.

TNS_Service_Name

Local Net Service Name for the remote database service.

Archive_Path

Path on the database server where the backup file is saved.

Parameters_File_Name

Name of the parameters file that contains database credentials.

The parameters file must contain the following values:

trial_user=<study_schema_user_name>

trial_user_pass=<study_schema_user_password>

orasystem_user=<admin_user_name>

orasystem_user_pass=<admin_user_password>

Send Feedback