dms_restoredb: 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_restoredb - from package: dms-core

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