Last backup using NetBackup Grouping Expression

Business categorization for your virtual environment

Last backup using NetBackup Grouping Expression

Veeam Logoby t481 » Sat Aug 20, 2016 12:36 pm

Hi,
I'm trying to amend the last backup date to show VMs backed up using NetBackup which we use in addition to Veeam B&R. I tried amending the Grouping Expression as follows:

CASE
WHEN LastBackupDate > DateAdd(Today, -1, "d") THEN "VMs with daily backup"
WHEN LastBackupDate > DateAdd(Today, -7, "d") THEN "VMs with weekly backup"
WHEN ToDate(CustomAttribute("NB_LAST_BACKUP")) > DateAdd(Today, -1, "d") THEN "VMS with NetBackup"
ELSE "VMs with no backups"
END

The idea is that it would convert to date the value in the NB_LAST_BACKUP then report accordingly. It doesn't seem to work. What am I doing wrong and how can I fix this?
t481
Enthusiast
 
Posts: 30
Liked: never
Joined: Tue Apr 28, 2015 7:52 am

Re: Last backup using NetBackup Grouping Expression

Veeam Logoby Vitaliy S. » Sun Aug 21, 2016 12:48 pm

Hi,

Can you please confirm that you have custom attributes containing NetBackup data collected in Veeam ONE? When you type in this expression, do you see any error message?

Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19770
Liked: 1120 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Last backup using NetBackup Grouping Expression

Veeam Logoby t481 » Mon Aug 22, 2016 11:29 pm

I don't know. How can I check this? I assumed the Veeam ONE collects everything! If not, how can I tell it to do so?
t481
Enthusiast
 
Posts: 30
Liked: never
Joined: Tue Apr 28, 2015 7:52 am

Re: Last backup using NetBackup Grouping Expression

Veeam Logoby Vitaliy S. » Tue Aug 23, 2016 12:05 pm

Can you please try to type in just this expression - CustomAttribute("NB_LAST_BACKUP")? Do you see any groups created based on the returned values?
Vitaliy S.
Veeam Software
 
Posts: 19770
Liked: 1120 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Last backup using NetBackup Grouping Expression

Veeam Logoby t481 » Tue Aug 30, 2016 12:12 pm

I've done that and now I'm only seeing "VMs with Weekly backup"

CASE
WHEN LastBackupDate > DateAdd(Today, -1, "d") THEN "VMs with daily backup"
WHEN LastBackupDate > DateAdd(Today, -7, "d") THEN "VMs with weekly backup"
WHEN CustomAttribute("NB_LAST_BACKUP") THEN "VMS with NetBackup"
ELSE "VMs with no backups"
END
t481
Enthusiast
 
Posts: 30
Liked: never
Joined: Tue Apr 28, 2015 7:52 am

Re: Last backup using NetBackup Grouping Expression

Veeam Logoby Vitaliy S. » Wed Sep 07, 2016 2:25 pm

Actually, this is not what I meant. Can you please just type this - CustomAttribute("NB_LAST_BACKUP")? Does it return any values?
Vitaliy S.
Veeam Software
 
Posts: 19770
Liked: 1120 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Last backup using NetBackup Grouping Expression

Veeam Logoby t481 » Mon Jun 19, 2017 2:13 pm

CASE
WHEN CustomAttribute("NB_LAST_BACKUP") THEN "VMS with NetBackup"
END

Does not work. I get an error "invalid grouping expression"

Any chance we can get support to expedite this? I appreciate I've left it for a while as I had more pressing issues.
t481
Enthusiast
 
Posts: 30
Liked: never
Joined: Tue Apr 28, 2015 7:52 am

Re: Last backup using NetBackup Grouping Expression

Veeam Logoby Vitaliy S. » Mon Jun 19, 2017 3:45 pm

Yes, sure our support team can assist you with this. Please open a case and tell me your case ID, so I could route your request to the corresponding team.
Vitaliy S.
Veeam Software
 
Posts: 19770
Liked: 1120 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Last backup using NetBackup Grouping Expression

Veeam Logoby t481 » Tue Jun 20, 2017 10:55 am

Thanks @Vitality

I've raised Case #02194629 for this. Thank you.
t481
Enthusiast
 
Posts: 30
Liked: never
Joined: Tue Apr 28, 2015 7:52 am


Return to Business View



Who is online

Users browsing this forum: No registered users and 2 guests