Update a VM attribute after a replica job.

PowerShell script exchange

Update a VM attribute after a replica job.

Veeam Logoby pwalsh » Wed Nov 09, 2016 10:30 am

Hey Guys.

Currently after a backup job Veeam updates a custom Virtual Machine field called Backup-Status with the backup job name and last successful backup, this option is set on the notification tab in the backup job properties.
No such option exists for replication, can you advise if its possible with a post job script to update a second Virtual Machine attribute field with replica job name and status for each VM in the replica job? and if so, how i might do this on Veeam 9.0.2

Thanks.
pwalsh
Novice
 
Posts: 3
Liked: never
Joined: Wed Jun 24, 2015 10:29 am
Full Name: Paul Walsh

Re: Update a VM attribute after a replica job.

Veeam Logoby v.Eremin » Wed Nov 09, 2016 10:53 am

Backup Job updates "Notes" attribute of Virtual Machine. You can emulate the very same behaviour by using VMware PowerCLI Set-VM commandlet with -Notes parameter in place. Thanks.
v.Eremin
Veeam Software
 
Posts: 13279
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] Replicate the VM attribute field

Veeam Logoby bruceb » Wed Mar 29, 2017 12:39 pm

We're using the VM attribute field to notate on the production VMs when backups are taking place. Those VMs are then replicated offsite - some with source VMs, some with source backup files.

Is there any way to get the VM attribute field to replicate with the VM? I would like to be able to look at the same field on the target replica and see the point in time that the data was last captured, so we know what point in time we're at if we have to utilize the target replica VM.

Thanks!
bruceb
Novice
 
Posts: 4
Liked: never
Joined: Mon Dec 29, 2014 5:36 pm
Full Name: Bruce Barnett

Re: Update a VM attribute after a replica job.

Veeam Logoby Vitaliy S. » Wed Mar 29, 2017 8:02 pm

Hi Bruce, there is no way to this out-of-the box, but you can try to use the solution suggested above by Vladimir.
Vitaliy S.
Veeam Software
 
Posts: 19564
Liked: 1103 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov


Return to PowerShell



Who is online

Users browsing this forum: Google [Bot] and 6 guests