datto / dattobd

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

We need install 0.11.7 version #388

Closed santhocoren closed 1 month ago

santhocoren commented 2 months ago

We need to install 0.11.7 version

We need to install 0.11.7 version on my server.. please provide the command or steps to install previous version the dattobd.

iamandrii commented 2 months ago

Hello, @sancorent. I am sorry for the situation happening.

Right now, I can offer you to install a hot fix on your own as it'd faster and safer than prepare a rollback.

At first, please disable DLAD, if you are using one (sudo systemctl disable dlad), or any other dattobd-depending service if you have.

After that, please run the following commands

sudo modprobe -r dattobd
cd /usr/src/dattobd-0.11.8
curl -sS https://raw.githubusercontent.com/iamandrii/dattobd/e731c6f8831d424e2a81273df7751b9c646080c3/src/tracer.c | sudo tee tracer.c
sudo dkms remove dattobd/0.11.8
sudo dkms install dattobd/0.11.8
sudo modprobe dattobd

After that, you can gracefully restart your dattobd-depending services, for DLAD it'd be sudo systemctl start dlad.

This sequence of commands will apply a hot fix prepared by me before it'd be fully rolled-out.

Sorry again for any inconveniences.

santhocoren commented 1 month ago

@iamandrii Thanks for your immediate support and sharing the hotfix rollback steps. We are already checked. Its working as expected. will reach you if facing any other issues. Once again, thanks