rsbackup-snapshot-hook command not found

In this troubleshooting guide we learn how to fix rsbackup-snapshot-hook command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rsbackup-snapshot-hook: command not found

or when using sudo you get the following error message

sudo: rsbackup-snapshot-hook: command not found

Solutions to rsbackup-snapshot-hook: command not found

How To Fix rsbackup-snapshot-hook: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rsbackup-snapshot-hook is provided by rsbackup package.

rsbackup is:

Backups are stored as complete filesystem trees on a (perhaps external) hard disk. Multiple backups use hard links between identical files to save space.

Backups may be taken from multiple machines (over SSH) and stored to multiple disks.

Backups may be made automatically, i.e. without relying on the operator to remember to make a backup.

To fix this problem, we can install more using the command below.

sudo apt-get -y install rsbackup

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install rsbackup.

sudo apt -y install rsbackup

Or if you have aptitude installed you can use the following command.

sudo aptitude install rsbackup

Summary

In this tutorial we learn how to fix rsbackup-snapshot-hook command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.