{% raw %}

Considerations

  • Have licensed the Veeam module
  • Have configured the Veeam module endpoint
  • Have configured your Veeam backup jobs
  • Understand how the Template engine works

 

Scenario

Scenario 1

You want to allow users who deploy virtual machines to select the backup type they need.  You want to populate a drop down list dynamically of all backup jobs that are available in Veeam

 

Scenario 2

You want to allow users who deploy virtual machines to select the backup type they need.  You want to provide a static list of backup jobs to the user that consists of Gold, Silver and Bronze. These relate to different backup schedules and retention policies

 

Procedure

Scenario 1
Configuring your Backup Profile that links to a pre created property definition
  1. From vRA click on Catalog and search for Veeam.  Click on Request on Add Veeam Backup Profile – Sovlbas Modules
  2. In the Configuration Label, enter a meaningful name and from Veeam BEM Endpoint, select your endpoint
  3. Uncheck Get Backup Jobs from list
  4. In the Backup Jobs, leave the template code (This is the dynamic property that gets all backup jobs and is automatically generated with the Veeam Module)
  5. Click on Submit

 

Adding Veeam backup profile with dynamic selection to your blueprint
  1. In your blueprint, click on Properties then Property Groups then click on Add
  2. From the list, locate your Veeam backup profile you created, place a check next to this and click OK
  3.  Under Properties click on Custom properties and click on New
  4. Under Name in the drop down, find the property definition that was defined automatically in the backup profile (SovLabs_VeeamSelectBackupJob)
  5.  Leave the Value field blank and place a check in Show in Request then click OK
  6. Click on Finish to save changes
  7. If you deploy your machine from this blueprint, you will see a heading of Veeam Backup Job and a big drop down, this is a list of All the Veeam backup jobs available.

 

Scenario 2

Creating a property definition with static list of jobs
  1. From within vRA click on Administration → Property Definitions → New
  2. Enter a Name for your Property Definition and a Label you want to see in your blueprint
  3. Visibility can be left as default if you only want your tenant to see this and you can opt to enter a description if you like
  4. From Data Type, select String from the Drop Down
  5. In required, you can enforce a selection, or, Make it so they don’t have to select a job. I will leave it as default
  6. In Display As, select Dropdown from the dropdown
  7. In the static list, click New and enter A name for the first backup, in this example, Gold with a value of the Gold backup name DemoLinuxGold then click OK
  8. Repeat for all the backup jobs you want to be able to select
  9. Click on OK

 

Creating a backup profile with reference to your property definition
  1. From vRA click on Catalog and search for Veeam.  Click on Request on Add Veeam Backup Profile – Sovlbas Modules
  2. In the Configuration Label, enter a meaningful name and from the Veeam BEM Endpoint, select your endpoint from the drop down
  3. Remove the check in the Get Backup Jobs from List
  4. In the Backup Jobs, You will reference the property definition you created surround by squiggly brackets and then click the green plus .
  5. Click on Submit

 

Add the backup profile to your blueprint
  1. In your blueprint click on Properties → Property Groups and click on Add
  2. From the list, locate the backup profile you created and place a check next to it, click on OK
  3. Click on Custom properties and click on New
  4. Under name, select your backup property definition you created before from the drop down list
  5. In the value, leave this blank and place a check in Show in Request then click OK
  6. Click on Finish
  7. When you deploy your VM you will see the drop down
  8. If you select bronze, in vROPS under Veeam you will see in the payload has the job you selected
  9. If you selected Silver, in vROPS under Veeam you will see in the payload has the job you selected 

 

Additional information

Add Veeam endpoint: https://docs.sovlabs.com/latest/vRA/7.6/modules/backup-as-a-service/veeam/setup/#add-veeam-bem-endpoint

How to create a backup profile: https://docs.sovlabs.com/latest/vRA/7.6/modules/backup-as-a-service/veeam/setup/#add-veeam-backup-profile

Adding Veeam backups to blueprints: https://docs.sovlabs.com/latest/vRA/7.6/modules/backup-as-a-service/veeam/usage/

Template engine information: https://docs.sovlabs.com/latest/vRA/7.6/framework/sovlabs-template-engine/basics/intro/

{% endraw %}

Recommended Reading