Command Reference > infasetup Command Reference > RestoreDomain


Restores the configuration metadata for the domain from a backup .mrep file. If you have a backup file from an earlier version of Informatica, you must use the earlier version to restore the domain.
You must shut down the domain before you run this command.
If you restore the domain into a database other than the original backup database, you must restore the ISP_RUN_LOG table contents to get the previous workflow and session logs.
If the command fails with a Java memory error, increase the system memory available for infasetup. To increase the system memory, set the -Xmx value in the INFA_JAVA_CMD_OPTS environment variable.
The RestoreDomain command uses the following syntax:

<<-DatabaseAddress|-da> database_hostname:database_port|

<-DatabaseConnectionString|-cs> database_connection_string>

[<-DatabaseUserName|-du> database_user_name]

[<-DatabasePassword|-dp> database_password]

<-DatabaseType|-dt> database_type

[<-DatabaseServiceName|-ds> database_service_name]

<-BackupFile|-bf> backup_file_name



[<-Tablespace|-ts> tablespace_name]

[<-SchemaName|-sc> schema_name (used for MSSQLServer only)]

[<-DatabaseTlsEnabled|-dbtls> database_tls_enabled]

[<-DatabaseTruststorePassword|-dbtp> database_truststore_password]

[<-TrustedConnection|-tc> trusted_connection (used for MSSQLServer only)]

[<-EncryptionKeyLocation|-kl> encryption_key_location]

[<-DatabaseTruststoreLocation|-dbtl> database_truststore_location]
The following table describes infasetup RestoreDomain options and arguments:
Required if you do not use -DatabaseConnectionString (-cs) option. Name and port number of the machine hosting the domain configuration database.
Required if you do not use -DatabaseAddress (-da) and -DatabaseServiceName (-ds) options. Connection string used to connect to the domain configuration database. Specify the database host, database port, and the database service name as part of the connection string. Enclose the connection string in quotes.
Required if you do not use -TrustedConnection (-tc) option. Account for the database containing the domain configuration information.
Domain configuration database password corresponding to the database user. If you omit this option, infasetup uses the password specified in the INFA_DEFAULT_DATABASE_PASSWORD environment variable. If no value is specified in the environment variable, you must enter a password using this option.
Required. Type of database that stores the domain configuration metadata. Database types include:
  • - db2
  • - oracle
  • - mssqlserver
  • - sybase
Required if you do not use -DatabaseConnectionString (-cs) option. The database service name. Required for Oracle, IBM DB2, and Microsoft SQL Server databases. Enter the SID for Oracle, the service name for IBM DB2, or the database name for Microsoft SQL Server.
Required. Name and path for the backup file. If you do not specify a file path, infasetup creates the backup file in the current directory.
Optional. Overwrites the database if a database with the same name already exists. Do not include any characters after this option.
Optional. Clears node associations when restoring the domain. For example, a backed up domain contains node “Node1” on machine “MyHost:9090.” If you specify this option, the connection between the node name “Node1” and the address “MyHost:9090” is broken when you restore the domain. You can then associate another node with “MyHost:9090.”
If you do not specify this option, “Node1” retains its connection to “MyHost:9090.” If you restore the domain and associate another node with “MyHost:9090,” the node does not start.
Required for an IBM DB2 database. Name of the tablespace where the domain configuration database tables reside.
Optional. Name of the Microsoft SQL Server schema. Enter a schema name if you are not using the default schema.
Optional. Indicates whether the Informatica domain database is secure with TLS or SSL. Set this option to True for the secure database. Default is false. If you specify the ‑dbtls option without a value, the Informatica domain uses secure communication to the Informatica domain database.
Optional. Password for the database truststore file for the secure database.
Optional. Connect to the Microsoft SQL Server database through a trusted connection. Trusted authentication uses the Windows security credentials of the current user to connect to Microsoft SQL Server.
Optional. Directory that contains the current encryption key. The name of the encryption file is sitekey.
Optional. Path and file name of the truststore file for the secure database. Required if you configure a secure domain repository database for the domain.