{"id":51087,"date":"2021-10-19T09:00:08","date_gmt":"2021-10-19T07:00:08","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=51087"},"modified":"2022-03-29T17:37:49","modified_gmt":"2022-03-29T15:37:49","slug":"veeam-v11-upgrade-the-hardened-repository","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/veeam-v11-upgrade-the-hardened-repository\/","title":{"rendered":"Veeam v11: upgrade the Hardened Repository"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-51088 size-full\" title=\"veeam-upgrade-hardened-repository-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-01.jpg\" alt=\"veeam-upgrade-hardened-repository-01\" width=\"602\" height=\"202\" \/><\/p>\n<p>With the introduction of the Immutability feature in <a href=\"https:\/\/nolabnoparty.com\/en\/veeam-v11-whats-new-and-upgrade-procedure\/\">Veeam Backup &amp; Replication v11<\/a>, a <a href=\"https:\/\/nolabnoparty.com\/en\/veeam-v11-hardened-repository-immutability-pt-1\/\">Hardened Repository<\/a> requires a specific procedure to be upgraded.<\/p>\n<p>A normal upgrade of this type of repository cannot be performed in the \"classic\" way due to the <strong>restrictions applied<\/strong> during the configuration procedure of the repository itself.<!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>How to upgrade a Hardened Repository<\/h2>\n<p>When a new version or patch is released by Veeam, when you try applying the update to the repository, it will fail.<\/p>\n<p>This is an expected behavior since <strong>Veeam doesn't have the credentials<\/strong> stored anywhere to access the <a href=\"https:\/\/nolabnoparty.com\/en\/veeam-v11-hardened-repository-immutability-add-mfa-pt-3\/\">Hardened Repository<\/a>. If the repository was configured by following the best practices, the<strong> Single-use credentials for hardened repository<\/strong> option was used to connect Veeam to the repository.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51090 size-large\" title=\"veeam-upgrade-hardened-repository-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-02-600x324.jpg\" alt=\"veeam-upgrade-hardened-repository-02\" width=\"600\" height=\"324\" \/><\/p>\n<p>In addition, the account used by Veeam to connect the repository <strong>doesn't have any permission<\/strong> to do operations on the Linux machine since <strong>it is not a member of the <em>sudo<\/em> group<\/strong>.<\/p>\n<p>To apply the update, the first step is to <strong>enable SSH service<\/strong> and add the used <strong>service account back to the <em>sudo<\/em> group<\/strong>.<\/p>\n<p>Enable the <strong>remote access to your repository<\/strong> and login with the administrative account set during the installation of your Linux repository.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51092 size-full\" title=\"veeam-upgrade-hardened-repository-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-03.jpg\" alt=\"veeam-upgrade-hardened-repository-03\" width=\"597\" height=\"93\" \/><\/p>\n<p>Enable the <strong>SSH service<\/strong> and\u00a0add the <strong>Veeam service account<\/strong> to the group <em>sudo<\/em> with the command:<\/p>\n<p><span style=\"color: #0000ff;\"># sudo systemctl start ssh.service<br \/>\n<\/span><span style=\"color: #0000ff;\"># sudo usermod -a -G sudo locveeam<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51096 size-full\" title=\"veeam-upgrade-hardened-repository-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-04.jpg\" alt=\"veeam-upgrade-hardened-repository-04\" width=\"597\" height=\"67\" \/><\/p>\n<p>Open the Veeam console and select from the menu the <strong>Settings &gt; Upgrade<\/strong> option. During the upgrade of other Veeam components to <a href=\"https:\/\/nolabnoparty.com\/en\/veeam-v11a-released\/\">apply version 11a<\/a>, the Hardened Repository was skipped.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51104 size-large\" title=\"veeam-upgrade-hardened-repository-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-05-600x277.jpg\" alt=\"veeam-upgrade-hardened-repository-05\" width=\"600\" height=\"277\" \/><\/p>\n<p>Select the Hardened Repository to upgrade and click <strong>Apply<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51106 size-large\" title=\"veeam-upgrade-hardened-repository-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-06-600x427.jpg\" alt=\"veeam-upgrade-hardened-repository-06\" width=\"600\" height=\"427\" \/><\/p>\n<p>Click <strong>Yes<\/strong> to continue.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51108 size-full\" title=\"veeam-upgrade-hardened-repository-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-07.jpg\" alt=\"veeam-upgrade-hardened-repository-07\" width=\"506\" height=\"150\" \/><\/p>\n<p>Click <strong>Set User<\/strong> button and select <strong>Single-use credentials for hardened repository<\/strong> option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51122 size-large\" title=\"veeam-upgrade-hardened-repository-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-08-600x422.jpg\" alt=\"veeam-upgrade-hardened-repository-08\" width=\"600\" height=\"422\" \/><\/p>\n<p>Enter the <strong>Username<\/strong> of service account used and the <strong>Password<\/strong> then click <strong>OK<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51124 size-full\" title=\"veeam-upgrade-hardened-repository-09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-09.jpg\" alt=\"veeam-upgrade-hardened-repository-09\" width=\"419\" height=\"400\" \/><\/p>\n<p>Click <strong>OK<\/strong> to confirm.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51126 size-full\" title=\"veeam-upgrade-hardened-repository-10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-10.jpg\" alt=\"veeam-upgrade-hardened-repository-10\" width=\"452\" height=\"482\" \/><\/p>\n<p>This time the repository has been upgraded successfully. Click <strong>Finish<\/strong> to exit the wizard.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51128 size-large\" title=\"veeam-upgrade-hardened-repository-11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-11-600x427.jpg\" alt=\"veeam-upgrade-hardened-repository-11\" width=\"600\" height=\"427\" \/><\/p>\n<p>From the repository console, <strong>remove the service account<\/strong> used in Veeam from the <em>sudo<\/em> group and <strong>disable the SSH service<\/strong>. Remember also to disconnect any remote system (iLO, iDRAC, etc.) from your repository.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo deluser locveeam sudo<br \/>\n# sudo systemctl stop ssh.service<br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-51130 size-full\" title=\"veeam-upgrade-hardened-repository-12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2021\/10\/veeam-upgrade-hardened-repository-12.jpg\" alt=\"veeam-upgrade-hardened-repository-12\" width=\"562\" height=\"84\" \/><\/p>\n<p>The Hardened Repository is now upgraded to the <strong>current installed version<\/strong> of your Veeam Server.<\/p>\n<p>Veeam Backup &amp; Replication v11a is available to download as <a href=\"https:\/\/www.veeam.com\/backup-replication-download.html?ad=downloads\" target=\"_blank\" rel=\"noopener\">30-day free trial<\/a>.<\/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>With the introduction of the Immutability feature in Veeam Backup &amp; Replication v11, a Hardened Repository requires a specific procedure to be upgraded. A normal upgrade of this type of repository cannot be performed in the \"classic\" way due to the restrictions applied during the configuration procedure of the repository itself.<\/p>\n","protected":false},"author":3,"featured_media":51088,"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":[2138,933],"tags":[579,2330,2400],"class_list":["post-51087","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-backup-en","category-veeam-en","tag-backup-en","tag-hardened-repository","tag-upgarde","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/51087","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=51087"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/51087\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/51088"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=51087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=51087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=51087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}