PowerShell script exchange
Post Reply
hayliz
Service Provider
Posts: 45
Liked: 8 times
Joined: Jun 27, 2022 8:12 am
Full Name: Abdull
Contact:

Backup Copy GFS Options

Post by hayliz »

Hello everyone,
I have written a script with which I create copy jobs. I set the GFS options. This is working very well so far. My copy target is hardened repository.
What I have noticed, however, is that when I want to set up the copy job on the gui without GFS, I get the message: “Immutable backups feature requires the GFS retention policy enabled in the Backup Copy job settings.”
This can be bypassed with powershell. E.g. with the following lines.

$backupCopyJobs = Get-VBRBackupCopyJob -Name "test"
$gfsOptions = New-VBRComputerGFSOptions
Set-VBRBackupCopyJob -Job $backupCopyJobs -GFSOptions $gfsOptions

As a result, the check mark for GFS remains active, but no weekly, monthly and yearly backups are set up.
My question here is if this is intended and if I could have disadvantages because of e.g. immutability, retention etc.?

Thank you in advance!
david.domask
Veeam Software
Posts: 2644
Liked: 613 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Backup Copy GFS Options

Post by david.domask »

Hi hayliz,

It's a requirement for Hardened Repositories to periodically produce a full backup (active or synthetic), and same goes for Backup Copies. Your workaround will suppress the warning, correct, but it will leave the chain acting as Forever Forward Incremental that never merges, and you will end up with very long chains.

I would advise against the strategy as per the User Guide it results in an unsupported configuration, and may lead to unpredictable or difficult to manage issues down the line. If your hardened repository supports Fast Clone, then the default option of Synthetic GFS points should be enough and the Synthetic Fulls will be "space-less". (about the size of an increment)
David Domask | Product Management: Principal Analyst
hayliz
Service Provider
Posts: 45
Liked: 8 times
Joined: Jun 27, 2022 8:12 am
Full Name: Abdull
Contact:

Re: Backup Copy GFS Options

Post by hayliz » 1 person likes this post

Hello David,
thank you very much for your feedback. We have activated GFS anyway. I was just surprised that it works.
Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests