Restores a PowerCenter repository back-up file that contains Metadata Manager objects to the PowerCenter repository database. This command restores different contents to the PowerCenter repository based on the operating mode of the PowerCenter Repository Service.
The PowerCenter repository back-up file includes the metadata objects that Metadata Manager uses to load metadata into the Metadata Manager warehouse. These metadata objects include sources, targets, sessions, and workflows. In the PowerCenter repository, the metadata objects used by Metadata Manager are stored in the Metadata Load folder.
The restorePCRepository command restores different contents based on the following PowerCenter Repository Service operating modes:
Exclusive mode
If the PowerCenter Repository Service is running in exclusive mode, this command replaces all contents in the PowerCenter repository database. If the PowerCenter repository database contains contents, this command overwrites all contents.
Run this command when the PowerCenter Repository Service is running in exclusive mode if either of the following conditions are true:
The PowerCenter repository has no content associated with it.
The repository contains content that has not been upgraded.
Normal mode
If the PowerCenter Repository Service is running in normal mode, this command creates the Metadata Load folder and restores the folder contents. If the Metadata Load folder contains contents, this command overwrites all contents of the Metadata Load folder. It does not overwrite other PowerCenter repository database contents.
Run this command when the PowerCenter Repository Service is running in normal mode if the following conditions are true:
The PowerCenter repository database contains contents.
You only want to restore the contents of the Metadata Load folder.
You must run this command from an mmRepoCmd instance that is installed with the Informatica services. You cannot run this command from an mmRepoCmd instance that is installed with Informatica utilities or with the Informatica client.