View Source

When restoring files or database to an alternate Backup Agent, the receiving machine must have a Backup 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 default link to {color:blue}/usr/bin/buagentctl{color}. On a Windows machine, this is accomplished by 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 Backup Agent launches in "Recovery Mode" automatically. See [ServerBackup:Boot a server from a CD].
{info}

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 Backup Agent into recovery mode.

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