Comprehensive data protection for all workloads
Post Reply
shuji
Enthusiast
Posts: 28
Liked: 3 times
Joined: Mar 18, 2016 8:16 pm
Full Name: Ryan
Contact:

Two backup copies job to the same backup copy folder

Post by shuji »

Hi there,

Currently I have a backup copy job, which runs hourly between 7:00 to 23:00, to backup-copy server A to offsite.

And now I want to add another backup copy of server A, which will run at 2:30 daily, to copy the midnight changes, because the server changes quite a lot in midnight. By adding this new backup copy job, I can reduce the copy time of the first hourly backup copy in everyday.

However, when I tried to map the backup copy in the offsite repository, Veeam won't allow me to do it.
Image

Am I doing this secondary backup copy correctly? OR is there anyway to do different schedules in the same backup copy job?

Thank you
Ryan
SteelContainer
Service Provider
Posts: 147
Liked: 22 times
Joined: May 21, 2014 8:47 am
Location: New Zealand
Contact:

Re: Two backup copies job to the same backup copy folder

Post by SteelContainer » 1 person likes this post

Hi Ryan,
Are you able to just edit the schedule of the existing backup-copy job to allow transfers at 2:30? Rather than creating a second job.
-Cullan
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Two backup copies job to the same backup copy folder

Post by veremin »

I'm along the same line with Cullan here. Your goal can be achieved by playing with copy interval and allowed backup window settings of single backup copy job. So, it doesn't seems that there is a need for a second backup copy job. Especially, when you try to use the same backup data simultaneously by different jobs - which is not possible.

Thanks.
shuji
Enthusiast
Posts: 28
Liked: 3 times
Joined: Mar 18, 2016 8:16 pm
Full Name: Ryan
Contact:

Re: Two backup copies job to the same backup copy folder

Post by shuji »

Hi Cullan and Eremin,

Thanks for your reply. Good idea. I additionally enable the backup schedule between 3:00 to 3:59 now.
Let's see how it goes.

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

Re: Two backup copies job to the same backup copy folder

Post by veremin »

Be aware to tweak the copy interval in accordance, so that the period from 3:00 to 3:59 will be a part of new interval, not an existing one. Otherwise, a backup copy job will be sitting in idle state, since it's already copied a data within the current interval. Thanks.
shuji
Enthusiast
Posts: 28
Liked: 3 times
Joined: Mar 18, 2016 8:16 pm
Full Name: Ryan
Contact:

Re: Two backup copies job to the same backup copy folder

Post by shuji »

Hi Eremin,

Here are what I found out.

The midnight backup copy needs at least 3 hours to run, however, the backup copy job is set to execute every hours. The midnight backup copy in the period from 3:00 to 3:59 only ran for 45 mins, and was cut off at 4:00.

The subsequent problem is the daytime hourly backup copy happen at 7:00 was stopped at 8:00 because of the new copy interval, which is going to be a trainwreck of the whole backup copy.

Is there any way I can modify the backup copy job to have a 4-hour interval in the midnight, and 1-hour interval during the day?

OR any other way I can approve this?

Thank you

Ryan
johan.h
Veeam Software
Posts: 712
Liked: 182 times
Joined: Jun 05, 2013 9:45 am
Full Name: Johan Huttenga
Contact:

Re: Two backup copies job to the same backup copy folder

Post by johan.h »

If you want one job to run with multiple schedules, you could just use Powershell to do this right?
shuji
Enthusiast
Posts: 28
Liked: 3 times
Joined: Mar 18, 2016 8:16 pm
Full Name: Ryan
Contact:

Re: Two backup copies job to the same backup copy folder

Post by shuji »

Hi Johan,

Thank you for the tip.
Can powershell make a backup copy job runs during the disabled time windows?

How should I modify my backup copy job in Veeam?

Leave it runs hourly during 7:00 to 23:00 by Veeam, then use powershell to make it run at 3:00, which is during the disable time period??

Ryan
johan.h
Veeam Software
Posts: 712
Liked: 182 times
Joined: Jun 05, 2013 9:45 am
Full Name: Johan Huttenga
Contact:

Re: Two backup copies job to the same backup copy folder

Post by johan.h »

shuji
Enthusiast
Posts: 28
Liked: 3 times
Joined: Mar 18, 2016 8:16 pm
Full Name: Ryan
Contact:

Re: Two backup copies job to the same backup copy folder

Post by shuji » 1 person likes this post

Hi Johan,

I use the following script to run the backup copy:

Code: Select all

Asnp VeeamPSSnapin
#run Backup Copy Job
$job = Get-VBRJob -Name "name"
Sync-VBRBackupCopyJob -Job $job
And I schedule the script to run hourly between 8:00 to 23:00, and run daily at 3:00.

But how long is copy interval I should set in the backup copy job? Currently I set it to 2 days. I don't want Veeam to run the backup copy job on itself now.

Thank you
Ryan
PTide
Product Manager
Posts: 6431
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Two backup copies job to the same backup copy folder

Post by PTide »

Hi,
I don't want Veeam to run the backup copy job on itself now.
You can use cmdlets to re-enable backup copy job before each synchronization and disable it afterwards so it does not start on itself.

Thank you.
Post Reply

Who is online

Users browsing this forum: No registered users and 74 guests