View Source

Hot Copy is comprised of the hcp command line utility and the R1Soft Hot Copy snapshot device driver. Refer to the [System Requirements|LTR1D:System Requirements - Hot Copy] before proceeding with the installation.

To install Hot Copy, perform the following steps:

h2. 1. Download the appropriate Hot Copy installer for your Linux distribution.

The Hot Copy install .zip file can be accessed using the following link: [|] 

h2. 2. Install Hot Copy using one of five available installation packages. 

When installing the hcp command line utility binary, R1Soft provides apt, yum, tar, .deb, and .rpm installation methods for both 32-bit (i386) and 64-bit (AMD64) architectures.
{note}You must be the root user to install and use Hot Copy.

h4. RPM Install

{color:#333333}{_}Install the .rpm Hot Copy package for 32-Bit Linux:_{color}
# rpm -i latest-hotcopy-x32.rpm
_Install the .rpm Hot Copy package for 64-Bit Linux:_
# rpm -i latest-hotcopy-x64.rpm

h4. APT (.deb) Package Install

{color:#333333}{_}Install the .deb Hot Copy package for 32-Bit Linux:_{color}
# dpkg -i latest-hotcopy-x32.deb
_Install the .deb Hot Copy package for 64-Bit Linux:_
# dpkg -i latest-hotcopy-x64.deb

h4. APT Repository Installation

{color:#333333}To install Hot Copy with apt, first modify your{color} {color:#0000ff}/etc/apt/sources.list{color} {color:#333333}to include the R1Soft repository, and download the R1Soft apt gpg key.{color}
# echo deb APT_REPO_URL_PROVIDED_IN_REGISTRATION_EMAIL beta main >> /etc/apt/sources.list
# apt-key add r1soft.asc
# apt-get update
# apt-get install r1soft-hotcopy

h4. Yum Repository Installation

{color:#333333}To install Hot Copy with yum, create a yum repo file with the R1Soft repository information inside of it.{color}

First, create the repo file in your {color:#0000ff}yum.repos.d{color} directory. This is usually found in {color:#0000ff}/etc/yum/yum.repos.d{color}.

Create a file called r1soft.repo:
# cd /etc/yum/yum.repos.d
# touch r1soft.repo
Open the file with a text editor like vi or nano:
# vi r1soft.repo
# nano r1soft.repo
Insert the following text into the file:

*                *\[r1soft\]
                name=R1Soft Repository Server
# yum install r1soft-hotcopy

h4. .tar package

{color:#333333}To install the .tar Hot Copy package at the shell prompt, enter the following: {color}
tar -xvf r1soft-hotcopy.tar --directory /

h2. 3. Install the Hot Copy Linux device driver from the pre-built binary package, or build the device driver from source if required.

The Hot Copy device driver is provided as a loadable Linux kernel module.  You do NOT need to re-compile your Linux kernel. 
{note}You need to have loadable modules enabled as a feature in your kernel. This is standard on all popular Linux distributions.

h4. Install Hot Copy Kernel Module from Kernel Source or Devel Headers

{color:#333333}You will need to install the Hot Copy device driver using your kernel source code or kernel headers using the {color}[hcp-setup command line utility|LTR1D:hcp-setup]{color:#333333}.  See {color}[hcp-setup|LTR1D:hcp-setup]{color:#333333} for more information.{color}

h4. Special Steps If You Are Using 2.0 Continuous Data Protection Linux Agent

{color:#333333}If you are using the CDP 2.0 Linux Agent on this computer, first unload the CDP device drive.  This will fail if you have a running backup task on this Agent.{color}
# rmmod backupdriver
For more information, see [LTR1D:Hot Copy and CDP 2.0 Linux Agent]

h2. 4. Enjoy Hot Copy\!

You can now use Hot Copy with the following "hcp" command:
# hcp /dev/DEVICE
For information about using the Hot Copy command line utility (hcp), [click here|LTR1D:hcp].

Share ways to use Hot Copy, tell us how you incorporate Hot Copy into a script, or report bugs on the R1Soft Forum at [].{info}

h2. See Also

[hcp-setup||hcp-setup], [hcp|LTR1D:hcp], [hcp-device|LTR1D:hcp-device]