Skip to content

Linux shadow copy

How to add shadowcopy to linux.

There’s a software that add shadowcopy to linux; below are instruction for Centos 6

First of all you must download and install the two package below

idera-hotcopy-5-14-4-x86_64

r1soft-setup-5-14-4-x86_64

Than you must install kernel-headers and kernel-devel for your running version.

If you’re running latest version you can use

yum install kenel-header kernel-devel

otherwise you can install directly from vault.centos.org repository as below

rpm -ivh http://vault.centos.org/6.6/updates/x86_64/Packages/kernel-devel-2.6.32-504.1.3.el6.x86_64.rpm
rpm -ivh http://vault.centos.org/6.6/updates/x86_64/Packages/kernel-headers-2.6.32-504.1.3.el6.x86_64.rpm

Now that you have software e kernel-headers you build your specific kernel-module for hcp device.

launch r1soft-setup-old –get-module to build it

now you can try to create shadow copy with

hcp /mnt/snapshot /dev/sda1

this will create a shadowcopy of /dev/sda1 on /mnt/snapshot