Specifications
1.
2.
3.
1.
2.
3.
1.
2.
3.
This releases all open sessions and closes most open files. See if youHow to Create a Pre- or Post-Agent Backup Command Batch File or Script
wish to create a pre-backup command batch file.
How to Create a Pre- or Post-Agent Backup Command Batch File or Script
This article refers to firmware 5.3 and higher. This articles applies to the Barracuda Backup Agent (Windows) and BarracudaBackup
Agent (Linux) .
In this article:
Barracuda Backup Agent Running on a Microsoft Windows System
Stop a Process
Start a Process
Barracuda Linux Backup Agent Running on a Linux/Unix-Based System
Related Articles
Understanding IBM Domino Server
Backup
How to Restore from Local and
Offsite Backups
Barracuda Backup Agent
Barracuda Backup Agent Running on a Microsoft Windows System
You can run a pre- or post-Agent backup command batch file by editing the file. bbconfig.ini This enables you to stop and start certain
processes on the host computer where the Barracuda Backup Agent (Windows) is installed. This can allow you to stop conflicting processes
during the time that the Agent is backing up files.
Stop a Process
To automatically stop a specific process before starting the backup job, you can specify the batch file to stop the service.
Navigate to the file on the server in the following location:bbconfig.ini
C:\Program Files\Barracuda\Barracuda Backup Agent\config\
Open the file in a text editor, and in the bbconfig.ini [ configuration ] section, add two lines like:
# the batch file to stop the process
preExecuteScript=c:\stop.bat
Save and close the file.
Start a Process
To automatically start a specific process after completing the backup job, you can specify the batch file to start the service.
Navigate to the file on the server in the following location:bbconfig.ini
C:\Program Files\Barracuda\Barracuda Backup Agent\config\
Open the file in a text editor, and in the bbconfig.ini [ configuration ] section, add two lines like:
# the batch file to start the process
postExecuteScript=c:\start.bat
Save and close the file.
Barracuda Linux Backup Agent Running on a Linux/Unix-Based System
You can run a pre- and post-Agent backup command script by editing the Linux file to run pre- or post-commands to stopbbconfig.ini and
start certain processes on the Linux/Unix-based system where the Barracuda Backup Agent (Linux) is installed, For example, script.sh:
Navigate to the file on the system where the Barracuda Linux Backup Agent is installed.bbconfig.ini
Open the bbconfig.ini file in a text editor, and below the [ configuration ] section, enter:
preExecuteScript=/root/script.sh
postExecuteScript=/root/script.sh
Save and close the file.
How to Configure GroupWise Message-Level Backups
If the pre-backup batch commands fail, the backup may not run.