Replicate from Backup after Backup Copy Job

Availability for the Always-On Enterprise

Replicate from Backup after Backup Copy Job

Veeam Logoby haslund » Tue Dec 23, 2014 11:23 am

Hello,

I am running a Backup Copy Job from Production Site to a Backup Repository in DR site.
Next I have a Replication Job set to use the DR site backup repository as source.

Is it not possible to schedule (daisy chain) the Replication Job to run as soon as the Backup Copy Job is completed?

I guess I could use a Post Job powershell script, but I would prefer to keep this in GUI.
Rasmus Haslund
Principal Technologist, Global Education Services @ Veeam Software
Veeam Certified Architect #1 | Veeam Certified Trainer #4 [v7,v8,v9] | Veeam Certified Trainer Mentor #1
Twitter: @haslund
Blog: www.perfectcloud.org
haslund
Veeam Software
 
Posts: 268
Liked: 50 times
Joined: Thu Feb 16, 2012 7:35 am
Location: Denmark
Full Name: Rasmus Haslund

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby foggy » Tue Dec 23, 2014 11:53 am

Rasmus, you're correct, you cannot schedule another job to be executed after it via GUI. However you can specify the script that triggers replication job and runs after each backup copy job synchronization session.
foggy
Veeam Software
 
Posts: 14724
Liked: 1076 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby zmedgyesi » Tue Dec 30, 2014 3:43 pm

It would be nice to have this feature... May we call it a feature request? :)
zmedgyesi
Novice
 
Posts: 4
Liked: 2 times
Joined: Sat Dec 06, 2014 10:04 pm

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby foggy » Tue Dec 30, 2014 3:46 pm

Sure. Thank you both for the feedback.
foggy
Veeam Software
 
Posts: 14724
Liked: 1076 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby v.Eremin » Wed Dec 31, 2014 10:07 am

As to the scripting approach, it’s just a matter of checking whether the latest backup copy job’s session is finished and executing a replication job in accordance via Start-VBRJob commandlet. Thanks.
v.Eremin
Veeam Software
 
Posts: 13260
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] Feature request? Chain replica from Backup Copy Job

Veeam Logoby pkelly_sts » Mon Feb 29, 2016 10:47 am

I now have my replicas (from backup copy) running smoothly immediately after backup copy jobs as part of the post-job script but I was wondering if there's a specific reason why we can't simply schedule replica jobs to run after copy jobs the same way we can schedule them to run after backup jobs as part of the "After this job" scheduling option?

After looking into the 15 min timeout warning I'd noticed a few replies to copy job questions where the Veeam people were suggesting trying to avoid script jobs (in the right circumstances) to avoid additional monitoring etc.

I'm guessing there must be a good reason...
[New Sig: PLEASE get GFS tape support for incrementals!!!]
pkelly_sts
Expert
 
Posts: 500
Liked: 54 times
Joined: Thu Jun 13, 2013 10:08 am
Full Name: Paul Kelly

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby foggy » Mon Feb 29, 2016 11:21 am

Paul, since backup copy runs continuously, "after this job" concept is not applicable to it. However, using post-job script option allows you to achieve what you're after.
foggy
Veeam Software
 
Posts: 14724
Liked: 1076 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby pkelly_sts » Mon Feb 29, 2016 1:38 pm

OK, well I'll add my weight to the feature request then :) If there's such a concept of a post-job script then I don't really understand why we can't have a post-job schedule... :)
[New Sig: PLEASE get GFS tape support for incrementals!!!]
pkelly_sts
Expert
 
Posts: 500
Liked: 54 times
Joined: Thu Jun 13, 2013 10:08 am
Full Name: Paul Kelly

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby foggy » Mon Feb 29, 2016 3:27 pm

Script runs after each job synchronization session and is considered a part of the job (i.e. for the job to have Success status, it is required that the script returns zero error code), while the continuous backup copy job itself does not have an "end", unlike regular backup job. Anyway, thanks for your feedback.
foggy
Veeam Software
 
Posts: 14724
Liked: 1076 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

[MERGED] Feature Request: Backup Copy jobs in Replication Sc

Veeam Logoby lepphce1 » Tue Nov 22, 2016 3:47 pm

Hello,
I'm using replication at our DR site, using a previous backup copy to the site as the source. It works really well!

But I would like the option in scheduling to run after the backup copy job is complete. Currently my only option for scheduling "After this job" is after a backup job. The problem is, if I run a daily schedule, if the backup copy takes longer than expected, then the replication job runs before the copy is complete and does not do anything because the latest restore point is already replicated. If I have the option to run "After this Job" and the ability to select the backup copy, then I am assured there is a new restore point to replicate.

Make sense or am I missing something? I think this would be a really useful function. Apologies if this has already been asked, Thanks!
lepphce1
Enthusiast
 
Posts: 30
Liked: 2 times
Joined: Tue Jun 28, 2016 4:40 pm

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby foggy » Tue Nov 22, 2016 3:55 pm

Please review this thread for the workaround. Thanks.
foggy
Veeam Software
 
Posts: 14724
Liked: 1076 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby lepphce1 » Tue Nov 22, 2016 5:58 pm

Thanks, explanation understood and I will look at implementing a script. It would be cool if there was some way to implement similar functionality via the GUI. Thanks!
lepphce1
Enthusiast
 
Posts: 30
Liked: 2 times
Joined: Tue Jun 28, 2016 4:40 pm

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby foggy » Tue Nov 22, 2016 5:59 pm

Thanks for the feedback, your request is accepted.
foggy
Veeam Software
 
Posts: 14724
Liked: 1076 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Replicate from Backup after Backup Copy Job

Veeam Logoby antipolis » Wed Nov 23, 2016 12:37 pm

lepphce1 wrote:Thanks, explanation understood and I will look at implementing a script. It would be cool if there was some way to implement similar functionality via the GUI. Thanks!


+1 on this one
antipolis
Enthusiast
 
Posts: 45
Liked: 6 times
Joined: Wed Oct 26, 2016 9:17 am


Return to Veeam Backup & Replication



Who is online

Users browsing this forum: Bing [Bot], Google [Bot], k00laid and 42 guests