SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Dump failed (continued)
Author Message
Post Dump failed (continued) 
I forgeted to give our setup: Debian-Linux unstable 2.4.25.

I have installed BackupPC with CGI and it seems work find I have my hosts
listed well.

But when I try to make the first full backup of an host in smb mode by ha=
nd or
with the CGI interface I got :

NetBiosInfoGet: success, returning host ptb_sam, user standard
Running: /usr/bin/smbclient \\\\ptb_sam\\Documents -I 172.16.0.182 -U Sam=
\
Przyswa -E -N -d 1 -c tarmode\ full -Tc -
started full dump, share=3DDocuments
Xfer PIDs are now 26219,26218
xferPids 26219,26218
cmdExecOrEval: about to exec /usr/bin/smbclient \\\\ptb_sam\\Documents -I
172.16.0.182 -U Sam\ Przyswa -E -N -d 1 -c tarmode\ full -Tc -
Domain=3D[PTB_SAM] OS=3D[Windows 5.1] Server=3D[Windows 5.1]
tarmode is now full, system, hidden, noreset, verbose
directory \Ma musique\

[...]

tar: dumped 193 files and directories
Total bytes written: 191969280
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 1=
90
filesTotal, 191899260 sizeTotal
cmdSystemOrEval: about to system /bin/ping -c 1 172.16.0.182
cmdSystemOrEval: finished: got output PING 172.16.0.182 (172.16.0.182): 5=
6
data bytes
64 bytes from 172.16.0.182: icmp_seq=3D0 ttl=3D128 time=3D0.3 ms

and...

CheckHostAlive: returning 0.2
dump failed: No files dumped for share Documents

What's wrong ?

Thanks in advance for your help.

Sam.

--
Sam Przyswa - Chef de projet
Arial Concept - Int=E9grateur Internet
36, rue de Turin - 75008 - Paris - France
Tel: 01 40 54 86 04 - Fax: 01 40 54 83 01
Web: http://www.arial-concept.com - Email: Info < at > arial-concept.com




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Dump failed (continued) 
"Sam Przyswa" writes:

Running: /usr/bin/smbclient \\\\ptb_sam\\Documents -I 172.16.0.182 -U Sam=
\
Przyswa -E -N -d 1 -c tarmode\ full -Tc -
started full dump, share=3DDocuments
Xfer PIDs are now 26219,26218
xferPids 26219,26218
cmdExecOrEval: about to exec /usr/bin/smbclient \\\\ptb_sam\\Documents -I
172.16.0.182 -U Sam\ Przyswa -E -N -d 1 -c tarmode\ full -Tc -
Domain=3D[PTB_SAM] OS=3D[Windows 5.1] Server=3D[Windows 5.1]
tarmode is now full, system, hidden, noreset, verbose
directory \Ma musique\

[...]

tar: dumped 193 files and directories
Total bytes written: 191969280
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 1=
90
filesTotal, 191899260 sizeTotal
cmdSystemOrEval: about to system /bin/ping -c 1 172.16.0.182
cmdSystemOrEval: finished: got output PING 172.16.0.182 (172.16.0.182): 5=
6
data bytes
64 bytes from 172.16.0.182: icmp_seq=3D0 ttl=3D128 time=3D0.3 ms

and...

CheckHostAlive: returning 0.2
dump failed: No files dumped for share Documents

I suspect your smbclient is using a comma instead of decimal point
for the reported transfer rate (kbps) per file, eg:

5039 ( 2460,4 kb/s) \internet\index.html
4243 ( 517,9 kb/s) \internet\backblue.gif

The problem is that BackupPC is looking for a decimal point in the
xfer rate, not a comma. This is an internationalization problem.
It's fixed in BackupPC-2.1.0beta0. Here's the fix for 2.0.2 from
Frank Gard:

line 244 of Smb.pm (BackupPC version 2.0.2):
if ( /^\s*(-?\d+) \(\s*\d+\.\d kb\/s\) (.*)$/ ) {

Change the "\." to "[.,]":

if ( /^\s*(-?\d+) \(\s*\d+[.,]\d kb\/s\) (.*)$/ ) {
^^^^
Craig


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB