Re: [bareos-users] Re: Building 19.2 for arm

2020-09-24 Thread Andreas Rogge
Hi Karl,

sound like you did a great job here :)

It is possible to build Debian packages from our master branch using our
build configuration. While this will need some ARM-specific changes
(e.g. there is no  VMware VDDK for ARM) the resulting packages would
look mostly like the ones we provide for x86_64.

If you want to go the extra mile and make that work, we will happily
accept a pull-request. I can also offer some guidance if you get stuck.

As a benefit to you (and the rest of the community) building packages
for Raspian would work out of the box.

Maybe then I could even convince the other devs to add some Raspberry
Pis to our continuous integration system and provide Raspian packages in
the future :)

Best Regards,
Andreas

Am 21.09.20 um 19:34 schrieb Karl Cunningham:
> I found the problem. I was putting configs into /etc/bareos but building
> with the default config directory /usr/local/etc/bareos
> Sorry for the confusion.
> Karl
> 
> On Friday, September 18, 2020 at 11:41:35 AM UTC-7 Karl Cunningham wrote:
> 
> Hello,
> 
> I'm trying to get a 19.2 client to work on a Raspberry Pi running
> Raspian buster. I successfully compiled the 19.2 client, but a
> connection from the director failed with the usual message:
> Connecting to Client sp0-fd at sp0..com:9102
> 
> Probing client protocol... (result will be saved until config reload)
> Failed to connect to Client sp0-fd.
> 
> *messages
> 18-Sep 09:14 bareos-dir JobId 0: Fatal error: Authorization key
> rejected bareos-dir.
> 18-Sep 09:14 bareos-dir JobId 0: Fatal error: Unable to authenticate
> with File daemon at "sp0..com:9102
> ". Possible causes:
> Passwords or names not the same or
> TLS negotiation failed or
> Maximum Concurrent Jobs exceeded on the FD or
> FD networking messed up (restart daemon).
> 
> I disabled TLS on the director and client, but that didn't seem to
> make a difference.
> Connection from the director to a freshly-compiled amd64 client
> works fine.
> I installed the 16.2 client from the Raspbian repo and the director
> was able to connect, but I'd like to use 19.2 since that's what is
> on other client machines.
> Is there a known issue building the client on arm?
> 
> Thanks for your help.
> Karl
> 
> -- 
> 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/46506360-b462-4062-8f3c-6639960abfddn%40googlegroups.com
> .

-- 
Andreas Rogge andreas.ro...@bareos.com
  Bareos GmbH & Co. KG  Phone: +49 221-630693-86
  http://www.bareos.com

  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
  Komplementär: Bareos Verwaltungs-GmbH
  Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz

-- 
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/9c7accba-e84c-b2c8-7651-48b38ecd7123%40bareos.com.


signature.asc
Description: OpenPGP digital signature


Re: [bareos-users] Re: some mount messages not sent by e-mail

2020-09-24 Thread Spadajspadaj

Hmm...

At first glance it looks as if it should work.

I'd try setting "wider" mail configuration (like similar to the logfile  
one - "all, !skipped, !saved, !audit") and see if I get all the emails.


I assume you're perfectly positive there's no problem with emails 
themselves (like some overzealous spam filter or something like that), 
right?



On 24.09.2020 09:06, DUCARROZ Birgit wrote:

Hi, this is how my job ressource is configured. Am I missing something?

JobDefs {
  Name = "users"
  Type = Backup
  Level = Full
  Client = lx85
  FileSet = "users" (#13)
  Schedule = "03-09"
  Storage = Tape
  Messages = Standard
  Pool = users
  Priority = 1
  Write Bootstrap = "/euronas/data/bareos-tape-srv-db-and-bsr/%c.bsr"
  Full Backup Pool = users
  Allow Duplicate Jobs = no
  Cancel Lower Level Duplicates = yes
  Cancel Queued Duplicates = yes
  RunAfterJob = "/bin/mt -f /dev/tape/by-id/scsi-350050763121460f3-nst 
eject"

}


On 23/09/20 19:54, Spadajspadaj wrote:
You have the messages configuration but do you have it attached to 
the appropriate job resource?



On 23.09.2020 12:19, 'birgit.ducarroz' via bareos-users wrote:

Hi, no one can help me?

birgit.ducarroz schrieb am Montag, 14. September 2020 um 11:32:42 
UTC+2:


    Hi,

    I would like to receive an e-mail when a cartridge is full and I
    need to
    insert a new one, but I wonder why I do not get the following
    messages
    by mail:

    "bareos-sd JobId 12: Please mount append Volume "users-0005" or
    label a
    new one for:
    Job: users.2020-09-11_13.11.37_17
    Storage: "LTO7-Tape-Drive"
    (/dev/tape/by-id/scsi-350050763121460f3-nst)"


    When restoring, I got the following e-mail, so this seems to 
work...

    "10-Sep 15:33 bareos-sd JobId 9: Please mount read Volume
    "WORM-0003" for:
    Job: RestoreFiles.2020-09-10_15.33.47_55"


    I re-checked the doc here, but I cannot figure out what is going
    wrong.
https://docs.bareos.org/bareos-18.2/Configuration/Messages.html


    This is my Standard Mail Config:

    Messages {
    Name = Standard
    Description = "Reasonable message delivery -- send most 
everything to

    email address and to the console."

    operatorcommand = "/usr/bin/bsmtp -h root@localhost -f\"\(Bareos
    lx85\) \<%r\>\" -s \"Bareos lx85: Intervention needed for %j\" %r"

    mailcommand = "/usr/bin/bsmtp -h root@localhost -f \"\(Bareos 
lx85\)

    \<%r\>\" -s \"Bareos lx85: %t %e of %c %l\" %r"

    operator = root@localhost = mount #


    mail = root@localhost = warning, error, fatal, mount, notsaved,
    restored, security, alert, volmgmt
    console = all, !skipped, !saved, !audit
    append = "/var/log/bareos/bareos.log" = all, !skipped, !saved, 
!audit

    catalog = all, !skipped, !saved, !audit
    }

    Can someone give me a hint please?

    Thank you in advance,
    Birgit

--
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/adbbd431-d144-48c0-85e5-f2683891b790n%40googlegroups.com 
. 



--
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/8695befb-a390-fbed-ba11-ef545f1f88c7%40gmail.com 
. 



--
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/e6144174-6894-0fa4-81fa-baf1e0b1e72e%40gmail.com.


Re: [bareos-users] Re: some mount messages not sent by e-mail

2020-09-24 Thread 'DUCARROZ Birgit' via bareos-users

Hi, this is how my job ressource is configured. Am I missing something?

JobDefs {
  Name = "users"
  Type = Backup
  Level = Full
  Client = lx85
  FileSet = "users"  (#13)
  Schedule = "03-09"
  Storage = Tape
  Messages = Standard
  Pool = users
  Priority = 1
  Write Bootstrap = "/euronas/data/bareos-tape-srv-db-and-bsr/%c.bsr"
  Full Backup Pool = users
  Allow Duplicate Jobs = no
  Cancel Lower Level Duplicates = yes
  Cancel Queued Duplicates = yes
  RunAfterJob = "/bin/mt -f /dev/tape/by-id/scsi-350050763121460f3-nst 
eject"

}


On 23/09/20 19:54, Spadajspadaj wrote:
You have the messages configuration but do you have it attached to the 
appropriate job resource?



On 23.09.2020 12:19, 'birgit.ducarroz' via bareos-users wrote:

Hi, no one can help me?

birgit.ducarroz schrieb am Montag, 14. September 2020 um 11:32:42 UTC+2:

Hi,

I would like to receive an e-mail when a cartridge is full and I
need to
insert a new one, but I wonder why I do not get the following
messages
by mail:

"bareos-sd JobId 12: Please mount append Volume "users-0005" or
label a
new one for:
Job: users.2020-09-11_13.11.37_17
Storage: "LTO7-Tape-Drive"
(/dev/tape/by-id/scsi-350050763121460f3-nst)"


When restoring, I got the following e-mail, so this seems to work...
"10-Sep 15:33 bareos-sd JobId 9: Please mount read Volume
"WORM-0003" for:
Job: RestoreFiles.2020-09-10_15.33.47_55"


I re-checked the doc here, but I cannot figure out what is going
wrong.
https://docs.bareos.org/bareos-18.2/Configuration/Messages.html


This is my Standard Mail Config:

Messages {
Name = Standard
Description = "Reasonable message delivery -- send most everything to
email address and to the console."

operatorcommand = "/usr/bin/bsmtp -h root@localhost -f\"\(Bareos
lx85\) \<%r\>\" -s \"Bareos lx85: Intervention needed for %j\" %r"

mailcommand = "/usr/bin/bsmtp -h root@localhost -f \"\(Bareos lx85\)
\<%r\>\" -s \"Bareos lx85: %t %e of %c %l\" %r"

operator = root@localhost = mount #


mail = root@localhost = warning, error, fatal, mount, notsaved,
restored, security, alert, volmgmt
console = all, !skipped, !saved, !audit
append = "/var/log/bareos/bareos.log" = all, !skipped, !saved, !audit
catalog = all, !skipped, !saved, !audit
}

Can someone give me a hint please?

Thank you in advance,
Birgit

--
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/adbbd431-d144-48c0-85e5-f2683891b790n%40googlegroups.com 
.


--
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/8695befb-a390-fbed-ba11-ef545f1f88c7%40gmail.com 
.


--
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/d500e323-7072-7bc3-e706-f21d62112c17%40unifr.ch.