CINXE.COM

Report for a backup job with agent of a Linux Power - R&D Forums

<!DOCTYPE html> <html dir="ltr" lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="description" content="Veeam Community discussions and solutions for: Report for a backup job with agent of a Linux Power of Veeam Agents for Linux, Mac, AIX &amp; Solaris"/> <meta property="og:title" content="Report for a backup job with agent of a Linux Power"/> <meta property="og:description" content="Veeam Community discussions and solutions for: Report for a backup job with agent of a Linux Power of Veeam Agents for Linux, Mac, AIX &amp; Solaris"/> <meta property="og:url" content="https://forums.veeam.com/veeam-agents-for-linux-mac-aix-solaris-f41/report-for-a-backup-job-with-agent-of-a-linux-power-t97242.html"/> <meta property="og:type" content="website" /> <meta property="og:image" content="https://img.veeam.com/seo/og/veeam.png"/> <meta property="og:image:width" content="1600" /> <meta property="og:image:height" content="800" /> <meta property="og:image:type" content="image/png" /> <meta property="og:site_name" content="Veeam Community Forums" /> <meta property="fb:app_id" content="1752735291627636" /> <meta name="twitter:site" content="@veeam" /> <meta name="twitter:card" content="summary_large_image" /> <meta property="og:locale" content="en_US" /> <title>Report for a backup job with agent of a Linux Power - R&amp;D Forums</title> <link rel="icon" href="//img.veeam.com/favicon/2024/favicon-16x16.ico" sizes="16x16"/> <link rel="icon" href="//img.veeam.com/favicon/2024/favicon-16x16.png" sizes="16x16"/> <link rel="icon" href="//img.veeam.com/favicon/2024/favicon-32x32.png" sizes="32x32"/> <link rel="icon" href="//img.veeam.com/favicon/2024/favicon-57x57.png" sizes="57x57"/> <link rel="icon" href="//img.veeam.com/favicon/2024/favicon-76x76.png" sizes="76x76"/> <link rel="icon" href="//img.veeam.com/favicon/2024/favicon-128x128.png" sizes="128x128"/> <link rel="icon" href="//img.veeam.com/favicon/2024/favicon-192x192.png" sizes="192x192"/> <link rel="icon" href="//img.veeam.com/favicon/2024/favicon-228x228.png" sizes="228x228"/> <!-- Android --> <link rel="shortcut icon" href="//img.veeam.com/favicon/2024/favicon-196x196px.png" sizes="196x196"/> <!-- iOS --> <link rel="apple-touch-icon" href="//img.veeam.com/favicon/2024/favicon-120x120.png" sizes="120x120"/> <link rel="apple-touch-icon" href="//img.veeam.com/favicon/2024/favicon-152x152.png" sizes="152x152"/> <link rel="apple-touch-icon" href="//img.veeam.com/favicon/2024/favicon-180x180.png" sizes="180x180"/> <link rel="preload" href="https://css.veeam.com/forums/fonts/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin="anonymous" /> <link rel="alternate" type="application/atom+xml" title="Feed - R&amp;D Forums" href="/feed?sid=c49016a4c05cae586e05c28d4ad9dbf3"> <link rel="alternate" type="application/atom+xml" title="Feed - All forums" href="/feed/forums?sid=c49016a4c05cae586e05c28d4ad9dbf3"> <link rel="alternate" type="application/atom+xml" title="Feed - Forum - Veeam Agents for Linux, Mac, AIX &amp; Solaris" href="/feed/forum/41?sid=c49016a4c05cae586e05c28d4ad9dbf3"> <link rel="alternate" type="application/atom+xml" title="Feed - Topic - Report for a backup job with agent of a Linux Power" href="/feed/topic/97242?sid=c49016a4c05cae586e05c28d4ad9dbf3"> <link rel="canonical" href="https://forums.veeam.com/veeam-agents-for-linux-mac-aix-solaris-f41/report-for-a-backup-job-with-agent-of-a-linux-power-t97242.html"> <!-- phpBB style name: prosilver Based on style: prosilver (this is the default phpBB3 style) Original author: Tom Beddard ( http://www.subBlue.com/ ) Modified by: --> <link href="//css.veeam.com/forums/min/styles.min.css?assets_version=1428" rel="stylesheet"> <!--xref manager--> <script> var XRefManager=function(){function a(){var a=document.referrer?h(i(document.referrer).hostname):!0;(!a||a&&b())&&(e(j.cookieXrefName,document.referrer),e(j.cookieXPageName,window.location.href)),e(j.cookieTimeSet,f())}function b(){return c(j.cookieTimeSet)?f()-c(j.cookieTimeSet)>j.corruptionTime:!0}function c(a){for(var b=a+"=",c=document.cookie.split(";"),d=0;d<c.length;d++){var e=c[d].trim();if(0==e.indexOf(b))return e.substring(b.length,e.length)}return""}function d(a){var b=a.split("."),c=b.slice(Math.max(b.length-2,0));return c.join(".")}function e(a,b){var c=d(window.location.host);h(c)&&(document.cookie=a+"="+b+";domain="+c+";path=/;expires="+g())}function f(){var a=new Date;return Math.round(a.getTime()/1e3)}function g(){var a=new Date,b=15768e4;return a.setTime(1e3*(f()+b)),a.toGMTString()}function h(a){if("link.veeam.com"==a)return!1;a=d(a);for(var b=0;b<j.veeamDomains.length;b+=1)if(a==j.veeamDomains[b])return!0;return!1}function i(a){var b=document.createElement("a");return b.href=a,b}var j={veeamDomains:["veeam.com"],corruptionTime:10800,cookieTimeSet:"x_time",cookieXrefName:"x_referrer",cookieXPageName:"x_page"};return{init:a}};xrefmanager=new XRefManager,xrefmanager.init(); </script> <!--[if lte IE 9]> <link href="https://forums.veeam.com/styles/prosilver/theme/tweaks.css?assets_version=1428" rel="stylesheet"> <![endif]--> </head> <body id="phpbb" class="nojs notouch section-viewtopic/veeam-agents-for-linux-mac-aix-solaris-f41/report-for-a-backup-job-with-agent-of-a-linux-power-t97242.html ltr "> <!-- Google Tag Manager --> <script id="gtm-script"> var gtmLoaded = false; function LoadGTM() { if (gtmLoaded) return; gtmLoaded = true; window.removeEventListener("scroll", LoadGTM); window.removeEventListener("mousemove", LoadGTM); window.removeEventListener("touchstart", LoadGTM); (function (e, t, n, o) { e[o] = e[o] || [], e[o].push({"gtm.start": (new Date).getTime(), event: "gtm.js"}); var i = t.getElementsByTagName(n)[0], r = t.createElement(n); r.async = !0, r.src = "//www.googletagmanager.com/gtm.js?id=GTM-CM2B", i.parentNode.insertBefore(r, i) })(window, document, "script", "dataLayer"); var script = document.createElement("script"); script.src = "//geo.cookie-script.com/s/9f2e4f3ae272e6239af3325a81c28bb6.js?country=jp&region=eu"; script.type = "text/javascript"; document.getElementsByTagName("body")[0].appendChild(script); } function onLoadGTM() { setTimeout(LoadGTM, 5500); window.addEventListener("scroll", LoadGTM, {passive: !0}); window.addEventListener("mousemove", LoadGTM, {passive: !0}); window.addEventListener("touchstart", LoadGTM, {passive: !0}); } window.addEventListener("load", function() { if (typeof onLoadGTM === 'function') { onLoadGTM(); } }) </script> <!-- End Google Tag Manager --> <div id="wrap" class="wrap"> <a id="top" class="top-anchor" accesskey="t"></a> <div id="page-header"> <div class="headerbar" role="banner"> <div class="inner"> <div id="site-description" class="site-description"> <a id="logo" class="logo" href="https://forums.veeam.com/" title="Main"> <span class="site_logo"></span> </a> <h1>R&amp;D Forums</h1> <p>Your direct line to Veeam R&amp;D. Not a support forum!</p> <p class="skiplink"><a href="#start_here">Skip to content</a></p> </div> <div id="search-box" class="search-box search-header" role="search"> <form action="/site-search?sid=c49016a4c05cae586e05c28d4ad9dbf3" method="get" id="search"> <fieldset> <input name="q" id="keywords" type="search" maxlength="128" title="Search for keywords" class="inputbox search tiny" size="20" value="" placeholder="Search…" /> <button class="button button-search" type="submit" title="Search"> <span class="sr-only">Search</span> </button> <input type="hidden" name="sid" value="c49016a4c05cae586e05c28d4ad9dbf3" /> </fieldset> </form> </div> </div> </div> <div class="navbar" role="navigation"> <div class="inner"> <ul id="nav-main" class="nav-main linklist" role="menubar"> <li id="quick-links" class="quick-links dropdown-container responsive-menu hidden" data-skip-responsive="true"> <a href="#" class="dropdown-trigger"> <i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>Quick links</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents" role="menu"> <li class="separator"></li> <li> <a href="https://forums.veeam.com/memberlist.php" role="menuitem"> <i class="icon fa-group fa-fw" aria-hidden="true"></i><span>Members</span> </a> </li> <li> <a href="https://forums.veeam.com/the-team.html" role="menuitem"> <i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>The team</span> </a> </li> <li class="separator"></li> <li data-skip-responsive="true"> <a href="/help/faq?sid=c49016a4c05cae586e05c28d4ad9dbf3" rel="help" title="Frequently Asked Questions" role="menuitem"> <i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>FAQ</span> </a> </li> </ul> </div> </li> <li class="separator hidden-compact hidden-clone"></li> <li class="rightside" data-skip-responsive="true"> <a href="https://forums.veeam.com/ucp.php?mode=login&amp;redirect=https://forums.veeam.com/veeam-agents-for-linux-mac-aix-solaris-f41/report-for-a-backup-job-with-agent-of-a-linux-power-t97242.html&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Login" accesskey="x" role="menuitem"> <i class="icon fa-power-off fa-fw" aria-hidden="true"></i><span>Login</span> </a> </li> <li class="rightside" data-skip-responsive="true"> <a href="https://forums.veeam.com/ucp.php?mode=register&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" role="menuitem"> <i class="icon fa-pencil-square-o fa-fw" aria-hidden="true"></i><span>Register</span> </a> </li> </ul> </div> </div> <ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" role="menubar"> <li class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList" data-skip-responsive="true"> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope><a itemprop="item" href="https://forums.veeam.com/" accesskey="h" data-navbar-reference="index"><i class="icon fa-home fa-fw"></i><span itemprop="name">Main</span></a><meta itemprop="position" content="1" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="8"><a itemprop="item" href="https://forums.veeam.com/products-f8/"><span itemprop="name">Products</span></a><meta itemprop="position" content="2" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="41"><a itemprop="item" href="https://forums.veeam.com/veeam-agents-for-linux-mac-aix-solaris-f41/"><span itemprop="name">Veeam Agents for Linux, Mac, AIX &amp; Solaris</span></a><meta itemprop="position" content="3" /></span> </li> </ul> </div> <a id="start_here" class="anchor"></a> <div id="page-body" class="page-body" role="main"> <div class="social-icons-top-wrapper"> <h2 class="topic-title"><a href="https://forums.veeam.com/veeam-agents-for-linux-mac-aix-solaris-f41/report-for-a-backup-job-with-agent-of-a-linux-power-t97242.html">Report for a backup job with agent of a Linux Power</a></h2> </div> <!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body --> <div style="display: none !important;">Standalone backup agents for Linux, Mac, AIX &amp; Solaris workloads on-premises or in the public cloud<br /></div> <div class="action-bar bar-top"> <a href="https://forums.veeam.com/posting.php?mode=reply&amp;t=97242&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" class="button" title="Post a reply"> <span>Post Reply</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i> </a> <div class="dropdown-container dropdown-button-control topic-tools"> <span title="Topic tools" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-wrench fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li> <a href="https://forums.veeam.com/viewtopic.php?f=41&amp;t=97242&amp;view=print&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Print view" accesskey="p"> <i class="icon fa-print fa-fw" aria-hidden="true"></i><span>Print view</span> </a> </li> </ul> </div> </div> <div class="pagination"> 7 posts &bull; Page <strong>1</strong> of <strong>1</strong> </div> </div> <div id="p537870" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile537870"> <dt class="has-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="https://forums.veeam.com/member87726.html" class="username">GianlucaCroci</a> </dt> <dd class="profile-rank">Expert</dd> <dd class="profile-posts"><strong>Posts:</strong> 235</dd> <dd><strong>Liked:</strong><span class="user_like_87726"> 23 times</span></dd> <dd class="profile-joined"><strong>Joined:</strong> Feb 26, 2019 12:08 pm</dd> <dd class="profile-custom-field profile-fullname"><strong>Full Name:</strong> Gianluca Croci</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact GianlucaCroci"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact GianlucaCroci</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://forums.veeam.com/ucp.php?i=pm&amp;mode=compose&amp;action=quotepost&amp;p=537870&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Send private message" class="last-cell"> <span class="contact-icon pm-icon">Send private message</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content537870"> <h3 class="first"> <a href="https://forums.veeam.com/post537870.html#p537870">Report for a backup job with agent of a Linux Power</a> </h3> <ul class="post-buttons post-buttons-own-post"> <li class="button-quote"> <a href="https://forums.veeam.com/posting.php?mode=quote&amp;p=537870&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="https://forums.veeam.com/post537870.html#p537870" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="https://forums.veeam.com/member87726.html" class="username">GianlucaCroci</a></strong> &raquo; </span><time datetime="2025-01-22T13:42:17+00:00">Jan 22, 2025 1:42 pm</time> <span class="icon_like-icon" style="display: none;"><span></span><em id="post_like_537870" style="font-style:normal;"></em> this post</span> </p> <div class="content">For a month we've implemented the backup of some servers with Linux on Power processor.<br> As type, compared to "Windows Agent Backup", "Linux Agent Backup", "IBM AIX Agent Backup", in this case it is "<span style="font-weight:bold">Linux Agent Policy</span>".<br> <br> I've set the job so that it warns me if the backup has not been completed successfully, therefore "Warning" or "Error".<br> <br> However, I would like to receive a report (summary) once a week with the week's backups.<br> <br> I tried with the command "Get-VBRJob | Where-Object { $_.Name -match "Linux Power Backup" })" where I can extract something but it isn't the status of the backup but of the application of the configuration on the servers.<br> <br> How can I extract a list of all the backups, or rather of all the servers saved, by this backup policy, in a certain time range?<br> <br> Thanks in advance for the help.<br> regards</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p537876" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile537876"> <dt class="has-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="https://forums.veeam.com/member112581.html" style="color: #00AA00;" class="username-coloured">rovshan.pashayev</a> </dt> <dd class="profile-rank">Veeam Software</dd> <dd class="profile-posts"><strong>Posts:</strong> 485</dd> <dd><strong>Liked:</strong><span class="user_like_112581"> 99 times</span></dd> <dd class="profile-joined"><strong>Joined:</strong> Jul 03, 2023 12:44 pm</dd> <dd class="profile-custom-field profile-fullname"><strong>Full Name:</strong> Rovshan Pashayev</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> Czechia</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact rovshan.pashayev"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact rovshan.pashayev</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://forums.veeam.com/ucp.php?i=pm&amp;mode=compose&amp;action=quotepost&amp;p=537876&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Send private message" class="last-cell"> <span class="contact-icon pm-icon">Send private message</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content537876"> <h3 > <a href="https://forums.veeam.com/post537876.html#p537876">Re: Report for a backup job with agent of a Linux Power</a> </h3> <ul class="post-buttons post-buttons-own-post"> <li class="button-quote"> <a href="https://forums.veeam.com/posting.php?mode=quote&amp;p=537876&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="https://forums.veeam.com/post537876.html#p537876" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="https://forums.veeam.com/member112581.html" style="color: #00AA00;" class="username-coloured">rovshan.pashayev</a></strong> &raquo; </span><time datetime="2025-01-22T14:21:29+00:00">Jan 22, 2025 2:21 pm</time> <span class="icon_like-icon" style="display: none;"><span></span><em id="post_like_537876" style="font-style:normal;"></em> this post</span> </p> <div class="content">Hello Gianluca,<br> <br> Let me check your scenario, and I will get back to you.</div> <div id="sig537876" class="signature"><span style="color:#00BF00">Rovshan Pashayev<br> Analyst<br> Veeam Agent for Linux, Mac, AIX &amp; Solaris</span></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p537991" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile537991"> <dt class="has-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="https://forums.veeam.com/member112581.html" style="color: #00AA00;" class="username-coloured">rovshan.pashayev</a> </dt> <dd class="profile-rank">Veeam Software</dd> <dd class="profile-posts"><strong>Posts:</strong> 485</dd> <dd><strong>Liked:</strong><span class="user_like_112581"> 99 times</span></dd> <dd class="profile-joined"><strong>Joined:</strong> Jul 03, 2023 12:44 pm</dd> <dd class="profile-custom-field profile-fullname"><strong>Full Name:</strong> Rovshan Pashayev</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> Czechia</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact rovshan.pashayev"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact rovshan.pashayev</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://forums.veeam.com/ucp.php?i=pm&amp;mode=compose&amp;action=quotepost&amp;p=537991&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Send private message" class="last-cell"> <span class="contact-icon pm-icon">Send private message</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content537991"> <h3 > <a href="https://forums.veeam.com/post537991.html#p537991">Re: Report for a backup job with agent of a Linux Power</a> </h3> <ul class="post-buttons post-buttons-own-post"> <li class="button-quote"> <a href="https://forums.veeam.com/posting.php?mode=quote&amp;p=537991&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="https://forums.veeam.com/post537991.html#p537991" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="https://forums.veeam.com/member112581.html" style="color: #00AA00;" class="username-coloured">rovshan.pashayev</a></strong> &raquo; </span><time datetime="2025-01-24T06:57:30+00:00">Jan 24, 2025 6:57 am</time> <span class="icon_like-icon" style="display: none;"><span></span><em id="post_like_537991" style="font-style:normal;"></em> this post</span> </p> <div class="content">Hello Gianluca,<br> <br> Try following commands (all at once), which will output you name of machines, last creation time, and count of points.<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code>$job = Get-VBRComputerBackupJob -Name 'Linux Power Backup' $backups = Get-VBRBackup | where {$_.JobId -eq $job.Id} $rps = Get-VBRRestorePoint -Backup $backups $report = @() $rpsUnique = $rps | Select-Object -Property Name -Unique foreach ($rp in $rpsUnique) { $counter = ($rps | where {$_.Name -eq $rp.Name}).Count $lastTime = ($rps | sort -Property CreationTime -Descending | select -First 1).CreationTime $report += $rp | select Name, @{n='LastCreationTime';e={$lastTime}}, @{n='Count';e={$counter}} } $report </code></pre></div> I believe you can adjust commands to suit your needs <img class="smilies" src="https://forums.veeam.com/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div> <div id="sig537991" class="signature"><span style="color:#00BF00">Rovshan Pashayev<br> Analyst<br> Veeam Agent for Linux, Mac, AIX &amp; Solaris</span></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p538079" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile538079"> <dt class="has-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="https://forums.veeam.com/member87726.html" class="username">GianlucaCroci</a> </dt> <dd class="profile-rank">Expert</dd> <dd class="profile-posts"><strong>Posts:</strong> 235</dd> <dd><strong>Liked:</strong><span class="user_like_87726"> 23 times</span></dd> <dd class="profile-joined"><strong>Joined:</strong> Feb 26, 2019 12:08 pm</dd> <dd class="profile-custom-field profile-fullname"><strong>Full Name:</strong> Gianluca Croci</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact GianlucaCroci"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact GianlucaCroci</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://forums.veeam.com/ucp.php?i=pm&amp;mode=compose&amp;action=quotepost&amp;p=538079&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Send private message" class="last-cell"> <span class="contact-icon pm-icon">Send private message</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content538079"> <h3 > <a href="https://forums.veeam.com/post538079.html#p538079">Re: Report for a backup job with agent of a Linux Power</a> </h3> <ul class="post-buttons post-buttons-own-post"> <li class="button-quote"> <a href="https://forums.veeam.com/posting.php?mode=quote&amp;p=538079&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="https://forums.veeam.com/post538079.html#p538079" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="https://forums.veeam.com/member87726.html" class="username">GianlucaCroci</a></strong> &raquo; </span><time datetime="2025-01-27T06:37:23+00:00">Jan 27, 2025 6:37 am</time> <span class="icon_like-icon" style="display: none;"><span></span><em id="post_like_538079" style="font-style:normal;"></em> this post</span> </p> <div class="content">Hello,<br> thanks a lot. very good.<br> <br> it would be possible to have the last Status too? Because I just see the date and the numerb of backups... for each server<br> <blockquote class="uncited"><div>Name - LastCreationTime - Count<br> ---- ---------------- -----<br> server_1 - 27.01.2025 03:30:28 - 16<br> server_2 - 27.01.2025 03:30:28 - 16<br> server_3 - 27.01.2025 03:30:28 - 16<br> server_4 - 27.01.2025 03:30:28 - 16<br> server_5 - 27.01.2025 03:30:28 - 16 </div></blockquote> Thanks again</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p538089" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile538089"> <dt class="has-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="https://forums.veeam.com/member112581.html" style="color: #00AA00;" class="username-coloured">rovshan.pashayev</a> </dt> <dd class="profile-rank">Veeam Software</dd> <dd class="profile-posts"><strong>Posts:</strong> 485</dd> <dd><strong>Liked:</strong><span class="user_like_112581"> 99 times</span></dd> <dd class="profile-joined"><strong>Joined:</strong> Jul 03, 2023 12:44 pm</dd> <dd class="profile-custom-field profile-fullname"><strong>Full Name:</strong> Rovshan Pashayev</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> Czechia</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact rovshan.pashayev"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact rovshan.pashayev</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://forums.veeam.com/ucp.php?i=pm&amp;mode=compose&amp;action=quotepost&amp;p=538089&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Send private message" class="last-cell"> <span class="contact-icon pm-icon">Send private message</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content538089"> <h3 > <a href="https://forums.veeam.com/post538089.html#p538089">Re: Report for a backup job with agent of a Linux Power</a> </h3> <ul class="post-buttons post-buttons-own-post"> <li class="button-quote"> <a href="https://forums.veeam.com/posting.php?mode=quote&amp;p=538089&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="https://forums.veeam.com/post538089.html#p538089" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="https://forums.veeam.com/member112581.html" style="color: #00AA00;" class="username-coloured">rovshan.pashayev</a></strong> &raquo; </span><time datetime="2025-01-27T08:24:23+00:00">Jan 27, 2025 8:24 am</time> <span class="icon_like-icon" style="display: none;"><span></span><em id="post_like_538089" style="font-style:normal;"></em> this post</span> </p> <div class="content">Hello Gianluca,<br> <br> By "last status," do you mean <span style="font-weight:bold">the latest backup </span>result of each machine?</div> <div id="sig538089" class="signature"><span style="color:#00BF00">Rovshan Pashayev<br> Analyst<br> Veeam Agent for Linux, Mac, AIX &amp; Solaris</span></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p538092" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile538092"> <dt class="has-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="https://forums.veeam.com/member87726.html" class="username">GianlucaCroci</a> </dt> <dd class="profile-rank">Expert</dd> <dd class="profile-posts"><strong>Posts:</strong> 235</dd> <dd><strong>Liked:</strong><span class="user_like_87726"> 23 times</span></dd> <dd class="profile-joined"><strong>Joined:</strong> Feb 26, 2019 12:08 pm</dd> <dd class="profile-custom-field profile-fullname"><strong>Full Name:</strong> Gianluca Croci</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact GianlucaCroci"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact GianlucaCroci</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://forums.veeam.com/ucp.php?i=pm&amp;mode=compose&amp;action=quotepost&amp;p=538092&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Send private message" class="last-cell"> <span class="contact-icon pm-icon">Send private message</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content538092"> <h3 > <a href="https://forums.veeam.com/post538092.html#p538092">Re: Report for a backup job with agent of a Linux Power</a> </h3> <ul class="post-buttons post-buttons-own-post"> <li class="button-quote"> <a href="https://forums.veeam.com/posting.php?mode=quote&amp;p=538092&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="https://forums.veeam.com/post538092.html#p538092" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="https://forums.veeam.com/member87726.html" class="username">GianlucaCroci</a></strong> &raquo; </span><time datetime="2025-01-27T08:27:44+00:00">Jan 27, 2025 8:27 am</time> <span class="icon_like-icon" style="display: none;"><span></span><em id="post_like_538092" style="font-style:normal;"></em> this post</span> </p> <div class="content">Hello,<br> <br> yes, true. So I can know if there was a Warning or Error.<br> <br> Thanks</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p538702" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile538702"> <dt class="has-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="https://forums.veeam.com/member112581.html" style="color: #00AA00;" class="username-coloured">rovshan.pashayev</a> </dt> <dd class="profile-rank">Veeam Software</dd> <dd class="profile-posts"><strong>Posts:</strong> 485</dd> <dd><strong>Liked:</strong><span class="user_like_112581"> 99 times</span></dd> <dd class="profile-joined"><strong>Joined:</strong> Jul 03, 2023 12:44 pm</dd> <dd class="profile-custom-field profile-fullname"><strong>Full Name:</strong> Rovshan Pashayev</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> Czechia</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact rovshan.pashayev"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact rovshan.pashayev</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://forums.veeam.com/ucp.php?i=pm&amp;mode=compose&amp;action=quotepost&amp;p=538702&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Send private message" class="last-cell"> <span class="contact-icon pm-icon">Send private message</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content538702"> <h3 > <a href="https://forums.veeam.com/post538702.html#p538702">Re: Report for a backup job with agent of a Linux Power</a> </h3> <p class="author"> <a class="unread" href="https://forums.veeam.com/post538702.html#p538702" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="https://forums.veeam.com/member112581.html" style="color: #00AA00;" class="username-coloured">rovshan.pashayev</a></strong> &raquo; </span><time datetime="2025-02-03T15:23:40+00:00">Feb 03, 2025 3:23 pm</time> <span class="icon_like-icon" style="display: none;"><span></span><em id="post_like_538702" style="font-style:normal;"></em> this post</span> </p> <div class="content">Hello Gianluca,<br> <br> Try following commands:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code>$job = Get-VBRComputerBackupJob -Name 'Linux Power Backup' $backups = Get-VBRBackup | where {$_.JobId -eq $job.Id} $lastSession = Get-VBRComputerBackupJobSession | where {$_.JobId -eq $job.Id} | select -First 1 $rps = Get-VBRRestorePoint -Backup $backups $report = @() $rpsUnique = $rps | Select-Object -Property Name -Unique foreach ($rp in $rpsUnique) { $counter = ($rps | where {$_.Name -eq $rp.Name}).Count $lastTime = ($rps | sort -Property CreationTime -Descending | select -First 1).CreationTime $report += $rp | select Name, @{n='LastCreationTime';e={$lastTime}}, @{n='Count';e={$counter}}, @{n='LastResult';e={$lastSession.Result}} } $report</code></pre></div> Let us know the result.</div> <div id="sig538702" class="signature"><span style="color:#00BF00">Rovshan Pashayev<br> Analyst<br> Veeam Agent for Linux, Mac, AIX &amp; Solaris</span></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div class="action-bar bar-bottom"> <a href="https://forums.veeam.com/posting.php?mode=reply&amp;t=97242&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" class="button" title="Post a reply"> <span>Post Reply</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i> </a> <div class="dropdown-container dropdown-button-control topic-tools"> <span title="Topic tools" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-wrench fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li> <a href="https://forums.veeam.com/viewtopic.php?f=41&amp;t=97242&amp;view=print&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Print view" accesskey="p"> <i class="icon fa-print fa-fw" aria-hidden="true"></i><span>Print view</span> </a> </li> </ul> </div> </div> <form method="post" action="https://forums.veeam.com/veeam-agents-for-linux-mac-aix-solaris-f41/report-for-a-backup-job-with-agent-of-a-linux-power-t97242.html"> <div class="dropdown-container dropdown-container-left dropdown-button-control sort-tools"> <span title="Display and sorting options" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-sort-amount-asc fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown hidden"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents"> <fieldset class="display-options"> <label>Display: <select name="st" id="st"><option value="0" selected="selected">All posts</option><option value="1">1 day</option><option value="7">7 days</option><option value="14">2 weeks</option><option value="30">1 month</option><option value="90">3 months</option><option value="180">6 months</option><option value="365">1 year</option></select></label> <label>Sort by: <select name="sk" id="sk"><option value="a">Author</option><option value="t" selected="selected">Post time</option><option value="s">Subject</option></select></label> <label>Direction: <select name="sd" id="sd"><option value="a" selected="selected">Ascending</option><option value="d">Descending</option></select></label> <hr class="dashed" /> <input type="submit" class="button2" name="sort" value="Go" /> </fieldset> </div> </div> </div> </form> <div class="pagination"> 7 posts &bull; Page <strong>1</strong> of <strong>1</strong> </div> </div> <div class="action-bar actions-jump"> <p class="jumpbox-return"> <a href="https://forums.veeam.com/veeam-agents-for-linux-mac-aix-solaris-f41/" class="left-box arrow-left" accesskey="r"> <i class="icon fa-angle-left fa-fw icon-black" aria-hidden="true"></i><span>Return to “Veeam Agents for Linux, Mac, AIX &amp; Solaris”</span> </a> </p> <br /><br /> </div> <div class="stat-block online-list"> <h3><a href="./../viewonline.php?sid=c49016a4c05cae586e05c28d4ad9dbf3">Who is online</a></h3> <p>Users browsing this forum: <span style="color: #9E8DA7;" class="username-coloured">Baidu [Spider]</span> and 6 guests</p> </div> </div> <div id="page-footer" class="page-footer" role="contentinfo"> <div class="navbar" role="navigation"> <div class="inner"> <ul id="nav-footer" class="nav-footer linklist" role="menubar"> <li class="breadcrumbs"> <span class="crumb"><a href="https://forums.veeam.com/" data-navbar-reference="index"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span>Main</span></a></span> </li> <li class="rightside">All times are <span title="UTC">UTC</span></li> <li class="rightside"> <a href="https://forums.veeam.com/ucp.php?mode=delete_cookies&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" data-ajax="true" data-refresh="true" role="menuitem"> <i class="icon fa-trash fa-fw" aria-hidden="true"></i><span>Delete cookies</span> </a> </li> <li class="rightside" data-last-responsive="true"> <a href="https://forums.veeam.com/memberlist.php" title="View complete list of members" role="menuitem"> <i class="icon fa-group fa-fw" aria-hidden="true"></i><span>Members</span> </a> </li> <li class="rightside" data-last-responsive="true"> <a href="https://forums.veeam.com/the-team.html" role="menuitem"> <i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>The team</span> </a> </li> <li class="rightside" data-last-responsive="true"> <a href="https://forums.veeam.com/memberlist.php?mode=contactadmin" role="menuitem"> <i class="icon fa-envelope fa-fw" aria-hidden="true"></i><span>Contact us</span> </a> </li> </ul> </div> </div> <div class="copyright"> <p class="copyright__disclaimer">DISCLAIMER: All feature and release plans are subject to change without notice. </p> <p class="footer-row"> <span class="footer-copyright">Powered by <a href="https://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Limited</span> </p> <p class="footer-row" role="menu"> <a class="footer-link" href="https://www.veeam.com/privacy-policy.html" title="Privacy" role="menuitem"> <span class="footer-link-text">Privacy</span> </a> | <a class="footer-link" href="https://forums.veeam.com/ucp.php?mode=terms&amp;sid=c49016a4c05cae586e05c28d4ad9dbf3" title="Terms" role="menuitem"> <span class="footer-link-text">Terms</span> </a> <span id="js-cookie-consent-link" style="display: none;"> | <a href="javascript:void(0)" id="csconsentlink">Cookie Settings</a> </span> </p> </div> <div id="darkenwrapper" class="darkenwrapper" data-ajax-error-title="AJAX error" data-ajax-error-text="Something went wrong when processing your request." data-ajax-error-text-abort="User aborted request." data-ajax-error-text-timeout="Your request timed out; please try again." data-ajax-error-text-parsererror="Something went wrong with the request and the server returned an invalid reply."> <div id="darken" class="darken">&nbsp;</div> </div> <div id="phpbb_alert" class="phpbb_alert" data-l-err="Error" data-l-timeout-processing-req="Request timed out."> <a href="#" class="alert_close"> <i class="icon fa-times-circle fa-fw" aria-hidden="true"></i> </a> <h3 class="alert_title">&nbsp;</h3><p class="alert_text"></p> </div> <div id="phpbb_confirm" class="phpbb_alert"> <a href="#" class="alert_close"> <i class="icon fa-times-circle fa-fw" aria-hidden="true"></i> </a> <div class="alert_text"></div> </div> </div> </div> <div> <a id="bottom" class="anchor" accesskey="z"></a> </div> <script src="//js.veeam.com/forums/min/jquery-3.6.0.min.js?assets_version=276"></script> <script src="//js.veeam.com/forums/min/core.min.js?assets_version=1428"></script> <!--production js--> <script src="//js.veeam.com/forums/min/ajax.min.js?assets_version=1428"></script> <!-- /** * * @package Ultimate phpBB SEO Friendly URL * @version $$ * @copyright (c) 2017 www.phpbb-seo.org * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * */ --> <script type="text/javascript"> // <![CDATA[ var phpbb_seo = { delim_start:'-', static_pagination:'page', ext_pagination:'.html', external:'1', external_sub:'', ext_classes:'', hashfix:'1', phpEx:'php' }; // ]]> </script> <script src="//js.veeam.com/forums/min/forum_fn.min.js?assets_version=1428"></script> <script src="//js.veeam.com/forums/min/phpbb_seo.min.js"></script> <script> function like_post(post_id) { $.ajax({ url: "/posts/"+post_id+"/like", type: "POST", dataType: "json", success: function(data) { update_post_like_count(data.post.id, data.post.template); update_user_like_count(data.poster.id, data.poster.template); update_link(data.post.id, data.post.title, data.post.css_class, data.post.liked); } }) } function update_post_like_count(post_id, likes) { var post_like_container = $('#post_like_'+post_id); if (likes) { post_like_container.parent().show(); } else { post_like_container.parent().hide(); } post_like_container.text(likes); } function update_user_like_count(poster_id, likes) { $('.user_like_'+poster_id).each(function(){ $(this).text(likes); }); } function update_link(post_id, title, css_class, liked) { $('#like_'+post_id+' a').attr('title', title).toggleClass('link-liked', !liked); $('#like_'+post_id+' a').attr('class', css_class); $('#like_'+post_id+' a span').text(title); } </script> <!--Start Cookie Script--> <script> window.addEventListener('CookieScriptLoaded', function() { var cookieLinkContainer = document.getElementById('js-cookie-consent-link'); if (cookieLinkContainer) { cookieLinkContainer.style.display = 'inline'; } }); </script> <style> #cookiescript_badge { display: none !important; } </style> <!--End Cookie Script--> <!--Start hCaptcha--> <script src="https://js.hcaptcha.com/1/api.js" async defer></script> <div class="h-captcha" data-sitekey="67c3a224-589b-4df3-a569-82009cbcb8fa" data-size="invisible"></div> <!--End hCaptcha--> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10