PowerShell script exchange
Post Reply
maanlicht
Enthusiast
Posts: 26
Liked: 5 times
Joined: Apr 05, 2023 1:06 pm
Full Name: maanlicht
Contact:

Getting session logs for GFS trough powershell

Post by maanlicht »

Background:
I recently implemented a GFS routine using synthetic fulls for some data I need to store long term. I would like to monitor the successful creation of these weekly GFS backups to guarantee I am covered long term. I am aware Veeam One has some possibilities here but I dont have it and am currently not interrested.

Challange:
Since GFS is a routine that runs on top of the normal routines. This means the logs for backups sessions get mixed for both routines. In the Veeam console I can clearly identify GFS backups if I look at the properties of the backupset. They are marked with an 'M' in the retention column.

Question:
Is there a powershell way to get or filter the sessions of GFS backups? I am specifically looking for the result of these sessions and its dates.
david.domask
Veeam Software
Posts: 1226
Liked: 322 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Getting session logs for GFS trough powershell

Post by david.domask » 1 person likes this post

Hi @maanlicht,

As you noted, the Synthetic Full process is a sub-task (vaguely) of a normal job, so right now I'm not aware of supported ways of tracking this.

post449831.html#p449831

You can use an unsupported method from the link above; filter on the outputs from GetRecordsSortedByOrdinalID() (I usually just validate the title with some regex to capture the Synthetic Full entries), and then report based on the session result.
David Domask | Product Management: Principal Analyst
maanlicht
Enthusiast
Posts: 26
Liked: 5 times
Joined: Apr 05, 2023 1:06 pm
Full Name: maanlicht
Contact:

Re: Getting session logs for GFS trough powershell

Post by maanlicht »

Great! I'll give that a shot! Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests