How to Run External Utilities Before, During, After Backups
For detailed product information, please visit the BackupChain home page.
You can run external utilities when a backup starts and finishes. You can use this feature to control external resources or run external notification tools.
One application of external utilities is to bring a database offline before the backup and then start it again once the backup has finished.
If you use the “Check exit code” option, BackupChain will terminate the backup and report an error if the utility returns a different exit code than expected.
You can run batch files or PowerShell commands as well by using %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe and it’s switches to run a stored script.
Hints: Use quotes around path names. Use the > operator to send console output to a log file.
Example:
C:\app\Myapplication.exe someparameter >c:\temp\mydir.txt
The above command may produce errors but because the backup runs unattended you won’t see them. The above “>” operator routes all console output to mydir.txt so it can inspected later on if an error occurs.
Backup Software Overview
The Best Backup Software in 2024 Download BackupChain®BackupChain Backup Software is the all-in-one Windows Server backup solution and includes:
Server Backup
Disk Image Backup
Drive Cloning and Disk Copy
VirtualBox Backup
VMware Backup
FTP Backup
Cloud Backup
File Server Backup
Virtual Machine Backup
Server Backup Solution
Hyper-V Backup
Popular
- Best Practices for Server Backups
- NAS Backup: Buffalo, Drobo, Synology
- How to use BackupChain for Cloud and Remote
- DriveMaker: Map FTP, SFTP, S3 Sites to a Drive Letter (Freeware)
Resources
- BackupChain
- VM Backup
- Knowledge Base
- Archive 2021
- Archive 2020
- Archive 2019
- Archive 2017
- Archive 2016
- Archive 2015
- Archive 2014
- Archive 2013
- BackupChain (German)
- German Help Pages
- BackupChain (Greek)
- BackupChain (Spanish)
- BackupChain (French)
- BackupChain (Dutch)
- BackupChain (Italian)
- BackupChain is an all-in-one, reliable backup solution for Windows and Hyper-V that is more affordable than Veeam, Acronis, and Altaro.