# Installing Hot Copy

# Getting Started

Getting Started. Hot Copy is comprised of the hcp command line utility and the R1Soft Hot Copy snapshot device driver.

1. Install Hot Copy using by using one of the 3 different installation packages: tar, .deb or .rpm
2. Install the Hot Copy Linux device driver from pre-built binary package or build the device driver from source if required.
3. Enjoy Hot Copy e.g. (hcp /dev/DEVICE)

| Check the Linux Hot Copy System Requirements before proceeding with installation: http://www.r1soft.com/products/linux-hot-copy/system-requirements/

# 1. 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

### .tar package

To install the .tar Hot Copy package at the shell prompt type:

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

# 2. Install Hot Copy Device Driver

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 and this is standard on all popular Linux distributions

### 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

### Choose Device Driver Installation Method

Pre-Built Binary Compatible Hot Copy Kernel Modules

R1Soft provides pre-compiled binary compatible loadable Linux kernel modules for the Hot Copy device driver supporting popular Linux distributions.

These modules are available in RPM and .deb packages and Yum and APT repositories. R1Soft spiders popular Linux distribution download repositories for the latest kernel updates and automatically compiles and tests binary kernel module builds. New packages with the latest kernels are released daily. The download links are available in the Hot Copy registration e-mail.

To check if a binary compatible Hot Copy driver is available check for your system's running kernel's /proc/version (# cat /proc/version) string at http://www.r1soft.com/distros

###

### 32-Bit Kernel Modules RPM: http://repo.r1soft.com/binaries/latest-kernel-modules-x32.rpm

### 64-Bit Kernel Modules RPM: http://repo.r1soft.com/binaries/latest-kernel-modules-x64.rpm

### 32-Bit Kernel Modules DEB: http://repo.r1soft.com/binaries/latest-kernel-modules-x32.deb

### 64-Bit Kernel Modules DEB: http://repo.r1soft.com/binaries/latest-kernel-modules-x64.deb

Install Hot Copy Kernel Module from Kernel Source or Devel Headers

If we don't have a binary compatible module for your kernel version 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.

### Binary Compatible Device Driver: RPM Install

Install the .rpm Kernel Modules package for 32-Bit Linux

    # rpm -i latest-kernel-modules-x32.rpm

Install the .rpm Kernel Modules package for 64-Bit Linux

    # rpm -i latest-kernel-modules-x64.rpm

### Binary Compatible Device Driver: APT (.deb) Package Install

Install the .deb Kernel Modules package for 32-Bit Linux

    # dpkg -i latest-kernel-modules-x32.deb

Install the .deb Kernel Modules package for 64-Bit Linux

    # dpkg -i latest-kernel-modules-x64.deb

#

# 3. Enjoy Hot Copy!

You can then use Hot Copy with the "hcp" command.

    # hcp /dev/DEVICE

- Using the Hot Copy command line utility (hcp)
- Hot Copy Tips!
- Have a Kewl way to use Hot Copy? Incorporating Hot Copy into a script? Share it on the R1Soft Continuous Data Protection, Tools for Windows and Linux Community Forum!

# REPORTING BUGS

Report bugs to http://forum.r1soft.com

# COPYRIGHT

Copyright 2008 BBS Technologies, Inc. R1Soft and Idera are divisions of BBS Technologies.

# SEE ALSO

hcp-setup, hcp, hcp-device