PowerShell script exchange
Post Reply
Berkovska
Service Provider
Posts: 39
Liked: 2 times
Joined: May 30, 2018 10:39 am
Full Name: Berkovska
Contact:

Synthetic full for Cloud backup copy job?

Post by Berkovska » Jan 22, 2019 9:04 am

Hi there,
I need an advice here. We have a request to backup daily to the Cloud with 1 year retention.
Chain with over 300 increments wouldnt be not be so great, so the decision was to run full backups every month. In order to do so I added script to the copy job which will be triggered every 30 days:
$copyjob = Get-VBRJob -Name "OFFsite Job"
Sync-VBRBackupCopyJob -Job $copyjob -FullBackup

Now, this would start an active full which takes over one day and is not an option in our case.
The question is - is there any possible way to have Backup copy job create synthetic full instead?

Any advice is highly appreciated!
Thank you

veremin
Product Manager
Posts: 17070
Liked: 1475 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin » Jan 22, 2019 11:44 am

Nope, unless you use monthly GFS retention scheme.

However, in this case synthetic full is likely to take the same time as active full does due to monthly worth amount of changes.

Thanks!

Berkovska
Service Provider
Posts: 39
Liked: 2 times
Joined: May 30, 2018 10:39 am
Full Name: Berkovska
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by Berkovska » Jan 22, 2019 12:28 pm

Well GFS will not change anything in the current chain.
Okay than another thing would be - how can i make active full in copy job run till it finishes vs. failing when interval is over. I assume those incomplete Full are not useful.

veremin
Product Manager
Posts: 17070
Liked: 1475 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin » Jan 22, 2019 1:34 pm

My assumption was that to use GFS you would still need to run backup job, say, daily, and the time of GFS restore point creation amount of changes generated would be minimal. So, the process would not take long, as long as target storage copes with random IOPS well. Thanks!

Berkovska
Service Provider
Posts: 39
Liked: 2 times
Joined: May 30, 2018 10:39 am
Full Name: Berkovska
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by Berkovska » Jan 22, 2019 2:09 pm

Ya GFS is not an option.
I need Backup copy job to run full job (active or synthetic) every 30 days and complete within 1 day interval or just run till its completed.
How to make it happen, anyone?

veremin
Product Manager
Posts: 17070
Liked: 1475 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin » Jan 22, 2019 2:56 pm

What is the bottleneck? Bandwidth? If so, then, the only option will be to improve it. Thanks!

Berkovska
Service Provider
Posts: 39
Liked: 2 times
Joined: May 30, 2018 10:39 am
Full Name: Berkovska
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by Berkovska » Jan 22, 2019 4:57 pm

Is there a way to change Backup copy interval using powershell?

veremin
Product Manager
Posts: 17070
Liked: 1475 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin » Jan 22, 2019 5:04 pm 1 person likes this post

Check the following example:

Code: Select all

Asnp VeeamPSSnapin
$Job = Get-VBRJob -name "Name of your backup copy Job"
$Options = $Job.GetOptions()
$Options.generationpolicy.RecoveryPointObjectiveUnit = "Day"
$Options.generationpolicy.RecoveryPointObjectiveValue = "Number of days"
Set-VBRJobOptions -Job $Job -Options $Options
Thanks!

Berkovska
Service Provider
Posts: 39
Liked: 2 times
Joined: May 30, 2018 10:39 am
Full Name: Berkovska
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by Berkovska » Jan 24, 2019 9:42 am

Thank you v.Eremin! That worked amazing.
Where is those powershell objects info on the website?
Thanks again

veremin
Product Manager
Posts: 17070
Liked: 1475 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin » Jan 24, 2019 9:54 am 1 person likes this post

We don't have those documented, but it should not hard to get them by using Get-Help, Get-Command and Get-Member cmdlets. Thanks!

Post Reply

Who is online

Users browsing this forum: Kevin.OBrien and 2 guests