The main reference manual gives a working example of calling and executing 
bconsole commands from a script (insert your favorite shell here.) 

http://doc.bareos.org/master/html/bareos-manual-main-reference.html#QQ2-1-355

We're not currently in a position to upgrade to 16.x to take advantage of 
client initiated backups and need to work out a solution for a fail-safe if a 
client isn't available.

The current problem is in the recycling of the storage (file based) where the 
associated storage is erased BEFORE the Job attempts to connect to the 
client-fd to run the backup.

In the case where a client is inaccessible, the data on that storage volume is 
lost.

I don't see a mechanism where a RunBeforeJob script can then kill the pending 
Job if the client is inaccessible. Perhaps I'm just missing something here.

For anyone who has encountered this or is familiar with scripting the console, 
your input is much appreciated.

-- 
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