[bareos-users] Re: Concurrent jobs and Consolidate Jobs

2020-02-28 Thread Urban Persson
Hi, 

Do you run this consolidation job with higher priority number so the job 
will wait until all other backup jobs finished?
Normally backupjobs is Priority 10 and Consolidate is Priority 11.

Can that be the issue?

// Urban


Den fredag 14 februari 2020 kl. 04:27:33 UTC+1 skrev Brock Palen:
>
> We backup/spool to disk volumes and copy/migrate jobs to tape.  We have 
> one tape drive.
>
> If we have Concurrent jobs allowed so we can backup more than one host at 
> a time to disk we run into issues with Consolidate jobs failing when jobs 
> were migrated to the tape drive.   If we only allow 1 job at a time it 
> works as no second job tries to grab the tape drive.  
>
> The specific error is:
> list joblog jobid=23422
>  2020-02-13 21:56:23 myth-dir JobId 23422: Start Virtual Backup JobId 
> 23422, Job=sch-hp-desktop-Users-Pictures.2020-02-13_21.56.19_07
>  2020-02-13 21:56:23 myth-dir JobId 23422: Consolidating JobIds 22736,23413
>  2020-02-13 21:56:23 myth-dir JobId 23422: Bootstrap records written to 
> /var/lib/bareos/myth-dir.restore.2.bsr
>  2020-02-13 21:56:23 myth-dir JobId 23422: Connected Storage daemon at 
> myth..com:9103, encryption: PSK-AES256-CBC-SHA
>  2020-02-13 21:56:23 myth-dir JobId 23422: Using Device "FileStorage" to 
> read.
>  2020-02-13 21:56:23 myth-dir JobId 23422: Created new Volume 
> "AI-Consolidated-1886" in catalog.
>  2020-02-13 21:56:23 myth-dir JobId 23422: Using Device "FileStorage3" to 
> write.
>  2020-02-13 21:56:23 myth-sd JobId 23422: stored/acquire.cc:159 Changing 
> read device. Want Media Type="LTO5" have="File"
>   device="FileStorage" (/mnt/bacula)
>  2020-02-13 21:56:23 myth-sd JobId 23422: Releasing device "FileStorage" 
> (/mnt/bacula).
>  2020-02-13 21:56:23 myth-sd JobId 23422: F*atal error: 
> stored/acquire.cc:219  No suitable device found to 
> read Volume "DA1391L5"*
>  2020-02-13 21:56:23 myth-sd JobId 23422: Releasing device "Tand-LTO5" 
> (/dev/nst1).
>  2020-02-13 21:56:24 myth-dir JobId 23422: Error: Bareos myth-dir 19.2.5 
> (03Feb20):
>   Build OS:   Linux-3.10.0-1062.9.1.el7.x86_64 ubuntu Ubuntu 
> 16.04 LTS
> 
>   SD Errors:  1
>   SD termination status:  Fatal Error
>   Accurate:   yes
>   Bareos binary info: bareos.org build: Get official binaries and 
> vendor support on bareos.com
>   Termination:*** Backup Error ***
>
>
> So when it swaps to the tape (which is busy with another Consolidate 
> VIrtualFull this job fails.
>
> The Tape Storage does have
>   Maximum Concurrent Jobs = 1
>
> Is there a way to make the job hold and wait for the drive to free up?
>
> I can use
>   Reschedule on Error = yes
>   Reschedule Times = 5
>   Reschedule Interval = 1800
>
> But this causes very long pauses as many consolidation jobs are very 
> short/fast, but can be long if it includes full.
>
> Thoughts?
>
> Brock Palen
> 1 (989) 277-6075
> bro...@mlds-networks.com 
> www.mlds-networks.com
> Websites, Linux, Hosting, Joomla, Consulting
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/e582785a-6fb3-4d88-9d77-bcf2beedb783%40googlegroups.com.


[bareos-users] Re: Concurrent jobs and Consolidate Jobs

2020-02-25 Thread Brock Palen
Any thoughts related to this?  Be really great if could run more than one job 
at a time but to have the VirtualFull jobs created by consolidate to wait for 
drives to be available or only run when no other jobs are running etc.

Thanks


Brock Palen
1 (989) 277-6075
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting



> On Feb 13, 2020, at 10:27 PM, Brock Palen  wrote:
> 
> We backup/spool to disk volumes and copy/migrate jobs to tape.  We have one 
> tape drive.
> 
> If we have Concurrent jobs allowed so we can backup more than one host at a 
> time to disk we run into issues with Consolidate jobs failing when jobs were 
> migrated to the tape drive.   If we only allow 1 job at a time it works as no 
> second job tries to grab the tape drive.  
> 
> The specific error is:
> list joblog jobid=23422
>  2020-02-13 21:56:23 myth-dir JobId 23422: Start Virtual Backup JobId 23422, 
> Job=sch-hp-desktop-Users-Pictures.2020-02-13_21.56.19_07
>  2020-02-13 21:56:23 myth-dir JobId 23422: Consolidating JobIds 22736,23413
>  2020-02-13 21:56:23 myth-dir JobId 23422: Bootstrap records written to 
> /var/lib/bareos/myth-dir.restore.2.bsr
>  2020-02-13 21:56:23 myth-dir JobId 23422: Connected Storage daemon at 
> myth..com:9103, encryption: PSK-AES256-CBC-SHA
>  2020-02-13 21:56:23 myth-dir JobId 23422: Using Device "FileStorage" to read.
>  2020-02-13 21:56:23 myth-dir JobId 23422: Created new Volume 
> "AI-Consolidated-1886" in catalog.
>  2020-02-13 21:56:23 myth-dir JobId 23422: Using Device "FileStorage3" to 
> write.
>  2020-02-13 21:56:23 myth-sd JobId 23422: stored/acquire.cc:159 Changing read 
> device. Want Media Type="LTO5" have="File"
>   device="FileStorage" (/mnt/bacula)
>  2020-02-13 21:56:23 myth-sd JobId 23422: Releasing device "FileStorage" 
> (/mnt/bacula).
>  2020-02-13 21:56:23 myth-sd JobId 23422: Fatal error: stored/acquire.cc:219 
> No suitable device found to read Volume "DA1391L5"
>  2020-02-13 21:56:23 myth-sd JobId 23422: Releasing device "Tand-LTO5" 
> (/dev/nst1).
>  2020-02-13 21:56:24 myth-dir JobId 23422: Error: Bareos myth-dir 19.2.5 
> (03Feb20):
>   Build OS:   Linux-3.10.0-1062.9.1.el7.x86_64 ubuntu Ubuntu 
> 16.04 LTS
> 
>   SD Errors:  1
>   SD termination status:  Fatal Error
>   Accurate:   yes
>   Bareos binary info: bareos.org build: Get official binaries and vendor 
> support on bareos.com
>   Termination:*** Backup Error ***
> 
> 
> So when it swaps to the tape (which is busy with another Consolidate 
> VIrtualFull this job fails.
> 
> The Tape Storage does have
>   Maximum Concurrent Jobs = 1
> 
> Is there a way to make the job hold and wait for the drive to free up?
> 
> I can use
>   Reschedule on Error = yes
>   Reschedule Times = 5
>   Reschedule Interval = 1800
> 
> But this causes very long pauses as many consolidation jobs are very 
> short/fast, but can be long if it includes full.
> 
> Thoughts?
> 
> Brock Palen
> 1 (989) 277-6075
> bro...@mlds-networks.com
> www.mlds-networks.com
> Websites, Linux, Hosting, Joomla, Consulting
> 
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/B22C0D7D-4DCD-40E6-823D-D19D01E41BAF%40mlds-networks.com.