smbtar/smbclient and backups of NT

Vanja Hrustic vanja at siamrelay.com
Mon Jul 5 15:13:26 GMT 1999


I've looked at samba archives (mailing lists), I've looked at altavista,
and deja.com. No help.

I want to do a backup of NT machine using smbclient. I call it like:

# smbclient //MACHINE/Share Pass -U Administrator -E -c tarmode full -D usr
-d0 -Tc test.tar

It starts fine, but after some time thing like this happen:

...
Error reading file \usr\mail\Vanja\Attach\att11.eml. Got 0 bytes
Didn't get entire file. size=2210, nread=0
      2210 (   69.6 kb/s) \usr\mail\Vanja\Attach\att11.eml
      2732 (   70.2 kb/s) \usr\mail\Vanja\Attach\att12.eml
Error reading file \usr\mail\Vanja\Attach\att13.eml. Got 0 bytes
Didn't get entire file. size=2305, nread=0
      2305 (   57.7 kb/s) \usr\mail\Vanja\Attach\att13.eml
...

And it goes on and on. On 350Mb of data, I get around 250 errors. Not to
mention that 100 of those 250 are *critical* (for me) files :)

I tried to modify the blocksize (using -Tcb <value> <filename>) but the
only difference is that errors start happening earler or later. And always
at same place, when using same blocksize.

Does anybody know what could be the problem?

Thanks in advance.

Regards,

Vanja Hrustic

--

Siam Relay Ltd.
http://www.siamrelay.com
http://safer.siamrelay.com
Information Security Services


More information about the samba mailing list