{"id":65634,"date":"2025-04-03T09:00:04","date_gmt":"2025-04-03T07:00:04","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=65634"},"modified":"2025-12-17T14:25:55","modified_gmt":"2025-12-17T13:25:55","slug":"configure-a-nakivo-hardened-repository","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/configure-a-nakivo-hardened-repository\/","title":{"rendered":"Configure a Nakivo Hardened Repository"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-65666 size-full\" title=\"nakivo-hardened-repository-configuration-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-01.jpg\" alt=\"nakivo-hardened-repository-configuration-01\" width=\"602\" height=\"202\" \/><\/p>\n<p class=\"\" data-start=\"0\" data-end=\"157\">To protect backup data from overwrites, deletions, and modifications, you must <strong>make the backups immutable<\/strong> by saving them to a Nakivo <a href=\"https:\/\/nolabnoparty.com\/en\/back-to-basics-nakivo-ransomware-protection\/\">Hardened Repository<\/a>.<\/p>\n<p class=\"\" data-start=\"159\" data-end=\"325\"><a href=\"https:\/\/nolabnoparty.com\/en\/nakivo-v11-0-1-with-multi-language-support\/\">Nakivo Backup &amp; Replication<\/a> supports immutability and allows administrators to configure Hardened Repositories without relying on commercial <a href=\"https:\/\/nolabnoparty.com\/en\/back-to-basics-nakivo-backup-repository\/\">storage solutions<\/a> only.<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>Configure a Nakivo Hardened Repository<\/h2>\n<p>To make your backups immutable, you need to install a <strong>file system that supports XFS<\/strong>. Linux provides the XFS file system and the distribution you use must be supported by the <a href=\"https:\/\/helpcenter.nakivo.com\/archive\/10_4\/Content\/Deployment\/System-Requirements\/Deployment-Requirements.htm#Operatin\" target=\"_blank\" rel=\"noopener\">Nakivo Transporter<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h4>Install the OS Linux<\/h4>\n<p>In this example, the <strong>Linux Ubuntu Server LTSC 22.04<\/strong> is used as the operating system.<\/p>\n<p>Install the OS and make sure to <strong>create an XFS partition<\/strong> where backups will be stored to leverage the immutability capability.<\/p>\n<p><span style=\"color: #0000ff;\"># df -Th<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65668 size-large\" title=\"nakivo-hardened-repository-configuration-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-02-600x147.jpg\" alt=\"nakivo-hardened-repository-configuration-02\" width=\"600\" height=\"147\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Deploy the Transporter to the Hardened Repository<\/h4>\n<p>Once the OS installation is completed, download from Nakivo website the <a href=\"https:\/\/www.nakivo.com\/resources\/download\/trial-download\/\" target=\"_blank\" rel=\"noopener\">Linux installer<\/a>. Using a tool like WinSCP, copy the installer to the Linux machine to configure.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65670 size-large\" title=\"nakivo-hardened-repository-configuration-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-03-600x385.jpg\" alt=\"nakivo-hardened-repository-configuration-03\" width=\"600\" height=\"385\" \/><\/p>\n<p>Add the <strong>permissions<\/strong> to execute the file.<\/p>\n<p><span style=\"color: #0000ff;\"># chmod +x .\/NAKIVO_Backup_Replication_v11.0.2.91392_Installer-TRIAL.sh<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65672 size-large\" title=\"nakivo-hardened-repository-configuration-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-04-600x81.jpg\" alt=\"nakivo-hardened-repository-configuration-04\" width=\"600\" height=\"81\" \/><\/p>\n<p>Run the installer and choose the desired language (<strong>1 English<\/strong> in the example).<\/p>\n<p><span style=\"color: #0000ff;\"># sudo .\/NAKIVO_Backup_Replication_v11.0.2.91392_Installer-TRIAL.sh<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65674 size-large\" title=\"nakivo-hardened-repository-configuration-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-05-600x192.jpg\" alt=\"nakivo-hardened-repository-configuration-05\" width=\"600\" height=\"192\" \/><\/p>\n<p>The installation begins by showing the EULA.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65676 size-large\" title=\"nakivo-hardened-repository-configuration-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-06-600x261.jpg\" alt=\"nakivo-hardened-repository-configuration-06\" width=\"600\" height=\"261\" \/><\/p>\n<p>Scroll the EULA till the end and type <strong>1<\/strong> to accept the license agreement then the option <strong>3<\/strong> to install the Transporter.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65678 size-large\" title=\"nakivo-hardened-repository-configuration-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-07-600x220.jpg\" alt=\"nakivo-hardened-repository-configuration-07\" width=\"600\" height=\"220\" \/><\/p>\n<p>Specify the <strong>location to install<\/strong> the Transporter (default <em>\/opt\/nakivo<\/em>) and press <strong>Enter<\/strong>. Enter the <strong>master password<\/strong> used to connect the Nakivo Server. Type <strong>1<\/strong> to skip the <strong>custom certificate<\/strong> installation and press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65680 size-large\" title=\"nakivo-hardened-repository-configuration-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-08-600x224.jpg\" alt=\"nakivo-hardened-repository-configuration-08\" width=\"600\" height=\"224\" \/><\/p>\n<p>The Transporter has been installed successfully.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65682 size-large\" title=\"nakivo-hardened-repository-configuration-09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-09-600x289.jpg\" alt=\"nakivo-hardened-repository-configuration-09\" width=\"600\" height=\"289\" \/><\/p>\n<p>Check the <strong>Transporter service status<\/strong> with the command:<\/p>\n<p><span style=\"color: #0000ff;\"># systemctl status nkv-bhsvc<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65684 size-large\" title=\"nakivo-hardened-repository-configuration-10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-10-600x274.jpg\" alt=\"nakivo-hardened-repository-configuration-10\" width=\"600\" height=\"274\" \/><\/p>\n<p>Create the folder for the repository.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo mkdir \/opt\/nakivo\/repository<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65688 size-large\" title=\"nakivo-hardened-repository-configuration-11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-11-600x48.jpg\" alt=\"nakivo-hardened-repository-configuration-11\" width=\"600\" height=\"48\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Apply required permissions<\/h4>\n<p>Apply the <strong>required permissions<\/strong> to the folder. You must grant the required permissions to <strong>bhsvc<\/strong> account.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo chown -R bhsvc:bhsvc \/opt\/nakivo\/repository<\/span><br \/>\n<span style=\"color: #0000ff;\"># sudo chmod -R 770 \/opt\/nakivo\/repository<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-66528\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-12-600x48.jpg\" alt=\"\" width=\"600\" height=\"48\" title=\"\"><\/p>\n<p>Check the applied permissions.<\/p>\n<p><span style=\"color: #0000ff;\"># ll<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-66530\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-13-600x129.jpg\" alt=\"\" width=\"600\" height=\"129\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<h4>Adjust the required mount point<\/h4>\n<p>Nakivo can add the repository to the server if the folder is created in <em>\/opt\/nakivo<\/em>. However, if you specified a different location during the OS installation, <strong>some adjustments<\/strong> will be required.<\/p>\n<p>Identify the disk that will be used for the repository.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo fdisk -l<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65696 size-large\" title=\"nakivo-hardened-repository-configuration-14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-14-600x497.jpg\" alt=\"nakivo-hardened-repository-configuration-14\" width=\"600\" height=\"497\" \/><\/p>\n<p>Unmount the current partition.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo umount \/mnt\/nakivorepo<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65698 size-full\" title=\"nakivo-hardened-repository-configuration-15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-15.jpg\" alt=\"nakivo-hardened-repository-configuration-15\" width=\"594\" height=\"47\" \/><\/p>\n<p>Mount the partition to the created folder.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo mount \/dev\/sdb1 \/opt\/nakivo\/repository<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65700 size-full\" title=\"nakivo-hardened-repository-configuration-16\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-16.jpg\" alt=\"nakivo-hardened-repository-configuration-16\" width=\"591\" height=\"38\" \/><\/p>\n<p>To make the <strong>mount persistent<\/strong>, you need to edit the <em>\/etc\/fstab<\/em> file to modify the <strong>partition path<\/strong>. Change the mount point with the <strong>correct path<\/strong> and save the configuration.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo vi \/etc\/fstab<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65710 size-large\" title=\"nakivo-hardened-repository-configuration-17\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-17-600x206.jpg\" alt=\"nakivo-hardened-repository-configuration-17\" width=\"600\" height=\"206\" \/><\/p>\n<p>Reload the mounting points.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo mount -a<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65712 size-large\" title=\"nakivo-hardened-repository-configuration-18\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-18-600x35.jpg\" alt=\"nakivo-hardened-repository-configuration-18\" width=\"600\" height=\"35\" \/><\/p>\n<p>Check the mounted partition.<\/p>\n<p><span style=\"color: #0000ff;\"># df -Th<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65714 size-large\" title=\"nakivo-hardened-repository-configuration-19\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-19-600x139.jpg\" alt=\"nakivo-hardened-repository-configuration-19\" width=\"600\" height=\"139\" \/><\/p>\n<p>To <strong>secure the access<\/strong> to the Nakivo Hardened Repository, disable SSH service.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo systemctl disable ssh.service<\/span><br \/>\n<span style=\"color: #0000ff;\"># sudo systemctl stop ssh.service<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65718 size-large\" title=\"nakivo-hardened-repository-configuration-20\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-20-600x134.jpg\" alt=\"nakivo-hardened-repository-configuration-20\" width=\"600\" height=\"134\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Test the backup<\/h2>\n<p>Create a <strong>new Backup Job<\/strong> by specifying the new Nakivo Hardened Repository as <strong>Destination<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65721 size-large\" title=\"nakivo-hardened-repository-configuration-21\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-21-600x337.jpg\" alt=\"nakivo-hardened-repository-configuration-21\" width=\"600\" height=\"337\" \/><\/p>\n<p>Run the job.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65723 size-large\" title=\"nakivo-hardened-repository-configuration-22\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-22-600x488.jpg\" alt=\"nakivo-hardened-repository-configuration-22\" width=\"600\" height=\"488\" \/><\/p>\n<p>Depending on the VM size, after a few minutes the job is completed successfully.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65725 size-large\" title=\"nakivo-hardened-repository-configuration-23\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-23-600x411.jpg\" alt=\"nakivo-hardened-repository-configuration-23\" width=\"600\" height=\"411\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Test immutability<\/h2>\n<p>To test the Nakivo Hardened Repository, try deleting the just created backup. Access the <strong>Settings &gt; Repositories<\/strong> section and select the Hardened Repository.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65727 size-large\" title=\"nakivo-hardened-repository-configuration-24\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-24-600x377.jpg\" alt=\"nakivo-hardened-repository-configuration-24\" width=\"600\" height=\"377\" \/><\/p>\n<p>Select the job to test, and then try to delete it. As expected, the <strong>backup cannot be deleted<\/strong> because it's immutable.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-65729\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-25-600x217.jpg\" alt=\"\" width=\"600\" height=\"217\" title=\"\"><\/p>\n<p>The message displayed is self-explanatory.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65731 size-large\" title=\"nakivo-hardened-repository-configuration-26\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/04\/nakivo-hardened-repository-configuration-26-600x150.jpg\" alt=\"nakivo-hardened-repository-configuration-26\" width=\"600\" height=\"150\" \/><\/p>\n<p>Ensuring immutability for backups stored in the Nakivo Hardened Repository <strong>is the only defense<\/strong> a company has to protect its business against potential <a href=\"https:\/\/nolabnoparty.com\/en\/nakivo-recover-from-a-ransomware-attack\/\">ransomware attacks<\/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>To protect backup data from overwrites, deletions, and modifications, you must make the backups immutable by saving them to a Nakivo Hardened Repository. Nakivo Backup &amp; Replication supports immutability and allows administrators to configure Hardened Repositories without relying on commercial storage solutions only.<\/p>\n","protected":false},"author":3,"featured_media":65666,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"no","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[{"account":"facebook_2879994398731222_234218296615646","service":"facebook","timestamp":1756882872,"status":"success"},{"account":"twitter_113568041_113568041","service":"twitter","timestamp":1756882941,"status":"success"},{"account":"linkedin_93tdZWzMZc_93tdZWzMZc","service":"linkedin","timestamp":1756882963,"status":"success"}],"rop_publish_now_status":"done","footnotes":""},"categories":[2138,1697],"tags":[579,2330,2297],"class_list":["post-65634","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-backup-en","category-nakivo-en","tag-backup-en","tag-hardened-repository","tag-immutability-en","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/65634","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=65634"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/65634\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/65666"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=65634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=65634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=65634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}