1-800-691-1991 | 9am - 8pm ET
EN

How to Create a Custom SureBackup Test Script

KB ID: 1312
Product: Veeam Backup & Replication 11, Veeam Backup & Replication 10, Veeam Backup & Replication 9.5
Published: 2011-10-24
Last Modified: 2021-05-28

Purpose

This article provides information about creating custom SureBackup roles and scripts which can be used to enhance SureBackup testing.

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:


 

Example

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.

  1. On the Test Scripts tab, click [Add...]
Add test script button screenshot
  1. In the Test Scripts window, enter a name for the Test Script, then click [Browse...]
Test Scripts window name field and browse button
  1. 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\
Select a file window with Veeam.Backup.ConnectionTester.exe selected
  1. 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.
Arguments field on test scripts tab
  1. Click [OK] to complete and add the test script to the Verification Options.
KB ID: 1312
Product: Veeam Backup & Replication 11, Veeam Backup & Replication 10, Veeam Backup & Replication 9.5
Published: 2011-10-24
Last Modified: 2021-05-28

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please try again later.