{% 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
- From vRA click on Catalog and search for Veeam. Click on Request on Add Veeam Backup Profile – Sovlbas Modules
- In the Configuration Label, enter a meaningful name and from Veeam BEM Endpoint, select your endpoint
- Uncheck Get Backup Jobs from list
- 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)
- Click on Submit
Adding Veeam backup profile with dynamic selection to your blueprint
- In your blueprint, click on Properties then Property Groups then click on Add
- From the list, locate your Veeam backup profile you created, place a check next to this and click OK
- Under Properties click on Custom properties and click on New
- Under Name in the drop down, find the property definition that was defined automatically in the backup profile (SovLabs_VeeamSelectBackupJob)
- Leave the Value field blank and place a check in Show in Request then click OK
- Click on Finish to save changes
- 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
- From within vRA click on Administration → Property Definitions → New
- Enter a Name for your Property Definition and a Label you want to see in your blueprint
- 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
- From Data Type, select String from the Drop Down
- 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
- In Display As, select Dropdown from the dropdown
- 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
- Repeat for all the backup jobs you want to be able to select
- Click on OK
Creating a backup profile with reference to your property definition
- From vRA click on Catalog and search for Veeam. Click on Request on Add Veeam Backup Profile – Sovlbas Modules
- In the Configuration Label, enter a meaningful name and from the Veeam BEM Endpoint, select your endpoint from the drop down
- Remove the check in the Get Backup Jobs from List
- In the Backup Jobs, You will reference the property definition you created surround by squiggly brackets and then click the green plus .
- Click on Submit
Add the backup profile to your blueprint
- In your blueprint click on Properties → Property Groups and click on Add
- From the list, locate the backup profile you created and place a check next to it, click on OK
- Click on Custom properties and click on New
- Under name, select your backup property definition you created before from the drop down list
- In the value, leave this blank and place a check in Show in Request then click OK
- Click on Finish
- When you deploy your VM you will see the drop down
- If you select bronze, in vROPS under Veeam you will see in the payload has the job you selected
- 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 %}