PDA

View Full Version : amrecover error: restore program for /usr/bin/smbclient not available



gregc
May 15th, 2007, 05:49 AM
Hi all!

Two months ago I decided to use Amanda Backup system for backing up and restoring software on Windows workstations.
Almost everything works properly except windows client.
I believe SMB services and domains are set up correctly. I have got an access to shared folders and permission set up for amandabackup and amandaroot users.

When I run amrecover on Windows XP, after type in "extract" I receive a warning and error:

warning: restore program for /usr/bin/smbclient not available.
amrecover couldn't exec: No such file or directory
problem executing restore
Extractor child exited with status 1

If anyone have dealt already with such a situation I am kindly asking for advice. I understand it seeks for smbclient. But everything has been installed according to manuals.

Thanks in advance! :)

Underneath I am pasting a copy of what I received during testing recovery of previous successfully backed up files:


AMRECOVER Version 2.5.1p3. Contacting server on sambadev.mycompany.com ...
220 sambadev AMANDA index server (2.5.2) ready.
Setting restore date to today (2007-05-15)
200 Working date set to 2007-05-15.
200 Config set to DailySet1.
501 Host W072 is not in your disklist.
Trying host W072 ...
501 Host W072 is not in your disklist.
Use the sethost command to choose a host to recover
amrecover> listdisk
501 Must set host before listdisk
amrecover> listhost
200- List hosts for config DailySet1
201- sambadev
201- w072.mycompany.com
200 List hosts for config DailySet1
amrecover> sethost w072.mycompany.com
200 Dump host set to w072.mycompany.com.
amrecover> listdisk
200- List of disk for host w072.mycompany.com
201- /Administrator
200 List of disk for host w072.mycompany.com
amrecover> setdisk /Administrator
200 Disk set to /Administrator.
No index records for disk for specified date
If date correct, notify system administrator
amrecover> sethost sambadev
200 Dump host set to sambadev.
amrecover> listdisk
200- List of disk for host sambadev
201- //w072/Administrator
201- //w072-gregc/Administrator
200 List of disk for host sambadev
amrecover> setdisk //w072/Administrator
200 Disk set to //w072/Administrator.
amrecover> ls
2007-05-11-15-25-56 ntuser.ini
2007-05-11-15-25-56 ntuser.dat.rctemp
2007-05-11-15-25-56 UserData/
2007-05-11-15-25-56 Templates/
2007-05-11-15-25-56 "Start Menu/"
2007-05-11-15-25-56 SendTo/
2007-05-11-15-25-56 Recent/
2007-05-11-15-25-56 PrintHood/
2007-05-11-15-25-56 Not4Backup/
2007-05-11-15-25-56 NetHood/
2007-05-11-15-25-56 NTUSER.DAT.LOG
2007-05-11-15-25-56 NTUSER.DAT
2007-05-11-15-25-56 "My Documents/"
2007-05-11-15-25-56 "Local Settings/"
2007-05-11-15-25-56 Favorites/
2007-05-11-15-25-56 Desktop/
2007-05-11-15-25-56 Cookies/
2007-05-11-15-25-56 "Application Data/"
amrecover> add ntuser.ini
Added file /ntuser.ini
amrecover> extract

Extracting files using tape drive chg-disk on host sambadev.microemissive.com.
The following tapes are needed: DailySet1-06

Restoring files into directory /var/lib/amanda
Continue [?/Y/n]? y

Extracting files using tape drive chg-disk on host sambadev.mycompany.com.
Load tape DailySet1-06 now
Continue [?/Y/n/s/t]? y
Label mismatch, got DailySet1-02 and expected DailySet1-06
Looking for tape DailySet1-06...
warning: restore program for /usr/bin/smbclient not available.
amrecover couldn't exec: No such file or directory
problem executing restore
Extractor child exited with status 1
amrecover>