On 31.08.2017 at 13:05 wrote turbo...@gmail.com: > Hi, > > I'm a new Bareos user so I would like to start by thanking you for > the support and help you offer to the community. > > I'm having an issue understanding the behavior of client initiated > connections. I've setup a test environment where I'm trying to backup > laptops. Since I'm dealing with devices that aren't supposed to be > available all the time, I thought it would be a good idea to let the > clients establish the connection to the bareos director. What I don't > understand is that if the laptop isn't available, the backup job will > fail. The way I see it is that it shouldn't mark the job as failed > because the client is explicitly configured as it is the one which > initiate the connection so the bareos director should notice that.
This is exactly the implemented behavior. A job is configured for a specific time, it can not be startet, so the job will be marked as failed. > One more thing, if I get failed jobs messages every time the schedule > runs and the laptops aren't connected, wouldn't it be the same as I > don't use the client initiated connection in the first place? Client Initiated Connections have been added primarily to have a more flexible network setup. With it, you are able to cope with changing client IP adresses. Also some firewall settings prefer this setup. For the behavior you want, a work around is described at "When Client is present, trigger backup" in https://fosdem.org/2017/schedule/event/backup_dr_bareos_scripting/attachments/slides/1445/export/events/attachments/backup_dr_bareos_scripting/slides/1445/Interacting_with_Bareos.pdf about how to trigger backups only when the client is present. regards, Jörg -- Jörg Steffens joerg.steff...@bareos.com Bareos GmbH & Co. KG Phone: +49 221 630693-91 http://www.bareos.com Fax: +49 221 630693-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz -- 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 bareos-users+unsubscr...@googlegroups.com. To post to this group, send email to bareos-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.