datto / dattobd

kernel module for taking block-level snapshots and incremental backups of Linux block devices
GNU General Public License v2.0
561 stars 120 forks source link

Is dattobd supported in oracle Linux? #321

Open coolvm opened 11 months ago

coolvm commented 11 months ago

Hi, I would like to know is it possible to Install dattobd in oracle linux.. If possible please share the steps to install.

Swistusmen commented 11 months ago

Hi, Officially we don't support this distro so there are no packages dedicated for this distriubution inour repositories. I haven't tested in on this distro, but I think @dakotarwilliams used to work on it (not sure). If you want to install it there you have 2 options:

  1. Try to install packages for RHEL (not recommended)
  2. Install from scratch (you can find out how to do it in Install.md)
fdefilippo commented 9 months ago

yes:

$ cat /etc/oracle-release
Oracle Linux Server release 8.8
$ uname -r
5.15.0-105.125.6.2.1.el8uek.x86_64
$ dnf install kernel-uek-devel perl dkms 
$ wget https://github.com/datto/dattobd/archive/refs/tags/v0.11.3.tar.gz
$ tar xf v0.11.3.tar.gz
$ cd dattobd-0.11.3
$ scl run gcc-toolset-11 bash
$ make rpm
$ sudo rpm -i ./pkgbuild/RPMS/noarch/dkms-dattobd-0.11.3-1.el8.noarch.rpm ./pkgbuild/RPMS/x86_64/dattobd-utils-0.11.3-1.el8.x86_64.rpm ./pkgbuild/RPMS/x86_64/libdattobd-0.11.3-1.el8.x86_64.rpm
$ dkms autoinstall --kernelsourcedir /usr/src/kernels/5.15.0-105.125.6.2.1.el8uek.x86_64/
$ reboot
$ modinfo dattobd
filename:       /lib/modules/5.15.0-105.125.6.2.1.el8uek.x86_64/extra/dattobd.ko.xz
version:        0.11.3
description:    Kernel module for supporting block device snapshots and incremental backups.
author:         Tom Caputi
license:        GPL
srcversion:     D9EA5E08A667E703E6F9B14
depends:
retpoline:      Y
name:           dattobd
vermagic:       5.15.0-105.125.6.2.1.el8uek.x86_64 SMP mod_unload modversions