Comprehensive data protection for all workloads
Post Reply
haslund
Veeam Software
Posts: 533
Liked: 95 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 » 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

foggy
Veeam Software
Posts: 18158
Liked: 1542 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy » 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.

zmedgyesi
Novice
Posts: 5
Liked: 3 times
Joined: Dec 06, 2014 10:04 pm
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by zmedgyesi » Dec 30, 2014 3:43 pm

It would be nice to have this feature... May we call it a feature request? :)

foggy
Veeam Software
Posts: 18158
Liked: 1542 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy » Dec 30, 2014 3:46 pm

Sure. Thank you both for the feedback.

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

Re: Replicate from Backup after Backup Copy Job

Post by veremin » 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.

pkelly_sts
Expert
Posts: 569
Liked: 62 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 » 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...

foggy
Veeam Software
Posts: 18158
Liked: 1542 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy » 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.

pkelly_sts
Expert
Posts: 569
Liked: 62 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 » 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... :)

foggy
Veeam Software
Posts: 18158
Liked: 1542 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy » 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.

lepphce1
Enthusiast
Posts: 30
Liked: 2 times
Joined: Jun 28, 2016 4:40 pm
Contact:

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

Post by lepphce1 » 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!

foggy
Veeam Software
Posts: 18158
Liked: 1542 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy » Nov 22, 2016 3:55 pm

Please review this thread for the workaround. Thanks.

lepphce1
Enthusiast
Posts: 30
Liked: 2 times
Joined: Jun 28, 2016 4:40 pm
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by lepphce1 » 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!

foggy
Veeam Software
Posts: 18158
Liked: 1542 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy » Nov 22, 2016 5:59 pm

Thanks for the feedback, your request is accepted.

antipolis
Enthusiast
Posts: 71
Liked: 9 times
Joined: Oct 26, 2016 9:17 am
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by antipolis » 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

philfreund
Enthusiast
Posts: 51
Liked: 3 times
Joined: Apr 01, 2016 6:16 pm
Full Name: Phil Freund
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by philfreund » Sep 29, 2017 1:07 pm

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: 18158
Liked: 1542 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Replicate from Backup after Backup Copy Job

Post by foggy » Sep 29, 2017 4:04 pm

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 14 guests