Skip to end of metadata
Go to start of metadata

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

To install Hot Copy, perform the following steps:

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

The Hot Copy install .zip file can be accessed using the following link: http://repo.r1soft.com/trials/R1soft-hotcopy.zip 

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.

You must be the root user to install and use Hot Copy.

RPM Install

Install the .rpm Hot Copy package for 32-Bit Linux:

# rpm -i latest-hotcopy-x32.rpm

Install the .rpm Hot Copy package for 64-Bit Linux:

# rpm -i latest-hotcopy-x64.rpm

APT (.deb) Package Install

Install the .deb Hot Copy package for 32-Bit Linux:

# dpkg -i latest-hotcopy-x32.deb

Install the .deb Hot Copy package for 64-Bit Linux:

# dpkg -i latest-hotcopy-x64.deb

APT Repository Installation

To install Hot Copy with apt, first modify your /etc/apt/sources.list to include the R1Soft repository, and download the R1Soft apt gpg key.

# echo deb APT_REPO_URL_PROVIDED_IN_REGISTRATION_EMAIL beta main >> /etc/apt/sources.list # wget APT_RSA_KEY_URL_PROVIDED_IN_REGISTRATION_EMAIL # apt-key add r1soft.asc # apt-get update # apt-get install r1soft-hotcopy

Yum Repository Installation

To install Hot Copy with yum, create a yum repo file with the R1Soft repository information inside of it.

First, create the repo file in your yum.repos.d directory. This is usually found in /etc/yum/yum.repos.d.

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 or # nano r1soft.repo

Insert the following text into the file:

                [r1soft]
                name=R1Soft Repository Server
                baseurl=YUM_REPO_URL_PROVIDED_IN_REGISTRATION_EMAIL
                enabled=1   
                gpgcheck=0

# yum install r1soft-hotcopy

.tar package

To install the .tar Hot Copy package at the shell prompt, enter the following: 

tar -xvf r1soft-hotcopy.tar --directory /

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. 

You need to have loadable modules enabled as a feature in your kernel. This is standard on all popular Linux distributions.

Install Hot Copy Kernel Module from Kernel Source or Devel Headers

You will need to install the Hot Copy device driver using your kernel source code or kernel headers using the hcp-setup command line utility.  See hcp-setup for more information.

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

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.

# rmmod backupdriver

For more information, see Hot Copy and CDP 2.0 Linux Agent

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.

Feedback
Share ways to use Hot Copy, tell us how you incorporate Hot Copy into a script, or report bugs on the R1Soft Forum at http://forum.r1soft.com.

See Also

hcp-setup, hcp, hcp-device

Labels:
hcp hcp Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.