Amanda-Users

amrecover to a smb share

2005-06-09 10:51:53
Subject: amrecover to a smb share
From: uwe.kaufmann AT infoconsult DOT nu
To: amanda-users AT amanda DOT org
Date: Thu, 9 Jun 2005 16:37:48 +0200
Dear All,

Today I did a successful backup of a win2k client via
samba3-client-3.0.14a-20. I think it was successful even having the
"STRANGE" dump details shown below.

But I am _not_ successful in restoring a file via smb (restoring via tar
works fine).

Here are my commands:
# amrecover daily 
> sethost nike
> setdisk //balu/eeig
> setmode smb
> add Perso*
> extract

and the error message:

Restoring files into directory /root
(unless it is a Samba backup, that will go through to the SMB server)
Continue [?/Y/n]? y

Extracting files using tape drive /dev/nst0 on host localhost.
Load tape daily03 now
Continue [?/Y/n/s/t]? y

.\Perso_Uwe.jpg: Not enough '\' characters in service
Usage: [-?] [-?EgV] [-?EgV] [-?EgVNkP] [-?|--help] [--usage]
[-R|--name-resolve NAME-RESOLVE-ORDER]
        [-M|--message HOST] [-I|--ip-address IP] [-E|--stderr] [-L|--list
HOST]
        [-t|--terminal CODE] [-m|--max-protocol LEVEL] [-T|--tar
<c|x>IXFqgbNan]
        [-D|--directory DIR] [-c|--command STRING] [-b|--send-buffer BYTES]
        [-p|--port PORT] [-g|--grepable] [-d|--debuglevel DEBUGLEVEL]
        [-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE]
        [-V|--version] [-O|--socket-options SOCKETOPTIONS]
        [-n|--netbiosname NETBIOSNAME] [-W|--workgroup WORKGROUP]
        [-i|--scope SCOPE] [-U|--user USERNAME] [-N|--no-pass]
[-k|--kerberos]
        [-A|--authentication-file FILE] [-S|--signing on|off|required]
        [-P|--machine-pass] service <password>
extract_list - child returned non-zero status: 1




The backup report as mentioned above:

FAILED AND STRANGE DUMP DETAILS:

/-- nike       //balu/eeig lev 0 STRANGE
sendbackup: start [nike://balu/eeig level 0]
sendbackup: info BACKUP=/usr/bin/smbclient
sendbackup: info RECOVER_CMD=/usr/bin/smbclient -f... -
sendbackup: info end
? Domain=[INFOCONSULT] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
| tar: dumped 36 files and directories
| Total bytes written: 24595968
sendbackup: size 24020
sendbackup: end
\--------


The Windows share allows the user in /etc/amandapass full read/write access.
Archive Bits have been deleted correctly in the share.

What is wrong in my config?
Best regards
Uwe


____________
Virus checked by G DATA AntiVirusKit
Virus news: www.antiviruslab.com

<Prev in Thread] Current Thread [Next in Thread>