Host-based backup of VMware vSphere VMs.
Post Reply
Sanjay.bisht
Lurker
Posts: 2
Liked: never
Joined: Oct 18, 2023 8:36 am
Full Name: Sanjay
Contact:

Schedule Replication job after backup copy job

Post by Sanjay.bisht »

Hello Everyone,

Greetings of the day!!!

I want to schedule replication job after completion of backup copy job in VBR via post-job .bat script. Kindly help in providing the .bat script format as only powershell commands are there in Veeam knowledge base.

Thanks in advance.

Regards
Sanjay
PetrM
Veeam Software
Posts: 4157
Liked: 731 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Schedule Replication job after backup copy job

Post by PetrM »

Hi Sanjay and Welcome to Veeam R&D Forums!

Instead of scripting, I recommend using the replication from backup that can use backups created by copy job as a data source.

Thanks!
Sanjay.bisht
Lurker
Posts: 2
Liked: never
Joined: Oct 18, 2023 8:36 am
Full Name: Sanjay
Contact:

Re: Schedule Replication job after backup copy job

Post by Sanjay.bisht »

Hi PetrM,

Thanks for the reply. I am already using replication from backup that is using backup as a data source which is created on the DR site by backup copy job. But i want the replication job to run after the completion of backup copy job which is only possible via Post job script as scheduling replication job after the completion of backup job is not visible in VBR console.

Thanks in advance.
PetrM
Veeam Software
Posts: 4157
Liked: 731 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Schedule Replication job after backup copy job

Post by PetrM »

Hi Sanjay,

I suggest using this PS cmdlet to run a replication job after backup copy.

Thanks!
pierre-benoit.gerber
Influencer
Posts: 15
Liked: 6 times
Joined: Dec 08, 2020 3:43 pm
Full Name: Pierre-Benoit Gerber
Contact:

[MERGED] Allow running replication job automatically after backup copy job

Post by pierre-benoit.gerber »

Hello,

I would like to run replication job automatically after backup copy job.
Because I use the copy backup files as source for my replication on a remote site.
In the drop-down menu "After this job" I can only select a backup or a replication job.
Actually I start a post process script in the backup copy job to start the replication job.

Thank you,
HannesK
Product Manager
Posts: 16186
Liked: 3687 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Schedule Replication job after backup copy job

Post by HannesK »

Hello,
I merged your request to the same one from earlier and we count your request +1 👍

Best regards
Hannes
Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests