- Veeam Support Knowledge Base
- How to Create a Custom SureBackup Test Script
How to Create a Custom SureBackup Test Script
| KB ID: | 1312 |
| Product: | Veeam Backup & Replication | 9.5 | 10 | 11 | 12 | 12.1 | 12.2 | 12.3 | 12.3.1 | 12.3.2 | 13 | 13.1 |
| Published: | 2011-10-24 |
| Last Modified: | 2022-03-09 |
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Oops! Something went wrong.
Please, try again later.
Purpose
Solution
Information regarding custom SureBackup roles can be found here:
https://helpcenter.veeam.com/docs/backup/vsphere/creating_xml_files.html
Information regarding custom Test Scripts can be found here:
https://helpcenter.veeam.com/docs/backup/vsphere/surebackup_job_tests_vm.html#test-script-settings
There are two locations where a test script can be defined:
- In the Linked Jobs section of the SureBackup Job
https://helpcenter.veeam.com/docs/backup/vsphere/surebackup_job_tests_vm.html - In the Application Group settings:
https://helpcenter.veeam.com/docs/backup/vsphere/appgroup_tests_vm.html#test-script-settings
Example of Testing Port 22
The following is a quick guide on creating a simple port test using the Veeam.Backup.ConnectionTester.exe included with Veeam Backup & Replication. In the example below, a test will be created to determine if port 22 is listening on VM that is being verified with SureBackup.
- On the Test Scripts tab, click [Add...]
- In the Test Scripts window, enter a name for the Test Script, then click [Browse...]
- Using the Select Script File window expand folders and locate the Veeam.Backup.ConnectionTester.exe.
By default, this executable will be located in:
C:\Program Files\Veeam\Backup and Replication\Backup\
- In the Arguments field, the variable %vm_ip% is used to represent the IP address of the VM that is being tested.
The Veeam.Backup.ConnectionTester.exe is expecting the IP address of the target machine followed by the port number to test. So, for the argument field, %vm_ip% 22 will be entered.
- Click [OK] to complete and add the test script to the Verification Options.
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.