barman-cloud-backup-list command not found

In this troubleshooting guide we learn how to fix barman-cloud-backup-list command not found error message

Introduction

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

barman-cloud-backup-list: command not found

or when using sudo you get the following error message

sudo: barman-cloud-backup-list: command not found

Solutions to barman-cloud-backup-list: command not found

How To Fix barman-cloud-backup-list: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu barman-cloud-backup-list is provided by barman-cli-cloud package.

barman-cli-cloud is:

Barman (Backup and Recovery Manager) is an open-source administration tool for disaster recovery of PostgreSQL servers written in Python.

It allows your organization to perform remote backups of multiple servers in business critical environments to reduce risk and help DBAs during the recovery phase.

The barman-cli-cloud package contains cloud client utilities for the integration of Barman in PostgreSQL clusters.

Barman is distributed under GNU GPL 3 and maintained by 2ndQuadrant.

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

sudo apt-get -y install barman-cli-cloud

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

You can also use apt command to install barman-cli-cloud.

sudo apt -y install barman-cli-cloud

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

sudo aptitude install barman-cli-cloud

Summary

In this tutorial we learn how to fix barman-cloud-backup-list command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.