restoreconfig: 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/restoreconfig - from package: 389-ds-base

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