Siebel Application Deployment Manager Guide > Deploying an ADM Package > Administering the ADM Deployment Execution >

Creating an ADM Restore Session


Restoring an Application Deployment Manager (ADM) session is a task to restore objects affected by the deployment to their predeployment versions, as well as activate these previous versions. The restore task is subject to various limitations and must be performed while a valid ADM deployment session is active and before the deployment session is acknowledged.

This task involves the following commands to complete:

  1. Switching to an ADM Restore Session
  2. Restoring the ADM Deployment Copy
  3. Restoring the ADM Deployment Activation
  4. (Optional) Restoring the ADM Deployment Copy and Activation

These commands can use the following optional flags: -t, -fileserver, -async, and -ignore _validation_errors defined in Table 8. Several optional command-line flags that further define the restore task are described in Table 9.

Table 9. Optional Command-Line Flags While Restoring an ADM Session
Flag
Description

-l

Group or unit level for a manual restore

-id

Group or unit ID for a manual restore

-name

Group or unit name for a manual restore

Switching to an ADM Restore Session

This command changes an existing ADM deployment session into a restore session; that is, the command readies the ADM framework to restore the original application customizations updated by the recently deployed session.

To start an ADM restore session

  • At the ADM command-line prompt, enter:

    deploy_enterprise_name restore_session username password package_name

    where:

    • enterprise_name is the name of the Siebel Enterprise Server.
    • username is the Siebel user name.
    • password is the Siebel password.
    • package_name is the name of the XML ADM package file.

Restoring the ADM Deployment Copy

This command restores the back-up copy of the application configuration on the target environment and represents the actual restore of the configuration to their prior state before the ADM session deployment.

To restore the ADM deployment copy

  • At the ADM command-line prompt, enter:

    deploy_enterprise_name restore_copy username password package_name

    where:

    • enterprise_name is the name of the Siebel Enterprise Server.
    • username is the Siebel user name.
    • password is the Siebel password.
    • package_name is the name of the XML ADM package file.

Restoring the ADM Deployment Activation

This command activates the restored copy of the application customizations on the target environment.

To restore the ADM deployment activation

  • At the ADM command-line prompt, enter:

    deploy_enterprise_name restore_activate username password package_name

    where:

    • enterprise_name is the name of the Siebel Enterprise Server.
    • username is the Siebel user name.
    • password is the Siebel password.
    • package_name is the name of the XML ADM package file.

Restoring the ADM Deployment Copy and Activation

You can use this combination command as an alternative to running the restore_copy and restore_activate commands separately. It restores the backup copy of the application customizations on the target environment and represents the actual restore of the customizations to their prior state before the ADM session deployment. This command also activates the restored copy of the application customizations on the target environment.

To restore the ADM deployment copy and activation

  • At the ADM command-line prompt, enter:

deploy_enterprise_name restore_copy_activate username password package_name

where:

    • enterprise_name is the name of the Siebel Enterprise Server.
    • username is the Siebel user name.
    • password is the Siebel password.
    • package_name is the name of the XML ADM package file.
Siebel Application Deployment Manager Guide Copyright © 2007, Oracle. All rights reserved.