dms_pg_basebackup: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/sbin/dms_pg_basebackup - from package: dms-core

You may install the required package with command apt-get install {package}
Error in other languages:
dms_pg_basebackup: bevel nie gevind nie
dms_pg_basebackup: comandă negăsită
dms_pg_basebackup: comando não encontrado
dms_pg_basebackup: commande introuvable
dms_pg_basebackup: command not found
dms_pg_basebackup: käsku ei ole
dms_pg_basebackup: không tìm thấy lệnh
dms_pg_basebackup: komanda nerasta
dms_pg_basebackup: Kommando nicht gefunden.
dms_pg_basebackup: kommandot finns inte
dms_pg_basebackup: komut yok
dms_pg_basebackup: nie znaleziono polecenia
dms_pg_basebackup: níor aimsíodh an t-ordú
dms_pg_basebackup: no se encontró la orden
dms_pg_basebackup: no s'ha trobat l'ordre
dms_pg_basebackup: opdracht niet gevonden
dms_pg_basebackup: parancs nem található
dms_pg_basebackup: perintah tidak ditemukan
dms_pg_basebackup: príkaz nenájdený
dms_pg_basebackup: příkaz nenalezen
dms_pg_basebackup: команда не найдена
dms_pg_basebackup: командата не е открита
dms_pg_basebackup: 命令找不到
dms_pg_basebackup: コマンドが見つかりません