View Source

When restoring files or database to an alternate Agent, the receiving machine must have a CDP Agent installed, and be placed into the "Recovery Mode." In this mode data restore is performed by the executable binary only. Installation of kernel module is not required. Recovery mode is used mostly for Bare-Metal restore.

The information mentioned below is concerning those cases when restoring files or database to a running computer.

On a Linux machine, this is handled through editing the {color:blue}init{color} script (which is a link to {color:blue}/usr/bin/buagentctl{color}, by default.)

On a Windows machine, this is accomplished by {newversion}using the options available inside the R1Soft Windows Agent service properties.{newversion}editing the registry and adding the -r flag to the executable path of the service.

{note:title=Note}
A registry edition is not a desirable action.
{note}

{info:title=Note}When you boot from CD, the Agent launches in "Recovery Mode" automatically. See [Booting Server From CD].
{info}

----
{toc:location=top|maxLevel=3|minLevel=3|type=flat|separator=pipe|style=border:1}

----
h3. Linux Installations

1. Start a remote SSH session or access a GUI terminal window (Konsole in KDE, Gnome Terminal in Gnome, etc.)

2. Use one of the following commands to stop the {color:blue}buagent{color} service:
{code}
# /etc/init.d/cdp-agent stop
{code}
or
{code}
# service cdp-agent stop
{code}
3. Create the empty file {color:blue}/usr/sbin/r1soft/.recovery-mode:{color}touch /usr/sbin/r1soft/.recovery-mode
as shown:
!recovery-mode.png!

4. And last, save the {color:blue}/etc/init.d/buagent{color} file, and restart the agent service.
{code}
/etc/init.d/cdp-agent start
{code}
or
{code}
service cdp-agent start
{code}
This will successfully place the Linux R1Soft Agent into recovery mode.

See more information in [Linux Agent CLI].
{excerpt:hidden=true}Instructions on how to put a CDP Agent into recovery mode.{excerpt}