rasd_restore

(Oracle and Microsoft SQL Server only) Allows you to restore the RASD.

Note: This command is available only for Oracle and Microsoft SQL Server.

Syntax

rasd_restore [backup_name]
Note: After executing rasd_restore, Replication Agent automatically shuts down if rasd_restore is successful.

Parameters

Examples

Usage

  • When rasd_restore is invoked, it starts the restore process for the RASD.

  • When no parameters are used. Replication Agent looks for the most recent RASD backup in the directory identified by the rasd_backup_dir configuration parameter.

  • If a backup name is provided as a parameter, Replication Agent restores from the specified backup in the directory identified by the rasd_backup_dir configuration parameter.

  • When you create a Replication Agent instance, an RASD backup directory is automatically created as part of the instance directory structure. The default value of the rasd_backup_dir parameter points to that directory.

  • If you invoke rasd_restore when the Replication Agent instance is in Replicating state, it returns an error.

  • The rasd_restore command is valid only when the Replication Agent instance is in the Admin or Replication Down state.

Related reference
rasd_backup
rasd_helpbackup
rasd_removebackup