-
- Enthusiast
- Posts: 34
- Liked: 1 time
- Joined: Nov 29, 2011 7:47 pm
- Full Name: Axel Klos
- Contact:
Dependencies between backup jobs
hi,
actually we have following scenario:
- backup server running veeam, also contains cifs share for backup
- backup proxy
we setup 2 different jobs running synthetic backup.
because both backup jobs backup to same cifs share we would avoid
build parallel create of fullsynthetic / incremental backup.
setup different time windows is not an option because amount of
vmwares in backup job1 could increase.
ideally second backup job could start after job1 has finished.
if it's possible to run a backup job in command line then
an idea would be running job 1, if this is finished running job2
as post command
is this possible?
regards
axel
actually we have following scenario:
- backup server running veeam, also contains cifs share for backup
- backup proxy
we setup 2 different jobs running synthetic backup.
because both backup jobs backup to same cifs share we would avoid
build parallel create of fullsynthetic / incremental backup.
setup different time windows is not an option because amount of
vmwares in backup job1 could increase.
ideally second backup job could start after job1 has finished.
if it's possible to run a backup job in command line then
an idea would be running job 1, if this is finished running job2
as post command
is this possible?
regards
axel
-
- Enthusiast
- Posts: 34
- Liked: 1 time
- Joined: Nov 29, 2011 7:47 pm
- Full Name: Axel Klos
- Contact:
Re: Dependencies between backup jobs
probally I could do following via powershell extension
- create job 1 and schedule it daily
- create job 2 and do not schedule it
- create powershell script to run job2
- running powershell script after job1 is finished
but will be the job2 also use the polices set in job (keep backups 14 days, every saturday build
fullsynthetic) when it's started by powershell script?
is this possible?
- create job 1 and schedule it daily
- create job 2 and do not schedule it
- create powershell script to run job2
- running powershell script after job1 is finished
but will be the job2 also use the polices set in job (keep backups 14 days, every saturday build
fullsynthetic) when it's started by powershell script?
is this possible?
-
- Veteran
- Posts: 293
- Liked: 19 times
- Joined: Apr 13, 2011 12:45 pm
- Full Name: Thomas McConnell
- Contact:
Re: Dependencies between backup jobs
Isn't that what concurrent tasks are for
-
- VP, Product Management
- Posts: 6031
- Liked: 2856 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: Dependencies between backup jobs
You honestly don't need powershell to simply chain jobs. On the final page of the job wizard (Summary) the wizard displays the command line that you can execute to run this job. Simply don't schedule the second job, but copy the command for running this second job, and paste it into the "post-job activity" of the first job. Poof! Chained jobs, no scripting required (with all apologies to Thomas).axelklos wrote:probally I could do following via powershell extension
- create job 1 and schedule it daily
- create job 2 and do not schedule it
- create powershell script to run job2
- running powershell script after job1 is finished
but will be the job2 also use the polices set in job (keep backups 14 days, every saturday build
fullsynthetic) when it's started by powershell script?
-
- Veeam Software
- Posts: 21133
- Liked: 2140 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Dependencies between backup jobs
Yes, please check this topic for more details.
Each job will use its own settings when it is started.axelklos wrote:but will be the job2 also use the polices set in job (keep backups 14 days, every saturday build
fullsynthetic) when it's started by powershell script?
-
- VP, Product Management
- Posts: 27344
- Liked: 2785 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Dependencies between backup jobs
I concur with that, as by limiting concurrent task by one at a time you will resolve your jobs scheduling issues and will not use any scripts at all!ThomasMc wrote:Isn't that what concurrent tasks are for
-
- Chief Product Officer
- Posts: 31749
- Liked: 7252 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Dependencies between backup jobs
Note that if you have more than one proxy, then you can instead limit concurrent tasks on backup repository to one, and this will give the same result. Thanks.
-
- Enthusiast
- Posts: 34
- Liked: 1 time
- Joined: Nov 29, 2011 7:47 pm
- Full Name: Axel Klos
- Contact:
Re: Dependencies between backup jobs
hey good idea .. does it mean a task is a backup job?Gostev wrote:Note that if you have more than one proxy, then you can instead limit concurrent tasks on backup repository to one, and this will give the same result. Thanks.
-
- VP, Product Management
- Posts: 27344
- Liked: 2785 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Dependencies between backup jobs
Here is a good explanation of what term "task" means: VMware : [FAQ] FREQUENTLY ASKED QUESTIONS
Who is online
Users browsing this forum: m.costantino, Semrush [Bot] and 130 guests