Information about ArGest® BRU Server™’s PRE and POST Job Scripts

Executing Tasks Before or After an ArGest® BRU Server™ Job Run



If you have a task that should be performed before or after the BRU Server™ job is executed, there is a mechanism provided for both agents and the server.  Such tasks include stopping and restarting a mail server, exporting a database to a flat file, warning users that a backup is about to occur, and many more.  The files may be created using any programming of scripting language supported by your system including shell, python, perl, Applescript, or even compiled C/C++.  The only requirement is that the resulting file be executable and return a zero for success or non-zero for any error condition.



On your client systems, add executable files named pre and post to the agent installation folder –
“/usr/local/bru-server” on all macOS and Unix variants, and as pre.bat or pre.cmd, and post.bat or post.cmd in
“C:\Program Files (x86)\BRU Server Agent Configuration\” on Windows systems.



Additionally, there is a master pre and post capability on the server system.  The file should be placed into the server application directory - “/usr/local/bru-server/” - and be named backup.pre and  The server sequences will be executed before any client backup operation is begun and after ALL client backup operations have completed.  The same rules apply for creating the server-specific jobs as for the client system pre and post sequences.


Any guidance or direction TOLIS Group provides to you will only be based on the information provided by you to us as our customer. Many factors in your environment are unknown to TOLIS Group and can affect advice, problems, outcomes, or recommended solutions. TOLIS Group cannot and will not accept any culpability or responsibility due to potential omissions. Also, be advised that technology changes. As a result of these changes in technology, products you are using might be affected both directly and indirectly. TOLIS Group cannot and will not be responsible or liable for any consequences that can occur due to any change in technology, or in conjunction with the use of information provided by TOLIS Group under these circumstances. Proceeding with communications, orders, and interactions between yourself and TOLIS Group is indication that you understand and agree with this statement.   For complete warranty, legal, and return policy notices, please visit


Copyright 2001-2020.  All trademarks, tradenames, service marks, and registered marks are the property of their respective owners.