Comprehensive data protection for all workloads
Post Reply
haslund
Veeam Software
Posts: 856
Liked: 154 times
Joined: Feb 16, 2012 7:35 am
Full Name: Rasmus Haslund
Location: Denmark
Contact:

Replicate from Backup after Backup Copy Job

Post by haslund »

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 | Twitter: @haslund | Blog: https://rasmushaslund.com
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy »

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.
zmedgyesi
Novice
Posts: 6
Liked: 5 times
Joined: Dec 06, 2014 10:04 pm
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by zmedgyesi »

It would be nice to have this feature... May we call it a feature request? :)
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy »

Sure. Thank you both for the feedback.
veremin
Product Manager
Posts: 20413
Liked: 2301 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by veremin »

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.
pkelly_sts
Veteran
Posts: 600
Liked: 66 times
Joined: Jun 13, 2013 10:08 am
Full Name: Paul Kelly
Contact:

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

Post by pkelly_sts »

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...
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy »

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.
pkelly_sts
Veteran
Posts: 600
Liked: 66 times
Joined: Jun 13, 2013 10:08 am
Full Name: Paul Kelly
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by pkelly_sts »

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... :)
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy »

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.
lepphce1
Enthusiast
Posts: 31
Liked: 2 times
Joined: Jun 28, 2016 4:40 pm
Contact:

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

Post by lepphce1 »

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!
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy »

Please review this thread for the workaround. Thanks.
lepphce1
Enthusiast
Posts: 31
Liked: 2 times
Joined: Jun 28, 2016 4:40 pm
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by lepphce1 »

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!
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy »

Thanks for the feedback, your request is accepted.
antipolis
Enthusiast
Posts: 73
Liked: 9 times
Joined: Oct 26, 2016 9:17 am
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by antipolis »

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
philfreund
Enthusiast
Posts: 96
Liked: 8 times
Joined: Apr 01, 2016 6:16 pm
Full Name: Phil Freund

Re: Replicate from Backup after Backup Copy Job

Post by philfreund »

I have this same situation and would like to add my vote for this the GUI functionality. Is there a sample script available in the meantime?
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy »

Hi Phil, you can ask for assistance in creating one in the corresponding subforum.
Post Reply

Who is online

Users browsing this forum: No registered users and 108 guests