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

Synthetic full for Cloud backup copy job?

Post by Berkovska »

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: 20271
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin »

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: 44
Liked: 4 times
Joined: May 30, 2018 10:39 am
Full Name: Berkovska
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by Berkovska »

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: 20271
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin »

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: 44
Liked: 4 times
Joined: May 30, 2018 10:39 am
Full Name: Berkovska
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by Berkovska »

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: 20271
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin »

What is the bottleneck? Bandwidth? If so, then, the only option will be to improve it. Thanks!
Berkovska
Service Provider
Posts: 44
Liked: 4 times
Joined: May 30, 2018 10:39 am
Full Name: Berkovska
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by Berkovska »

Is there a way to change Backup copy interval using powershell?
veremin
Product Manager
Posts: 20271
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin » 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: 44
Liked: 4 times
Joined: May 30, 2018 10:39 am
Full Name: Berkovska
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by Berkovska »

Thank you v.Eremin! That worked amazing.
Where is those powershell objects info on the website?
Thanks again
veremin
Product Manager
Posts: 20271
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Synthetic full for Cloud backup copy job?

Post by veremin » 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: No registered users and 20 guests