Question about conflicts with 2 jobs backing up the same VM?

Availability for the Always-On Enterprise

Question about conflicts with 2 jobs backing up the same VM?

Veeam Logoby dpcallais » Wed Mar 16, 2016 10:10 pm

Hi,

I want to create two backup jobs that will both backup the same VM with the following setup:

Backup Job 1: Forever incremental backups taken once per day

Backup Job 2: A full backup is taken once per day and is then followed by incremental backups taken every hour for the rest of the day

Would there be any conflicts with running these two backup jobs against the same VM? My primary concern is that I want to ensure that when Backup Job 1 incremental runs, it is backing up all of the changes since the last time Backup Job 1 ran on the previous day instead of just the changes that have taken place since Backup Job 2 ran an hour ago. Also, would there be any conflicts if Backup Job 1 & 2 are both running at the same time?

Thanks,
dpcallais
Lurker
 
Posts: 2
Liked: never
Joined: Thu Feb 04, 2016 8:02 pm

Re: Question about conflicts with 2 jobs backing up the same

Veeam Logoby PTide » Thu Mar 17, 2016 8:38 am

Hi,

Would there be any conflicts with running these two backup jobs against the same VM?
There will be no conflicts until jobs run during different time periods.

My primary concern is that I want to ensure that when Backup Job 1 incremental runs, it is backing up all of the changes since the last time Backup Job 1 ran on the previous day instead of just the changes that have taken place since Backup Job 2 ran an hour ago.
Backup chains are independent so Job1 will grab all the changes that have happened since last Job1 session.

Also, would there be any conflicts if Backup Job 1 & 2 are both running at the same time?
Each Job takes a snapshot of your VM, so running two Jobs simultaneously means that there will be two snapshots of the same VM on your production storage which will result in a performance decrease - your VM will slow down.

Have you considered using Backup copy job instead of using forever-forward job? It seems that this is exactly what you need.

Thank you.
PTide
Veeam Software
 
Posts: 3311
Liked: 275 times
Joined: Tue May 19, 2015 1:46 pm

Re: Question about conflicts with 2 jobs backing up the same

Veeam Logoby timmi2704 » Fri Mar 18, 2016 11:09 am

Hi,
any information about CBT usage when 2 different jobs process the same VM independently?
How will this behave?
Thanks :)
timmi2704
Enthusiast
 
Posts: 83
Liked: 3 times
Joined: Tue Jan 14, 2014 10:41 am
Full Name: Timo

Re: Question about conflicts with 2 jobs backing up the same

Veeam Logoby foggy » Fri Mar 18, 2016 11:32 am

There're no issues in having multiple jobs pointing to the same VM, CBT is not impacted either (this is covered in the sticky FAQ topic).
foggy
Veeam Software
 
Posts: 15394
Liked: 1142 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

[MERGED] Server in multiple backup jobs

Veeam Logoby iami » Wed Oct 25, 2017 2:42 pm

I am working with an existing configuration where a single server is in multiple backup jobs. There is a monthly job that triggers on the first Sunday of each month with 12 restore points, a weekly job that starts Friday evening with 4 restore points and a daily that runs MTWT with 5 restore points. My understanding is that backup chains are per backup job and that CBT will only backup blocks that have changed since the previous backup. Will this work or will all the backup chains be missing data? For example, if data is changed on Friday then the weekly incremental will capture that but the next daily on Monday won't, hence the change will never make it into the daily backup chain. Or will the changes captured on Friday by the weekly job also be applied to the backup chain of the daily job?
iami
Lurker
 
Posts: 2
Liked: never
Joined: Wed Oct 25, 2017 1:03 pm
Full Name: Ian Midgley

Re: Server in multiple backup jobs

Veeam Logoby DGrinev » Wed Oct 25, 2017 3:26 pm

Hi Ian and welcome to the community!

You can backup or replicate the same VMs in a different jobs as CBT has been designed to handle such usage scenarios. Thanks!
DGrinev
Veeam Software
 
Posts: 678
Liked: 73 times
Joined: Thu Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev

Re: Question about conflicts with 2 jobs backing up the same

Veeam Logoby iami » Thu Oct 26, 2017 9:07 am

Perfect, thanks. Conceptually I had envisioned CBT to be a bitmap with a single bit per block with the bit being zero for no change since previous backup and 1 when changed. That would have meant that it wouldn't have supported multiple backup jobs (or at least they would interfere with each other). So obviously it is more complicated than that and armed with that information and for those interested this excellent Veeam article explains it in more detail. To summarise, VMware keeps a changeID for each block rather than a single bit which allows software to ask for all blocks that have changed between two changeIDs. These can be thought of as timestamps with the internal implementation by VMware hidden. Very neat.

I do agree with PTide that the Backup Copy functionality seems more appropriate for creating a different backup chain for the same VM which is what we are doing by having multiple backup jobs. What is Veeam's recommendation?
iami
Lurker
 
Posts: 2
Liked: never
Joined: Wed Oct 25, 2017 1:03 pm
Full Name: Ian Midgley

Re: Question about conflicts with 2 jobs backing up the same

Veeam Logoby DGrinev » Thu Oct 26, 2017 9:51 am

The backup copy job was designed to create separate backup chains.
The highly recommended way of data protection described by the 3-2-1 Rule.
So one of the benefits is reducing workload on the production, since BCJ is using the data blocks from the backups retained in the repository. Thanks!
DGrinev
Veeam Software
 
Posts: 678
Liked: 73 times
Joined: Thu Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev

[MERGED] Changed Block Tracking -CBT- broken if backed up tw

Veeam Logoby rntguy » Tue Oct 31, 2017 4:42 pm

Hello,

If there are two separate jobs backing up the same VM, where a Copy Job doesn't make sense, for example, how does Veeam handle CBT and incrementals?

For example

Day 1:
VMa is backed up by Job1 (Full)
VMa is backed up by Job2 (Full)

Day 2:
VMa is backed up by Job1 (incremental) - it sees CBT data and goes very quickly to do an incremental
VMa is backed up by Job2 (incremental) - is CBT data still available or does it rescan to find changes manually and slowly?

Does any of this matter if VMa has SQL or exchange databases? I know transaction logs might have been truncated by one of the jobs if set up that way.

Thoughts? For now suffice it to say there's a good enough reason to have 2 jobs. Need to know how the changes are handled.

Thanks :)
rntguy
Service Provider
 
Posts: 73
Liked: never
Joined: Fri Jan 29, 2016 8:31 pm
Full Name: Rnt Guy

Re: Changed Block Tracking - CBT - broken if backed up twice

Veeam Logoby DGrinev » Tue Oct 31, 2017 4:47 pm

Hi,

No worries as CBT was designed to handle such usage scenarios.
Please review this thread for additional information. Thanks!
DGrinev
Veeam Software
 
Posts: 678
Liked: 73 times
Joined: Thu Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev

Re: Question about conflicts with 2 jobs backing up the same

Veeam Logoby rntguy » Tue Oct 31, 2017 4:53 pm

thank. that answered my question.
rntguy
Service Provider
 
Posts: 73
Liked: never
Joined: Fri Jan 29, 2016 8:31 pm
Full Name: Rnt Guy


Return to Veeam Backup & Replication



Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Google Feedfetcher and 1 guest