PowerShell script exchange
Post Reply
GordA
Influencer
Posts: 16
Liked: 2 times
Joined: Nov 12, 2015 9:14 pm
Full Name: Gordon Armstrong
Contact:

Powershell to set Monthly retention on job data

Post by GordA »

Hello to all,

Is there a way to use Powershell, or another method, to set specific job data as a monthly or yearly, if the regularly scheduled Monthly/Yearly jobs have issues?

Thanks.

G.
HannesK
Product Manager
Posts: 14321
Liked: 2890 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Powershell to set Monthly retention on job data

Post by HannesK »

Hello,
I'm not 100% whether I understand the question. Is it just about how to set it with PowerShell? If yes, then post377440.html#p377440 has the answer

Or is it about the "issues"?

Best regards,
Hannes
GordA
Influencer
Posts: 16
Liked: 2 times
Joined: Nov 12, 2015 9:14 pm
Full Name: Gordon Armstrong
Contact:

Re: Powershell to set Monthly retention on job data

Post by GordA »

Thanks Hannes,

I am referring to the ability to flag backups as Monthly or Yearly after they have run. We already have our retention values set for our copy jobs, 12 M, 7Y, but occasionally our chain(s) can get corrupted or we have other issues with our offsite Veeam provider, which we work with them on correcting, but this leads us to want to manually set a full job that did run successfully as a M or Y.

G.
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell to set Monthly retention on job data

Post by veremin »

No, you cannot achieve this via PowerShell.

One solution might be to use Export to .vbk feature and preserve the resulting restore point for as long as you want to.

Thanks!
GordA
Influencer
Posts: 16
Liked: 2 times
Joined: Nov 12, 2015 9:14 pm
Full Name: Gordon Armstrong
Contact:

Re: Powershell to set Monthly retention on job data

Post by GordA » 1 person likes this post

Ok, thanks.


G.
Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests