Peter Reilly <peter_reilly <at> wycliffe.org> writes:

> 
> Thanks.  I do reference the JobDefs "DefaultNDMPJob" in the Job definition.
> 
> Here is an example:
> 
> Job {
>    Name = NDMP-NFS-boaz3-backup
>    Client = boaz3-ndmp
>    JobDefs = DefaultNDMPJob
>    Schedule = "WeeklyCycle"
>    Write Bootstrap = /var/lib/bareos/boaz3-ndmp.bsr
>    Full Backup Pool = Monthly
>    Incremental Backup Pool = Daily
>    Differential Backup Pool = Weekly
>    Fileset = NDMP-NFS-Fileset
> }
Are you sure you also do that in the NDMP-NFS-boaz4-backup Job ?
As that is what the previous example run was about. I find it strange
that the protocol doesn't get inherited from the JobDef as I cannot
reproduce that on my install.

> 
> The only difference I see in protocol, is that for the client, and the 
> storage, I specified NDMPv4.  (bareos-dir -t -v -c 
> /etc/bareos/bareos-dir.conf fails otherwise).   For the jobdefs, it gave 
> me an error with "Protocol = NDMPv4", so I used "Protocol = NDMP" like 
> the example in the  bareos_ndmp_readme.txt.
> 
> 29-Sep 13:39 bareos-dir: ERROR TERMINATION at dird_conf.c:2007
> Config error: Expected a Protocol Type keyword, got: NDMPv4
>              : line 68, col 19 of file /etc/bareos/bareos-dir.conf
>    Protocol = NDMPv4
> 
Yes that is right backup protocol is native or ndmp the ndmpvX is only
for the client and storage authentication and specifies what version
of NDMP to use for the client or storage.


> I commented the "Protocol = NDMPv4" line entirely, and now have a 
> different error.
> 
No this is normal now it thinks it talking to a native client and
tries to authenticate using the normal authentication protocol
but on the NDMP port that is of course never going to work. I think
we need to concentrate on the Job parsing what does show jobs give
in bconsole ? (Most importantly for the Job you are trying to run.)

-- 
Marco van Wieringen                   [email protected]
Bareos GmbH & Co. KG                  Phone: +49-221-63069389
http://www.bareos.com                     

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
                 P. Storz, M. v. Wieringen


-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to