From: Khaled <kh...@ip...> - 2005-10-04 09:50:54
|
Hello list, I have been attempting to backup XP C$ with the following command: /usr/bin/smbclient \\\\mypc\\C\$ -I 192.168.129.200 -U pcbackup -E -N -d 1 -c tarmode\ full -Tc - /Documents\ and\ Settings whilst ssh'd to the backup server, but it does not work, despite: 1. there being a share username and password added to the .../mypc/config.pl file 2. the user 'pcbackup' being a local administrator on mypc with the same password as specified in the .../mypc/config.pl 3. the user 'pcbackup' being a domain user It only works when I include the %password into the command line like so: /usr/bin/smbclient \\\\khaledpc\\C\$ -I 192.168.129.200 -U pcbackup%password -E -N -d 1 -c tarmode\ full -Tc - /Documents\ and\ Settings Can anyone explain this? Where am I going wrong? The following is the variable I am using on the .../conf/config.pl file: $Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName' . ' $I_option -U $userName -E -N -d 1' . ' -c tarmode\\ full -Tc$X_option - $fileList'; the error I get with the above is: Domain=[OFFICE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] tree connect failed: NT_STATUS_ACCESS_DENIED Domain=[OFFICE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] tree connect failed: NT_STATUS_ACCESS_DENIED tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal Got fatal error during xfer (No files dumped for share C$) Backup aborted (No files dumped for share C$) Finally, when I manually backup (whilst ssh'd to the server) why doen't the cgi interface pickup on this? i.e. it still says that mypc has never been backed up. ANY help is appreciated. Kind Regards Khaled |