Re: [Bacula-users] waiting on max Job jobs - not cancelled?

2020-04-03 Thread Pierre Bernhardt
Am 03.04.20 um 14:19 schrieb Gary R. Schmidt:
> You need to run the Differential, Incremental, and Full jobs at different 
> priorities - that reflect how you want things done - and set "Cancel Lower 
> Level Duplicate = Yes" and "Allow Mixed Priority = Yes" in them all.
Hi,

that could not be really true because I did not use different priorities für 
different levels,
but it is mostly working as expected and if an diff job is queued a new full 
will be cancel
the diff, and the new inc will also be canceled.
For the moment I'm migrate some tapes so next daysI have no time to test it 
again.

Schedule {
  Name = "Cycle"
  Run = Level=Full 1st sun at 23:50
  Run = Level=Differential 2nd-5th sun at 23:50
  Run = Level=Incremental mon-sat at 23:50
}

But I will recheck later.

Cheers,
Pierre



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] waiting on max Job jobs - not cancelled?

2020-04-03 Thread Bernie Elbourn

On 03/04/2020 03:58, Pierre Bernhardt wrote:


It is exactly same job configured?


A good thought but yes it is same simple job with no inherited defaults.

Some extra detail this time using sed to reliably obfuscate :-)

Running Jobs:
Console connected at 29-Mar-20 12:36
 JobId  Type Level Files Bytes  Name  Status
==
 70172  Back Diff    120    36.70 M Backup-pc is running
 70173  Back Incr  0 0  Backup-pc is waiting on max Job jobs


Job {
  Name = Backup-pc
  Type = Backup
  Client = pc-fd
  FileSet = pc
  Schedule = Cycle
  Storage = pc
  Pool = pc
  Messages = Standard
  # Max Run Time = 3300
  Allow Duplicate Jobs = no
  Cancel Queued Duplicates = yes
  Cancel Lower Level Duplicates = yes
}

Schedule {
  Name = Cycle
  Run = Level=Full 1st sun at 12:30
  Run = Level=Differential 2nd-5th sun at 12:30
  Run = Level=Incremental at 9:35
  Run = Level=Incremental at 10:35
  Run = Level=Incremental at 11:35
  Run = Level=Incremental at 13:35
  Run = Level=Incremental at 14:35
  Run = Level=Incremental at 15:35
  Run = Level=Incremental at 16:35
  Run = Level=Incremental at 12:35
}

My google fu has failed to find ways to debug this oddity ..

Bernie



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] waiting on max Job jobs - not cancelled?

2020-04-03 Thread Gary R. Schmidt

On 03/04/2020 19:38, Bernie Elbourn wrote:

On 03/04/2020 03:58, Pierre Bernhardt wrote:


It is exactly same job configured?


A good thought but yes it is same simple job with no inherited defaults.

Some extra detail this time using sed to reliably obfuscate :-)

Running Jobs:
Console connected at 29-Mar-20 12:36
  JobId  Type Level Files Bytes  Name  Status
==
  70172  Back Diff    120    36.70 M Backup-pc is running
  70173  Back Incr  0 0  Backup-pc is waiting on max Job 
jobs


And the reason it doesn't get cancelled is because they are *not* 
identical jobs, one is "Differential" and the other is "Incremental."


You need to run the Differential, Incremental, and Full jobs at 
different priorities - that reflect how you want things done - and set 
"Cancel Lower Level Duplicate = Yes" and "Allow Mixed Priority = Yes" in 
them all.


I have my schedule set that Full jobs run at 50, Differential Jobs run 
at 49, and Incremental Jobs run at 48, as some of my Full jobs last more 
than 24 hours.
I have a several machines, and some of them cannot be fully backed-up in 
twenty-four hours.
I run Differential and Full backups on Saturday mornings (at 00:01), but 
nor for *all* machines, and no backup on Sunday morning.  All machines 
do an incremental backup from Monday to Friday.


And I have a complicated schedule:
Schedule {
  Name = "WeeklyOneNoSun"
  Run = Level=Full FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental 1st sat at 00:01
  Run = Level=Differential FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental Priority=49 2nd-5th sat at 00:01
  Run = Level=Incremental FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental Priority=48 mon-fri at 00:01

}

Schedule {
  Name = "WeeklyTwoNoSun"
  Run = Level=Full FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental 2nd sat at 00:01
  Run = Level=Differential FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental Priority=49 1st,3rd-5th sat at 00:01
  Run = Level=Incremental FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental Priority=48 mon-fri at 00:01

}

Schedule {
  Name = "WeeklyThreeNoSun"
  Run = Level=Full FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental 3rd sat at 00:01
  Run = Level=Differential FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental Priority=49 1st,2nd,4th,5th sat at 00:01
  Run = Level=Incremental FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental Priority=48 mon-fri at 00:01

}

Schedule {
  Name = "WeeklyFourNoSun"
  Run = Level=Full FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental 4th sat at 00:01
  Run = Level=Differential FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental Priority=49 1st-3rd,5th sat at 00:01
  Run = Level=Incremental FullPool=Full DifferentialPool=Differential 
IncrementalPool=Incremental Priority=48 mon-fri at 00:01

}

I hope this helps, and gives you some ideas on how to get your schedule 
to do what you want.  :-)


Cheers,
GaryB-)



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum question

2020-04-03 Thread Per Qvindesland via Bacula-users
Hi 

Thanks I am trying that but I am getting error Problem with authentication to 
Baculum API.


Is this the correct apache config to disable basic authentication?

#   

AuthType Basic
AuthName "Baculum Auth"
AuthUserFile 
/usr/share/baculum/htdocs/protected/API/Config/baculum.users
Require valid-user

#   

Regards
Per




> On 3 Apr 2020, at 14:57, Heitor Faria  wrote:
> 
>> Hi
> 
> Hello Per,
> 
>> Not sure if this is the correct place to ask but I am using Baculum and I am
>> wondering if it’s possible to configure baculum to allow users to view 
>> multiple
>> api hosts?
> 
> Yes 
> .
>> 
>> Regards
> 
> Regards,
> 
>> Per
>> 
>> 
>> 
>> 
>> 
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> -- 
> MSc Heitor Faria 
> CEO Bacula LATAM 
> mobile1: + 1 909 655-8971 
> mobile2: + 55 61 98268-4220 
> [ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ] 
>   [ http://www.bacula.com.br/ ] 
> 
> América Latina 
> [ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | 
> bacula.com.br ]



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum question

2020-04-03 Thread Heitor Faria
> Hi

Hello Per,

> Not sure if this is the correct place to ask but I am using Baculum and I am
> wondering if it’s possible to configure baculum to allow users to view 
> multiple
> api hosts?

Yes 
.
> 
> Regards

Regards,

> Per
> 
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
MSc Heitor Faria 
CEO Bacula LATAM 
mobile1: + 1 909 655-8971 
mobile2: + 55 61 98268-4220 
[ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ] 
[ http://www.bacula.com.br/ ] 

América Latina 
[ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | 
bacula.com.br ]


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Baculum question

2020-04-03 Thread Per Qvindesland via Bacula-users
Hi 

Not sure if this is the correct place to ask but I am using Baculum and I am 
wondering if it’s possible to configure baculum to allow users to view multiple 
api hosts?

Regards
Per





___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows backup slow

2020-04-03 Thread Peter Milesson



On 2020-04-01 11:28, Andrew Watkins wrote:

Hello,

Just started using Bacula and at this time (early stages) I find my 
UNIX/Solaris full backups are running at a good speed, but our window 
server is slow. There is a chance it is just the number of files (Yes, 
I am ignoring profiles). My questions:


1) I have added "Maximum Concurrent Jobs" to my clients FileDaemon, 
but is there a way to prove that Windows client is using it?


2) Any web links to how I can monitor a client backup, to examine what 
is happening.


Thanks

Andrew


Hi Andrew,

When you brought it up, I had a look at my setup. I'm backing up both 
Linux and Windows servers.


The Linux server backups are running at about 30 Mbyte/s (2x1Gbit NICs) 
with line compression, whereas the Windows server backups are running at 
about 22 Mbytes/s (2x10Gbit NICs) without compression. The connection is 
10 Gbit from all servers to the Bacula backup server. The values 
mentioned are for full monthly server backups (a couple of TBs).


What I did notice however, is that small incremental backups are an 
order of magnitude slower for the Windows servers, compared to the Linux 
servers.


I'm not going to speculate, but compression would probably speed up 
things somewhat for the Windows backups, however not significantly. 
Also, VSS snapshots under Windows may have a huge impact on the overall 
performance for smaller backup sets.


For me, the current performance is sufficient, but there is certainly 
lots of room for tweaking. I've been running this setup for about 9 
years now, just improving the hardware now and then. Don't fix what's 
working...


Best regards,

Peter



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Adding a volume in a library

2020-04-03 Thread William Muriithi
Hello,

I recently added 5 tapes that were new to the library.   Bacula is configured 
to put expired tapes on Scratch pool, but I couldn't be able to label the tapes 
under that pool, so I labelled it under eng_father.

[william@backup ~]$ echo "list volume" | bconsole | grep 06L6
| 132 | 06L6   | Append|   1 | 64,512 |0 |  
  5,184,000 |   1 |9 | 1 | LTO-6 |   0 |0 | 
NULL| NULL  |
[william@backup ~]$ echo "list volume" | bconsole | less


Everything seems fine, but the system never seem to be able to use the tapes.  
Its stuck in this state.

Device status:
Autochanger "SuperLoader3" with devices:
   "ULTRIUM-HH7" (/dev/nst0)

Device Tape is "ULTRIUM-HH7" (/dev/nst0) waiting for:
Volume:  06L6
Pool:eng_father
Media type:  LTO-6
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=1 Block=0
   Device is being initialized.
   Slot 9 is loaded in drive 0.
==


Used Volume status:
Reserved volume: 06L6 on Tape device "ULTRIUM-HH7" (/dev/nst0)
Reader=0 writers=3 reserves=25 volinuse=1


What could I be doing wrong here?

Regards,
William

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users