{"id":17560,"date":"2016-07-26T09:00:49","date_gmt":"2016-07-26T07:00:49","guid":{"rendered":"http:\/\/nolabnoparty.com\/?p=17560"},"modified":"2020-03-15T18:09:55","modified_gmt":"2020-03-15T17:09:55","slug":"veeam-9-using-vsphere-tags-backup","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/veeam-9-using-vsphere-tags-backup\/","title":{"rendered":"Veeam 9: using vSphere tags for backup"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-17636 size-full\" title=\"veeamtags01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags01.jpg\" alt=\"veeamtags01\" width=\"602\" height=\"202\" \/><\/p>\n<p>Veeam Backup &amp; Replication 9\u00a0supports and understands vSphere tags allowing the creation of backup jobs by\u00a0selecting the VMs to backup based on tags.<\/p>\n<p>Tags concept has been introduced in <a href=\"https:\/\/nolabnoparty.com\/en\/vsphere-5-5-install-guide-introduction\/\">VMware vSphere 5.5<\/a> and basically it\u00a0is a <strong>label you can assign<\/strong> to any object (VMs, storage and so on...) in the vSphere inventory. You can assign a <strong>tag to a specific category<\/strong> to better identify a VM type or simply the installed OS. Currently <strong>only one tag<\/strong> at time can be processed.<!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>Create Tags in vSphere<\/h2>\n<p>Open vSphere Web Client and select <strong>Tags<\/strong> in the left\u00a0pane. Select <strong>Items<\/strong> tab, click\u00a0<strong>Tags<\/strong>\u00a0then\u00a0click on the <strong>New tag icon<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17638 size-full\" title=\"veeamtags02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags02.jpg\" alt=\"veeamtags02\" width=\"523\" height=\"535\" \/><\/p>\n<p>Enter a <strong>Name<\/strong>, a <strong>Description<\/strong> then select <strong>New Category<\/strong> in the <strong>Category<\/strong> drop-down menu.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17639 size-full\" title=\"veeamtags03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags03.jpg\" alt=\"veeamtags03\" width=\"383\" height=\"171\" \/><\/p>\n<p>Specify a <strong>Category Name<\/strong>, a <strong>Description<\/strong>, select\u00a0<strong>Many tags per object<\/strong>\u00a0as <strong>Cardinality<\/strong> then select <strong>Virtual Machine<\/strong> as <strong>Associable Object Type<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17640 size-full\" title=\"veeamtags04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags04.jpg\" alt=\"veeamtags04\" width=\"423\" height=\"501\" \/><\/p>\n<p>Repeat same steps to create all the tags you need.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17641 size-large\" title=\"veeamtags05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags05-600x507.jpg\" alt=\"veeamtags05\" width=\"600\" height=\"507\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>No Backup tag<\/h4>\n<p>A\u00a0useful tip suggested during Veeam events is the\u00a0use of the <strong>No Backup tag<\/strong>.\u00a0The No Backup Tag can be used\u00a0to specify which VMs are not included in any backup on purpose. In big environments operations are often delegated to different administrators and the use of No Backup tag can help to quickly figure out\u00a0that a specific VM was <strong>intentionally excluded<\/strong> from any backup. VMs members of this group won't be associated to <strong>any backup job<\/strong>.<\/p>\n<p>Select <strong>Categories<\/strong>\u00a0tab to display created Categories.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17642 size-large\" title=\"veeamtags06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags06-600x507.jpg\" alt=\"veeamtags06\" width=\"600\" height=\"507\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Apply Tags to VMs<\/h2>\n<p>To apply tags to VMs, from vSphere Web Client right click the desired VM and select <strong>Tags &amp; Custom Attributes &gt; Assign Tag<\/strong> option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17643 size-large\" title=\"veeamtags07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags07-600x527.jpg\" alt=\"veeamtags07\" width=\"600\" height=\"527\" \/><\/p>\n<p>Select the tag to assign to the VM then\u00a0click <strong>Assign<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17644 size-large\" title=\"veeamtags08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags08-600x472.jpg\" alt=\"veeamtags08\" width=\"600\" height=\"472\" \/><\/p>\n<p>In the\u00a0<strong>Summary<\/strong>\u00a0tab under <strong>Tags<\/strong>\u00a0area the assigned tag is displayed.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17645 size-large\" title=\"veeamtags09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags09-600x532.jpg\" alt=\"veeamtags09\" width=\"600\" height=\"532\" \/><\/p>\n<p>Repeat same procedure to assign tags to <strong>all other virtual machines<\/strong>\u00a0with same RPO request.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17646 size-large\" title=\"veeamtags10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags10-600x540.jpg\" alt=\"veeamtags10\" width=\"600\" height=\"540\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Configure Backup Job using Tags<\/h2>\n<p>Open Veeam console and create a backup job by clicking <strong>Backup Job<\/strong> button in the <strong>Backup &amp; Replication<\/strong> tab.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17647 size-full\" title=\"veeamtags11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags11.jpg\" alt=\"veeamtags11\" width=\"508\" height=\"555\" \/><\/p>\n<p>Specify a <strong>Name<\/strong> for the Backup and click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17648 size-large\" title=\"veeamtags12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags12-600x421.jpg\" alt=\"veeamtags12\" width=\"600\" height=\"421\" \/><\/p>\n<p>Click <strong>Add<\/strong> to add the objects to the backup. Click the <strong>tag icon<\/strong> to display <strong>VMs and Tags<\/strong>,\u00a0select the item you want to include in the job then click <strong>Add<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17649 size-large\" title=\"veeamtags13\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags13-600x421.jpg\" alt=\"veeamtags13\" width=\"600\" height=\"421\" \/><\/p>\n<p>Selected Tag is displayed as group of VMs to backup. VMs are <strong>automatically added<\/strong> to the job when they are assigned a particular tag.\u00a0Click <strong>Next<\/strong> to continue.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17849 size-large\" title=\"veeamtags14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags14-600x421.jpg\" alt=\"veeamtags14\" width=\"600\" height=\"421\" \/><\/p>\n<p>Specify the <strong>Retention policy<\/strong> and click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17651 size-large\" title=\"veeamtags15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags15-600x421.jpg\" alt=\"veeamtags15\" width=\"600\" height=\"421\" \/><\/p>\n<p>Enable the requested processing features like application-aware then click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17652 size-large\" title=\"veeamtags16\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags16-600x421.jpg\" alt=\"veeamtags16\" width=\"600\" height=\"421\" \/><\/p>\n<p>Specify the <strong>Schedule<\/strong> for the backup job and click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17653 size-large\" title=\"veeamtags17\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags17-600x421.jpg\" alt=\"veeamtags17\" width=\"600\" height=\"421\" \/><\/p>\n<p>Click <strong>Finish<\/strong> to save the job configuration.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17853 size-large\" title=\"veeamtags18\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags18-600x421.jpg\" alt=\"veeamtags18\" width=\"600\" height=\"421\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Run the backup<\/h2>\n<p>Configured the backup job with\u00a0the correct tags, right click the <strong>created Backup Job<\/strong> and select <strong>Start<\/strong> to run the backup.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17655 size-full\" title=\"veeamtags19\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags19.jpg\" alt=\"veeamtags19\" width=\"508\" height=\"393\" \/><\/p>\n<p>The backup is being executed.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17656 size-full\" title=\"veeamtags20\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags20.jpg\" alt=\"veeamtags20\" width=\"547\" height=\"138\" \/><\/p>\n<p>The job\u00a0has completed successfully and listed in the <strong>available Backups<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17657 size-full\" title=\"veeamtags21\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags21.jpg\" alt=\"veeamtags21\" width=\"507\" height=\"442\" \/><\/p>\n<p>When a <strong>Full VM Restore<\/strong> is performed, you have the option <strong>Restore VM tags<\/strong>\u00a0to restore tags that were assigned to the VM when backup was taken.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17660 size-large\" title=\"veeamtags22\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamtags22-600x421.jpg\" alt=\"veeamtags22\" width=\"600\" height=\"421\" \/><\/p>\n<p>Tags\u00a0can be used to define a <strong>policy-driven<\/strong> data protection and they are backed up as any other <strong>VM property<\/strong>.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Veeam Backup &amp; Replication 9\u00a0supports and understands vSphere tags allowing the creation of backup jobs by\u00a0selecting the VMs to backup based on tags. Tags concept has been introduced in VMware vSphere 5.5 and basically it\u00a0is a label you can assign to any object (VMs, storage and so on...) in the vSphere inventory. You can assign a tag to a specific category to better identify a VM type or simply the installed OS. Currently only one tag at time can be processed.<\/p>\n","protected":false},"author":3,"featured_media":17636,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[903,2138,933],"tags":[579,582,1708,584],"class_list":["post-17560","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware-en","category-backup-en","category-veeam-en","tag-backup-en","tag-replication-en","tag-tags","tag-veeam-en","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/17560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=17560"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/17560\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/17636"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=17560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=17560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=17560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}