{"id":17354,"date":"2016-07-06T09:00:12","date_gmt":"2016-07-06T07:00:12","guid":{"rendered":"http:\/\/nolabnoparty.com\/en\/?p=17354"},"modified":"2020-03-15T18:09:55","modified_gmt":"2020-03-15T17:09:55","slug":"veeam-agent-linux-setup","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/veeam-agent-linux-setup\/","title":{"rendered":"Veeam Agent for Linux setup"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-17408 size-full\" title=\"veeamagentlinux01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux01.jpg\" alt=\"veeamagentlinux01\" width=\"602\" height=\"202\" \/><\/p>\n<p>Veeam Agent for Linux is\u00a0a new <strong>free backup product<\/strong> released by Veeam available for Debian-based and RedHat-based distributions.<\/p>\n<p>Currently available as a <strong>public beta<\/strong>, Veeam Agent for Linux is able to perform <strong>image-based backups<\/strong> at the file and volume level and the backup type <strong>forever-incremental<\/strong> is enabled using the\u00a0Veeam\u2019s proprietary <strong>CBT driver<\/strong>.<!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>Install Veeam Agent for Linux<\/h2>\n<p>Download <a href=\"https:\/\/go.veeam.com\/linux\" target=\"_blank\" rel=\"noopener noreferrer\">Veeam Agent\u00a0for Linux<\/a>\u00a0from Veeam's\u00a0website and extract the packages needed for the Linux distribution in use (CentOS in the example):<\/p>\n<ul>\n<li>veeamsnap-1.0.0.499-1.noarch.rpm<\/li>\n<li>veeam-1.0.0.499-1.el6.x86_64.rpm<\/li>\n<\/ul>\n<p>Using a tool like WinSCP, copy the two packages in the Linux VM.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17409 size-large\" title=\"veeamagentlinux02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux02-600x462.jpg\" alt=\"veeamagentlinux02\" width=\"600\" height=\"462\" \/><\/p>\n<p>List the copied files with the command:<\/p>\n<p><span style=\"color: #0000ff;\"># ll<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17410 size-full\" title=\"veeamagentlinux03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux03.jpg\" alt=\"veeamagentlinux03\" width=\"597\" height=\"86\" \/><\/p>\n<p>Install first the package\u00a0<strong>veeamsnap-1.0.0.499-1.noarch.rpm<\/strong>.<\/p>\n<p><span style=\"color: #0000ff;\"># rpm -ivh\u00a0veeamsnap-1.0.0.499-1.noarch.rpm<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17411 size-large\" title=\"veeamagentlinux04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux04-600x323.jpg\" alt=\"veeamagentlinux04\" width=\"600\" height=\"323\" \/><\/p>\n<p>Then install\u00a0<strong>veeam-1.0.0.499-1.el6.x86_64.rpm<\/strong> package. Note that Veeam Agent for Linux is <strong>installed as a service<\/strong> in the machine.<\/p>\n<p><span style=\"color: #0000ff;\"># rpm -ivh\u00a0veeam-1.0.0.499-1.el6.x86_64.rpm<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17412 size-large\" title=\"veeamagentlinux05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux05-600x98.jpg\" alt=\"veeamagentlinux05\" width=\"600\" height=\"98\" \/><\/p>\n<p>In a <strong>RedHat\/CentOS environment<\/strong>,\u00a0Veeam Agent for Linux can be easily installed using the <a href=\"https:\/\/fedoraproject.org\/wiki\/EPEL\" target=\"_blank\" rel=\"noopener noreferrer\">EPEL repository<\/a>.<\/p>\n<p><span style=\"color: #0000ff;\"># yum install veeam*<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17413 size-full\" title=\"veeamagentlinux06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux06.jpg\" alt=\"veeamagentlinux06\" width=\"597\" height=\"696\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Configure the Backup Job<\/h2>\n<p>From the console run the <strong>command <em>veeam<\/em><\/strong> to access the software's\u00a0UI.\u00a0Press <strong>C<\/strong>\u00a0(Configure) to configure the backup job.<\/p>\n<p><span style=\"color: #0000ff;\"># veeam<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17414 size-large\" title=\"veeamagentlinux07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux07-600x360.jpg\" alt=\"veeamagentlinux07\" width=\"600\" height=\"360\" \/><\/p>\n<p>Enter the <strong>Job name<\/strong> then press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17415 size-large\" title=\"veeamagentlinux08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux08-600x360.jpg\" alt=\"veeamagentlinux08\" width=\"600\" height=\"360\" \/><\/p>\n<p>Select the <strong>Backup mode<\/strong>\u00a0and press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17416 size-large\" title=\"veeamagentlinux09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux09-600x360.jpg\" alt=\"veeamagentlinux09\" width=\"600\" height=\"360\" \/><\/p>\n<p>Specify the\u00a0<strong>Destination<\/strong>\u00a0to store the backups and press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17417 size-large\" title=\"veeamagentlinux10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux10-600x360.jpg\" alt=\"veeamagentlinux10\" width=\"600\" height=\"360\" \/><\/p>\n<p>Select the <strong>Location<\/strong>\u00a0(NFS or CIFS) and type the path. Here you can also specify the <strong>retention<\/strong> for the backups. Press <strong>Enter<\/strong> to continue.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17418 size-large\" title=\"veeamagentlinux11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux11-600x360.jpg\" alt=\"veeamagentlinux11\" width=\"600\" height=\"360\" \/><\/p>\n<p>Specify a <strong>Schedule<\/strong> for the backup job then press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17419 size-large\" title=\"veeamagentlinux12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux12-600x360.jpg\" alt=\"veeamagentlinux12\" width=\"600\" height=\"360\" \/><\/p>\n<p>Click <strong>Finish<\/strong> to save the backup job configuration. You can start the job immediately by enabling the <strong>Start job now<\/strong> option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17420 size-large\" title=\"veeamagentlinux13\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux13-600x360.jpg\" alt=\"veeamagentlinux13\" width=\"600\" height=\"360\" \/><\/p>\n<p>The backup process begins.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17421 size-large\" title=\"veeamagentlinux14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux14-600x360.jpg\" alt=\"veeamagentlinux14\" width=\"600\" height=\"360\" \/><\/p>\n<p>In the <strong>State<\/strong> column you can follow the progress of your backup. Press <strong>Enter<\/strong> for additional details.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17422 size-large\" title=\"veeamagentlinux15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux15-600x360.jpg\" alt=\"veeamagentlinux15\" width=\"600\" height=\"360\" \/><\/p>\n<p>In this screen you have all the <strong>backup details<\/strong>.\u00a0When the backup job runs for the first time, a full backup will be taken. Next\u00a0backup will be faster due\u00a0to the <strong>CBT driver<\/strong> that backs up only what has changed on the disk since the last backup.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17423 size-large\" title=\"veeamagentlinux16\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux16-600x360.jpg\" alt=\"veeamagentlinux16\" width=\"600\" height=\"360\" \/><\/p>\n<p>If the column\u00a0<strong>State<\/strong>\u00a0reports\u00a0<strong>Success<\/strong>, the backup has\u00a0completed successfully.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17424 size-large\" title=\"veeamagentlinux17\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux17-600x360.jpg\" alt=\"veeamagentlinux17\" width=\"600\" height=\"360\" \/><\/p>\n<p>To <strong>check the\u00a0backup files<\/strong>, create a directory in your machine and <strong>mount the NFS share<\/strong>\u00a0used.<\/p>\n<p><span style=\"color: #0000ff;\"># mkdir \/backup<\/span><br \/>\n<span style=\"color: #0000ff;\"># mount -t nfs lab-nasts421:\/veeamnfs \/backup<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17425 size-large\" title=\"veeamagentlinux18\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux18-600x60.jpg\" alt=\"veeamagentlinux18\" width=\"600\" height=\"60\" \/>List the backup files with the command:<\/p>\n<p><span style=\"color: #0000ff;\"># ll \/backup\/LAB_BackupJob1\/<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17426 size-large\" title=\"veeamagentlinux19\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux19-600x123.jpg\" alt=\"veeamagentlinux19\" width=\"600\" height=\"123\" \/><\/p>\n<p>Press <strong>C<\/strong>\u00a0(Configure) from main screen\u00a0to configure additional backup jobs.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17427 size-large\" title=\"veeamagentlinux20\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux20-600x360.jpg\" alt=\"veeamagentlinux20\" width=\"600\" height=\"360\" \/><\/p>\n<p>Select <strong>Configure new job<\/strong> and press <strong>Enter<\/strong> to setup a new job following same procedure\u00a0previously explained.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17428 size-large\" title=\"veeamagentlinux21\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux21-600x360.jpg\" alt=\"veeamagentlinux21\" width=\"600\" height=\"360\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Restore files<\/h2>\n<p>To restores files from backups, press <strong>R<\/strong>\u00a0(Recover Files) from main screen.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17429 size-large\" title=\"veeamagentlinux22\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux22-600x360.jpg\" alt=\"veeamagentlinux22\" width=\"600\" height=\"360\" \/><\/p>\n<p>The number on the right side of the backup job name indicates <strong>how many restore points<\/strong> are available for that specific backup. Press <strong>I<\/strong>\u00a0(Import backup) to import the backup you want to recover the files from.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17430 size-large\" title=\"veeamagentlinux23\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux23-600x360.jpg\" alt=\"veeamagentlinux23\" width=\"600\" height=\"360\" \/><\/p>\n<p>Navigate\u00a0to the location\u00a0where the\u00a0backup files are stored (<strong>NFS share<\/strong>\u00a0in the example), select the desired backup then press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17431 size-large\" title=\"veeamagentlinux24\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux24-600x360.jpg\" alt=\"veeamagentlinux24\" width=\"600\" height=\"360\" \/><\/p>\n<p>Select the <strong>Restore Point<\/strong>\u00a0you want to mount then press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17432 size-large\" title=\"veeamagentlinux25\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux25-600x360.jpg\" alt=\"veeamagentlinux25\" width=\"600\" height=\"360\" \/><\/p>\n<p>The backup has been mounted in the specified directory.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17433 size-large\" title=\"veeamagentlinux26\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux26-600x360.jpg\" alt=\"veeamagentlinux26\" width=\"600\" height=\"360\" \/><\/p>\n<p>Using a file manager like <strong>mc<\/strong> (Midnight Commander), you can <strong>restore files directly<\/strong> from the mounted backup.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17434 size-large\" title=\"veeamagentlinux27\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux27-600x359.jpg\" alt=\"veeamagentlinux27\" width=\"600\" height=\"359\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Restore volumes<\/h2>\n<p>Inside the Veeam Agent archive\u00a0you can find the Debian-based tool\u00a0Veeam Recovery Media <strong>veeam-recovery-media-1.0.0.499.iso<\/strong>\u00a0to restore\u00a0your machine in case of need.<\/p>\n<p>Boot the machine from the <strong>.iso file<\/strong> to run\u00a0the <strong>Veeam Recovery Media<\/strong> tool. Select the <strong>Restore volumes<\/strong> item\u00a0from main menu then press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17436 size-large\" title=\"veeamagentlinux28\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux28-600x333.jpg\" alt=\"veeamagentlinux28\" width=\"600\" height=\"333\" \/><\/p>\n<p>Select <strong>Add shared folder<\/strong> to specify\u00a0the backup location and press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17437 size-large\" title=\"veeamagentlinux29\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux29-600x333.jpg\" alt=\"veeamagentlinux29\" width=\"600\" height=\"333\" \/><\/p>\n<p>Select the <strong>share type<\/strong> (NFS or CIFS), specify <strong>Server\/Directory<\/strong> then press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-17438 size-large\" title=\"veeamagentlinux30\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/07\/veeamagentlinux30-600x333.jpg\" alt=\"veeamagentlinux30\" width=\"600\" height=\"333\" \/><\/p>\n<p>Browse the <strong>mount point<\/strong> and select the backup to use. Select the\u00a0volume to restore and\u00a0type\u00a0<strong>S<\/strong>\u00a0(Start restore) to\u00a0<strong>start the restore operation<\/strong>.<\/p>\n<p>Keep in mind that all <strong>existing data\u00a0will be\u00a0erased<\/strong> in\u00a0the target volume.<br \/>\n<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 Agent for Linux is\u00a0a new free backup product released by Veeam available for Debian-based and RedHat-based distributions. Currently available as a public beta, Veeam Agent for Linux is able to perform image-based backups at the file and volume level and the backup type forever-incremental is enabled using the\u00a0Veeam\u2019s proprietary CBT driver.<\/p>\n","protected":false},"author":3,"featured_media":17408,"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":[942,573,584],"class_list":["post-17354","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware-en","category-backup-en","category-veeam-en","tag-agent-en","tag-linux-en","tag-veeam-en","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/17354","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=17354"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/17354\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/17408"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=17354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=17354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=17354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}