Business categorization for your virtual environment
Post Reply
t481
Enthusiast
Posts: 50
Liked: never
Joined: Apr 28, 2015 7:52 am
Contact:

Last backup using NetBackup Grouping Expression

Post by t481 » 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?

Vitaliy S.
Veeam Software
Posts: 21617
Liked: 1290 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Last backup using NetBackup Grouping Expression

Post by Vitaliy S. » 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!

t481
Enthusiast
Posts: 50
Liked: never
Joined: Apr 28, 2015 7:52 am
Contact:

Re: Last backup using NetBackup Grouping Expression

Post by t481 » 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?

Vitaliy S.
Veeam Software
Posts: 21617
Liked: 1290 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Last backup using NetBackup Grouping Expression

Post by Vitaliy S. » 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?

t481
Enthusiast
Posts: 50
Liked: never
Joined: Apr 28, 2015 7:52 am
Contact:

Re: Last backup using NetBackup Grouping Expression

Post by t481 » 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

Vitaliy S.
Veeam Software
Posts: 21617
Liked: 1290 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Last backup using NetBackup Grouping Expression

Post by Vitaliy S. » 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?

t481
Enthusiast
Posts: 50
Liked: never
Joined: Apr 28, 2015 7:52 am
Contact:

Re: Last backup using NetBackup Grouping Expression

Post by t481 » 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.

Vitaliy S.
Veeam Software
Posts: 21617
Liked: 1290 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Last backup using NetBackup Grouping Expression

Post by Vitaliy S. » 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.

t481
Enthusiast
Posts: 50
Liked: never
Joined: Apr 28, 2015 7:52 am
Contact:

Re: Last backup using NetBackup Grouping Expression

Post by t481 » Jun 20, 2017 10:55 am

Thanks @Vitality

I've raised Case #02194629 for this. Thank you.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest