<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="recover-transactions-1">
<refmeta><refentrytitle>recover-transactions</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="recover transactions">recover transactions &mdash;
manually recovers pending transactions</primary><?Pub Caret1></indexterm>
<indexterm><primary sortas="manually recovers pending transactions">manually
recovers pending transactions &mdash; recover transactions</primary></indexterm>
<refname>recover-transactions</refname><refpurpose>manually recovers pending
transactions</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>recover-transactions</command>&synopsis-common;
<arg>&Dash;&Dash;txlogdir <replaceable>transaction_log_directory</replaceable> &Dash;&Dash;destination <replaceable>
destination_server_name</replaceable></arg><arg choice="plain"><replaceable>
server_name</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The function of this command is to manually recover pending transactions.
This is used in remote mode only.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;txlogdir</option></term>
<listitem><para>The transaction log directory of the server (provided in the <replaceable>
server_name</replaceable> operand) for which the recovery needs to be done.
</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;destination</option></term>
<listitem><para>The destination server which will perform the recovery for
the server  (provided in the <replaceable>server_name</replaceable> operand).
The destination server should be running.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>server_name</replaceable></term><listitem>
<para>This is the name of the server for which the recovery needs to be done.
If this server is running, recovery will be performed by the same server.
In this case the <option role="nodash">&Dash;&Dash;txlogdir</option> and <option
role="nodash">&Dash;&Dash;destination</option> options should not be given.
If the server is not running, then the <option role="nodash">&Dash;&Dash;txlogdir
</option> and <option role="nodash">&Dash;&Dash;destination</option> options
are required.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the recover-transactions</title>
<para>This is a basic example of how this command is used.</para>
<screen>asadmin><userinput>recover-transactions serverid1</userinput>
Transaction recovered.

</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="relatedCommand-1"><citerefentry><refentrytitle>none</refentrytitle>
</citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003789>
