gm-restore_data: 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/gm-restore_data - from package: gnumed-server

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