[Bacula-users] Receiving "waiting to reserve a device" messages

2023-12-15 Thread Shawn Rappaport
I've been running Bacula for about 6 years now to backup four sites to disk, 
and it's been very reliable. I have a single Director in one site and separate 
SDs in each of the four sites. I back up about 440 clients (Linux and Windows 
servers, in this case) spread across the four sites. Full backups begin Friday 
night and run through the weekend. Then I take differentials throughout the 
work week (M-Th).

Recently, one of our sites started generating messages that intervention is 
needed and it's "waiting to reserve a device." I've read through some previous 
mailing list posts concerning this issue as well as areas of the Bacula 
documentation, and I'm hoping increasing the Maximum Concurrent Jobs might help 
with this. However, this setting exists in multiple places with different 
values, and I'm not sure which one(s) I should update. FWIW, there is plenty of 
free space on the SD, about 8TB currently.

Below is where I'm seeing that option and the values I currently have set for 
that site.

In bacula-sd.conf on the SD, it is set to 20 under Storage:

Storage { # definition of myself
  Name = bacmedia02-fm.internal.shutterfly.com-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = "/var/bacula"
  Pid Directory = "/var/run"
  Plugin Directory = "/usr/lib64"
  Maximum Concurrent Jobs = 20
}

Also in bacula-sd.conf on the SD, it is set to 5 under Device:

Autochanger {
  Name = FileChgr1
  Device = FileChgr1-Dev1, FileChgr1-Dev2
  Changer Command = ""
  Changer Device = /dev/null
}

Device {
  Name = FileChgr1-Dev1
  Media Type = File1
  Archive Device = /data
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs = 5
  Autochanger = yes
}

In bacula-dir.conf on the Director, it is set to 20 under Director:

Director {# define myself
  Name = bacdirector01-lv.internal.shutterfly.com-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 20
  Password = "" # Console password
  Messages = Daemon
}

Also, in bacula-dir.conf on the Director, it is set to 10 under Storage:

Storage { # definition of myself
  Name = FortMill2
  SDPort = 9103
  Address = bacmedia02-fm.internal.shutterfly.com
  Password = 
  Device = FileChgr1
  Media Type = File1
  Maximum Concurrent Jobs = 10
  Autochanger = yes
  Allow Compression = yes
}

It is also set to 10 in bacula-dir.conf on the Director, under Autochanger:

Autochanger {
  Name = File1
# Do not use "localhost" here
  Address = bacdirector01-lv.internal.shutterfly.com# N.B. Use 
a fully qualified name here
  SDPort = 9103
  Password = ""
  Device = FileChgr1
  Media Type = File1
  Maximum Concurrent Jobs = 10# run up to 10 jobs at the same time
  Autochanger = File1 # point to ourself
}

And, finally, it is set to 20 in bacula-fd.conf on the clients (this is the 
default, not something I set):

FileDaemon {  # this is me
  Name = jumphost01-fm.internal.shutterfly.com-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /opt/bacula/working
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
  Plugin Directory = /usr/lib64
}

Does anyone have any advice on which places I should (or should not) try 
increasing the value? I'm not sure which values take precedence and how 
increasing certain ones might impact things. I realize that increasing the 
number of concurrent jobs will increase the disk I/O on the SD, and I'm OK with 
that.

Thanks!

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


Re: [Bacula-users] [EXTERNAL] Re: Deleting all volumes for a specific SD from the catalog

2023-06-09 Thread Shawn Rappaport
Hi Bill,

Your script worked like a champ and deleted hundreds of volumes from the 
catalog. Thanks a bunch for the quick, precise response. It was exactly what I 
needed.

--Shawn

From: Bill Arlofski via Bacula-users 
Sent: Friday, June 9, 2023 8:45 AM
To: bacula-users@lists.sourceforge.net 
Subject: [EXTERNAL] Re: [Bacula-users] Deleting all volumes for a specific SD 
from the catalog

On 6/9/23 08:35, Shawn Rappaport wrote:
> I have two disk-based SD servers, which are separate physical servers from 
> our Director server. The hostnames are:
> bac-sd01-az - SD server 1
> bac-sd02-az - SD server 2
> bac-dir-az - Director server
>
> The disk volumes are named uniquely on the two SD servers:
> bac-sd01-az - volume names start with az- (e.g.: az-monthly-1, az-weekly-1, 
> az-daily-1, etc.)
> bac-sd02-az -volume names start with az2- (e.g.: az2-monthly-1, az2-weekly-1, 
> az2-daily-1, etc.)
>
> Due to running low on disk space on bac-sd01-az, I installed and cutover to a 
> second SD server with more disk space,
> bac-sd02-az. I did this quite a while ago and no longer need the volumes in 
> my catalog that were on bac-sd01-az. To make
> matters even more fun, bac-sd02-az is now running low on disk space, so I 
> installed larger disks in bac-sd01-az and rebuilt
> it. I would now like to cut back over to bac-sd01-az.
>
> Before I do the cutover, I would like to delete all entries that may still 
> exist in my catalog for volumes that had been
> stored on bac-sd01-az, so I can start using it from scratch.
>
> I don't need a script that handles deleting the volumes from bac-sd01-az, as 
> all of the volumes are already gone. However,
> I'm wondering what bconsole command(s) I can run to delete all volumes 
> starting with az- from my catalog, while leaving
> everything starting with az2- intact. That way, I can cut back over to 
> bac-sd01-az, without having stale entries in the catalog.
>
> Thanks in advance for your help!
>
> --Shawn

Hello Sean,

It is pretty straight forward to do in a small script:
8<
#!/bin/bash

for vol in $(echo "list media" | bconsole | grep "az-[mwd]" | awk '{print 
$4}'); do
   echo "Working on Volume: $vol"
   # echo "delete yes volume=$vol" | bconsole
done
8<


Then rm then the az-* from disk

Please test and then uncomment the `delete yes volume=` line to actually delete 
the volumes from the catalog. ;)


Hope this helps.

*note: I wrote this on-the-fly, in my email client, and while I was in a Zoom 
presentation so there may be a rogue typo or
two. :)


Best regards,
Bill

--
Bill Arlofski
w...@protonmail.com

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


[Bacula-users] Deleting all volumes for a specific SD from the catalog

2023-06-09 Thread Shawn Rappaport
I have two disk-based SD servers, which are separate physical servers from our 
Director server. The hostnames are:
bac-sd01-az - SD server 1
bac-sd02-az - SD server 2
bac-dir-az - Director server

The disk volumes are named uniquely on the two SD servers:
bac-sd01-az - volume names start with az- (e.g.: az-monthly-1, az-weekly-1, 
az-daily-1, etc.)
bac-sd02-az - volume names start with az2- (e.g.: az2-monthly-1, az2-weekly-1, 
az2-daily-1, etc.)

Due to running low on disk space on bac-sd01-az, I installed and cutover to a 
second SD server with more disk space, bac-sd02-az. I did this quite a while 
ago and no longer need the volumes in my catalog that were on bac-sd01-az. To 
make matters even more fun, bac-sd02-az is now running low on disk space, so I 
installed larger disks in bac-sd01-az and rebuilt it. I would now like to cut 
back over to bac-sd01-az.

Before I do the cutover, I would like to delete all entries that may still 
exist in my catalog for volumes that had been stored on bac-sd01-az, so I can 
start using it from scratch.

I don't need a script that handles deleting the volumes from bac-sd01-az, as 
all of the volumes are already gone. However, I'm wondering what bconsole 
command(s) I can run to delete all volumes starting with az- from my catalog, 
while leaving everything starting with az2- intact. That way, I can cut back 
over to bac-sd01-az, without having stale entries in the catalog.

Thanks in advance for your help!

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


[Bacula-users] Restoring encrypted files to a different host

2021-03-24 Thread Shawn Rappaport
I'm using TLS and encryption for some sensitive backup clients. I'm running 
Bacula 9.0.6 on the Director, Storage and Clients, all running CentOS 7.5. I 
just tried to restore some files from a server called portal02-px to a server 
called portal01-px but it failed due to a missing private key:

24-Mar 11:53 bacdirector01-lv.internal.shutterfly.com-dir JobId 143929: Start 
Restore Job RestoreFiles.2021-03-24_11.53.28_40
24-Mar 11:53 bacdirector01-lv.internal.shutterfly.com-dir JobId 143929: Using 
Device "FileChgr1-Dev1" to read.
24-Mar 11:53 bacmedia02-px.internal.shutterfly.com-sd JobId 143929: Ready to 
read from volume "tempe2-weekly-127" on File device "FileChgr1-Dev1" (/data).
24-Mar 11:53 bacmedia02-px.internal.shutterfly.com-sd JobId 143929: Forward 
spacing Volume "tempe2-weekly-127" to addr=2003871821
24-Mar 11:53 bacmedia02-px.internal.shutterfly.com-sd JobId 143929: Elapsed 
time=00:00:02, Transfer rate=4.821 K Bytes/second
24-Mar 11:53 portal01-px.internal.shutterfly.com-fd JobId 143929: Error: 
Missing private key required to decrypt encrypted backup data.
24-Mar 11:53 portal01-px.internal.shutterfly.com-fd JobId 143929: Error: 
Missing private key required to decrypt encrypted backup data.
24-Mar 11:53 portal01-px.internal.shutterfly.com-fd JobId 143929: Error: 
Missing private key required to decrypt encrypted backup data.
24-Mar 11:53 portal01-px.internal.shutterfly.com-fd JobId 143929: Error: 
Missing private key required to decrypt encrypted backup data.
24-Mar 11:53 portal01-px.internal.shutterfly.com-fd JobId 143929: Error: 
Missing private key required to decrypt encrypted backup data.
24-Mar 11:53 portal01-px.internal.shutterfly.com-fd JobId 143929: Error: 
Missing private key required to decrypt encrypted backup data.
24-Mar 11:53 bacdirector01-lv.internal.shutterfly.com-dir JobId 143929: Error: 
Bacula bacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):
  Build OS:   x86_64-pc-linux-gnu redhat (Core)
  JobId:  143929
  Job:RestoreFiles.2021-03-24_11.53.28_40
  Restore Client: portal01-px-fd
  Start time: 24-Mar-2021 11:53:30
  End time:   24-Mar-2021 11:53:33
  Files Expected: 6
  Files Restored: 6
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  6
  FD termination status:  Error
  SD termination status:  OK
  Termination:*** Restore Error ***

So, it seems that the way I have things configured, I can only restore to the 
same host (I was able to do that successfully).

Here are the File Daemon sections of those two servers:
FileDaemon {  # this is me
  Name = portal02-px.internal.shutterfly.com-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /var/bacula
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
  Plugin Directory = /usr/lib64
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/bacula/cacert.pem
  TLS Certificate = /etc/bacula/portal02-px.crt
  TLS Key = /etc/bacula/portal02-px-daemon.key
  PKI Encryption = Yes   # Enable Data Encryption
  PKI Signatures = Yes   # Enable Data Signing
  PKI Keypair = /etc/bacula/portal02-px.pem# Public and Private Keys
  PKI Master Key = /etc/bacula/bacdirector01-lv.crt   # ONLY the Public Key
}

FileDaemon {  # this is me
  Name = portal01-px.internal.shutterfly.com-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /opt/bacula/working
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
  Plugin Directory = /usr/lib64
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/bacula/cacert.pem
  TLS Certificate = /etc/bacula/portal01-px.crt
  TLS Key = /etc/bacula/portal01-px-daemon.key
  PKI Encryption = Yes   # Enable Data Encryption
  PKI Signatures = Yes   # Enable Data Signing
  PKI Keypair = /etc/bacula/portal01-px.pem# Public and Private Keys
  PKI Master Key = /etc/bacula/bacdirector01-lv.crt   # ONLY the Public Key
}

What do I need to do in order to be able to restore from one server to the 
other? Do I need to copy the private key from portal02-px to portal01-px and 
update bacula-fd.conf on them as well? If so, what would I put in 
bacula-fd.conf?

Thanks!

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


Re: [Bacula-users] TLS issues

2020-08-03 Thread Shawn Rappaport
Hey Dan,

Thanks for the quick response! Based on what you wrote below, it sounds like 
the "Encryption" line listed in the backup log refers to data encryption at 
rest, not TLS encryption in transit. So, now it makes sense why I saw that 
Encryption said no. I was planning on tackling the data encryption after I got 
TLS working, which I think I have done. :-)

Thanks again!

--Shawn


From: Dan Langille 
Sent: Monday, August 3, 2020 9:40 AM
To: Shawn Rappaport ; Dimitri Maziuk via 
Bacula-users 
Subject: Re: [Bacula-users] TLS issues

On Mon, Aug 3, 2020, at 12:30 PM, Shawn Rappaport wrote:

Any idea why it would not be encrypted even though I am requiring TLS?

TLS is just transit.  Transport Layer Security.

https://www.bacula.org/9.6.x-manuals/en/main/Bacula_TLS_Communications_E.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.bacula.org_9.6.x-2Dmanuals_en_main_Bacula-5FTLS-5FCommunications-5FE.html=DwMFAg=gF1t3YcGliJxvhK2Sl_RWGpK0dUxv3kAzNl4XNctI-U=g3YpYn4F5FXgzzN0b-CRsYlxe9AEUe9FTf00xTFMVnU=pSkCKvZSF6affid2vYEB0UILgwuEmjvddzM9CayqKXs=73SnwrasTncsuGxCiFpl4FUZ6gwoyjrUSKo2Ftgxeq4=>

You want Data Encryption:

https://www.bacula.org/9.6.x-manuals/en/main/Data_Encryption.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.bacula.org_9.6.x-2Dmanuals_en_main_Data-5FEncryption.html=DwMFAg=gF1t3YcGliJxvhK2Sl_RWGpK0dUxv3kAzNl4XNctI-U=g3YpYn4F5FXgzzN0b-CRsYlxe9AEUe9FTf00xTFMVnU=pSkCKvZSF6affid2vYEB0UILgwuEmjvddzM9CayqKXs=8ijK8MLpiAUQPHZavYyXkj8L9utOiGxmIMwb_daVyes=>


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


Re: [Bacula-users] TLS issues

2020-08-03 Thread Shawn Rappaport
 = “xbacdirector01-lv.internal.shutterfly.com”
}

Storage { # definition of myself
  Name = xbacdirector01-lv.internal.shutterfly.com-sd
  SDPort = 9103  # Director's port
  Address = xbacdirector01-lv.internal.shutterfly.com
  Password = "password"
  Device = FileChgr1-Dev1   #Make sure this matches the bacula-sd.conf file
  MediaType = File1
  Maximum Concurrent Jobs = 20
  Autochanger = yes
  Allow Compression = yes
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/ssl/cacert.pem
  TLS Certificate = /etc/ssl/xbacdirector01-lv.crt
  TLS Key = /etc/ssl/xbacdirector01-lv-daemon.key
}

Client {
  Name = memsql01-px-fd
  Address = memsql01-px.internal.shutterfly.com
  FDPort = 9102
  Catalog = MyCatalog
  Password = "password"  # password for FileDaemon
  File Retention = 6 months# 30 days
  Job Retention = 1 years# six months
  AutoPrune = yes # Prune expired Jobs/Files
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/ssl/cacert.pem
  TLS Certificate = /etc/ssl/memsql01-px.crt
  TLS Key = /etc/ssl/memsql01-px-daemon.key
}

Any idea why it would not be encrypted even though I am requiring TLS?

Thanks!

--Shawn



From: Dan Langille 
Sent: Saturday, August 1, 2020 5:47 AM
To: Dimitri Maziuk via Bacula-users 
Subject: Re: [Bacula-users] TLS issues

On Fri, Jul 31, 2020, at 6:15 PM, Shawn Rappaport wrote:
I'm running Bacula 9.06 (compiled from source with the --with-openssl option) 
on CentOS 7.5 and running into issues configuring TLS in our test environment. 
I am following the instructions from these two pages:
https://www.labeightyfour.com/2019/06/20/configure-encrypted-connections-in-bacula/<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.labeightyfour.com_2019_06_20_configure-2Dencrypted-2Dconnections-2Din-2Dbacula_=DwMFaQ=gF1t3YcGliJxvhK2Sl_RWGpK0dUxv3kAzNl4XNctI-U=g3YpYn4F5FXgzzN0b-CRsYlxe9AEUe9FTf00xTFMVnU=_RWZgR6VIJ_2GUjFR4i8oJjKcR2nVktMrM_C92APDBU=f1sfXSdYJCyoyvsJhfwnPv26O7TXdWFRbE6fVMdorHk=>
https://www.labeightyfour.com/2019/12/05/certificate-extensions-in-openssl/<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.labeightyfour.com_2019_12_05_certificate-2Dextensions-2Din-2Dopenssl_=DwMFaQ=gF1t3YcGliJxvhK2Sl_RWGpK0dUxv3kAzNl4XNctI-U=g3YpYn4F5FXgzzN0b-CRsYlxe9AEUe9FTf00xTFMVnU=_RWZgR6VIJ_2GUjFR4i8oJjKcR2nVktMrM_C92APDBU=EvXjYLks--fg3HfMjMpWU3n4nCiOSCwbRL9xAmXzQMM=>

My test environment consists of a server running the Director and SD 
(xbacdirector01-lv) as well as a CentOS 7.5 Linux client and Windows Server 
2019 client.

At work, we just finished getting a client to work. It was a multi-week 
process.  I'll see if I can get details on Monday.  There was something 
extremely obscure which we had to do.

TLS can be very complex to get going. I encourage you to first ensure 
everything works properly without TLS and then start adding in TLS. To do both 
at once is dealing with too many variables.

I may be making errors in my observations and I hope they get pointed out.
...
The following is mentioned in passing, not because I have noticed something 
wrong with your cert creation process, but I recommend verifying that you have 
client certs for clients (bacula-fd) and server certs for servers (bacula-dir, 
bacula-sd).

There are two types of ssl certs: client, and server. You need server certs for 
Bacula.

https://dan.langille.org/2019/11/29/ssl-client-vs-server-certificates-and-bacula-fd/<https://urldefense.proofpoint.com/v2/url?u=https-3A__dan.langille.org_2019_11_29_ssl-2Dclient-2Dvs-2Dserver-2Dcertificates-2Dand-2Dbacula-2Dfd_=DwMFaQ=gF1t3YcGliJxvhK2Sl_RWGpK0dUxv3kAzNl4XNctI-U=g3YpYn4F5FXgzzN0b-CRsYlxe9AEUe9FTf00xTFMVnU=_RWZgR6VIJ_2GUjFR4i8oJjKcR2nVktMrM_C92APDBU=M_A5KQNpN48WNba5oPBm-djTQMrSpCqLOw6DoVCRqio=>

I use and recommend ssl-admin

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


[Bacula-users] TLS issues

2020-07-31 Thread Shawn Rappaport
I'm running Bacula 9.06 (compiled from source with the --with-openssl option) 
on CentOS 7.5 and running into issues configuring TLS in our test environment. 
I am following the instructions from these two pages:
https://www.labeightyfour.com/2019/06/20/configure-encrypted-connections-in-bacula/
https://www.labeightyfour.com/2019/12/05/certificate-extensions-in-openssl/

My test environment consists of a server running the Director and SD 
(xbacdirector01-lv) as well as a CentOS 7.5 Linux client and Windows Server 
2019 client.

First, I generated the keys and certificates on xbacdirector01-lv, put them in 
/etc/ssl, chown'd them as bacula.bacula and changed the permissions on the keys 
to 600. Here is how I generated things:

Configure the Certificate Authority using OpenSSL
openssl genrsa -out bacula_ca.key 2048
openssl req -new -x509 -key bacula_ca.key -out bacula_ca.crt -days 365  
-extensions usr_cert

Configure Keys and Certificates for the Bacula Server using OpenSSL
openssl req -new -newkey rsa:2048 -nodes -keyout bacula_server.key -out 
bacula_server.csr -days 365
openssl x509 -req -in bacula_server.csr -CA /etc/ssl/bacula_ca.crt -CAkey 
/etc/ssl/bacula_ca.key -CAcreateserial -out bacula_server.crt -extensions 
usr_cert -days 365

Then I modified bconsole.conf to include the TLS directives. It now looks like 
this:

Director {
  Name = xbacdirector01-lv.internal.shutterfly.com-dir
  DIRport = 9101
  address = xbacdirector01-lv.internal.shutterfly.com
  Password = "password"
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/ssl/bacula_ca.crt
  TLS Certificate = /etc/ssl/bacula_server.crt
  TLS Key = /etc/ssl/bacula_server.key
}

Next, I updated bacula-dir.conf to include the TLS directives:

Director {# define myself
  Name = xbacdirector01-lv.internal.shutterfly.com-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 20
  Password = "password" # Console password
  Messages = Daemon
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/ssl/bacula_ca.crt
  TLS Certificate = /etc/ssl/bacula_server.crt
  TLS Key = /etc/ssl/bacula_server.key
#  TLS Verify Peer = no
  TLS Allowed CN = “xbacdirector01-lv.internal.shutterfly.com”
}

Storage { # definition of myself
  Name = xbacdirector01-lv.internal.shutterfly.com-sd
  SDPort = 9103  # Director's port
  Address = xbacdirector01-lv.internal.shutterfly.com
  Password = "password"
  Device = FileChgr1-Dev1   #Make sure this matches the bacula-sd.conf file
  MediaType = File1
  Maximum Concurrent Jobs = 20
  Autochanger = yes
  Allow Compression = yes
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/ssl/bacula_ca.crt
  TLS Certificate = /etc/ssl/bacula_server.crt
  TLS Key = /etc/ssl/bacula_server.key
}

Autochanger {
  Name = File1
# Do not use "localhost" here
  Address = xbacdirector01-lv.internal.shutterfly.com# N.B. Use 
a fully qualified name here
  SDPort = 9103
  Password = "password"
  Device = FileChgr1
  Media Type = File1
  Maximum Concurrent Jobs = 10# run up to 10 jobs a the same time
  Autochanger = File1 # point to ourself
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/ssl/bacula_ca.crt
  TLS Certificate = /etc/ssl/bacula_server.crt
  TLS Key = /etc/ssl/bacula_server.key
}

I also added the TLS directives to bacula-sd.conf:

Storage { # definition of myself
  Name = xbacdirector01-lv.internal.shutterfly.com-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = "/var/bacula"
  Pid Directory = "/var/run"
  Plugin Directory = "/usr/lib64"
  Maximum Concurrent Jobs = 20
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/ssl/bacula_ca.crt
  TLS Certificate = /etc/ssl/bacula_server.crt
  TLS Key = /etc/ssl/bacula_server.key
}

Director {
  Name = xbacdirector01-lv.internal.shutterfly.com-dir
  Password = "password"
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/ssl/bacula_ca.crt
  TLS Certificate = /etc/ssl/bacula_server.crt
  TLS Key = /etc/ssl/bacula_server.key
}

After those changes, I bounced Bacula and tried running bconsole. Here is the 
error I'm receiving:

Connecting to Director xbacdirector01-lv.internal.shutterfly.com:9101
bconsole: tls.c:87-0 Error with certificate at depth: 0, issuer = 
/C=US/ST=Arizona/L=Tempe/O=Shutterfly/OU=ops-syseng/CN=xbacdirector01-lv.internal.shutterfly.com/emailAddress=t...@shutterfly.com,
 subject = 
/C=US/ST=Arizona/L=Tempe/O=Shutterfly/OU=ops-syseng/CN=xbacdirector01-lv.internal.shutterfly.com/emailAddress=t...@shutterfly.com,
 ERR=18:self signed certificate
31-Jul 14:41 bconsole JobId 0: Error: tls.c:87 Error with certificate at depth: 
0, issuer = 

Re: [Bacula-users] Windows client compatible with Bacula 9.0.6

2020-03-21 Thread Shawn Rappaport
Thanks a bunch, Gary! I'll give it a try and upgrade my Dir and SDs if 
necessary.

--Shawn


From: Gary R. Schmidt 
Sent: Friday, March 20, 2020 8:19 PM
To: bacula-users@lists.sourceforge.net 
Subject: Re: [Bacula-users] Windows client compatible with Bacula 9.0.6

On 21/03/2020 03:30, Shawn Rappaport wrote:
> Hi, I'm running Bacula 9.0.6 on CentOS 7.5 (Director and SDs). I'm
> looking for a copy of the Windows binary for Windows Server 2016 that
> will work with that version of Bacula. I tried downloading the 9.0.8
> binary from this location but the link on that page is no longer valid
> (I get a 404):
> https://urldefense.com/v3/__https://www.bacula.org/binary-download-center/__;!!P9Lt_3V8VW4!5KXgdQf8q017csGUijPbsFmndBCCWPf2Ti9aeud9rxTf1zNTMb236_TfRyWGYvlqjtw5$
>
> Is there another location where I can download that binary?
>
I've got 9.0.7, grab them from here:
<https://urldefense.com/v3/__http://www.mcleod-schmidt.id.au/*grs/bacula-win32-9.0.7.exe__;fg!!P9Lt_3V8VW4!5KXgdQf8q017csGUijPbsFmndBCCWPf2Ti9aeud9rxTf1zNTMb236_TfRyWGYkO0HasF$
 >
<https://urldefense.com/v3/__http://www.mcleod-schmidt.id.au/*grs/bacula-win64-9.0.7.exe__;fg!!P9Lt_3V8VW4!5KXgdQf8q017csGUijPbsFmndBCCWPf2Ti9aeud9rxTf1zNTMb236_TfRyWGYj5XiiFj$
 >

They may not work, however, the rule is (DIR == SD) >= FD.

Best to update your director and storage daemon, then use current things.

 Cheers,
 Gary B-)



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/bacula-users__;!!P9Lt_3V8VW4!5KXgdQf8q017csGUijPbsFmndBCCWPf2Ti9aeud9rxTf1zNTMb236_TfRyWGYny3XePw$
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows client compatible with Bacula 9.0.6

2020-03-20 Thread Shawn Rappaport
Hi, I'm running Bacula 9.0.6 on CentOS 7.5 (Director and SDs). I'm looking for 
a copy of the Windows binary for Windows Server 2016 that will work with that 
version of Bacula. I tried downloading the 9.0.8 binary from this location but 
the link on that page is no longer valid (I get a 404):
https://www.bacula.org/binary-download-center/

Is there another location where I can download that binary?

Thanks!

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


[Bacula-users] MySQL files filling up the disk

2019-03-02 Thread Shawn Rappaport
I'm running Bacula 9.06 on CentOS 7.5 with MariaDB version 5.5.56-2. The 
Bacula-web interface shows the DB is 69.10GB in size. However, the MySQL files 
on my server are consuming 442GB of disk space, which is starting to fill up 
the disk on my Director server. I see 374 mysql-bin files which are almost all 
1.1GB in size. I also see an ibdata1 file which is 73GB.

Do I need to perform some sort of maintenance on the DB to get things under 
control? Sorry for my ignorance but I'm not very familiar with MySQL.

Thanks!

--Shawn


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


[Bacula-users] Purge volume not freeing up disk space

2019-03-02 Thread Shawn Rappaport
I just purged a 100GB volume (my maximum volume size) and it shows as purged 
but didn't free up disk space. Maybe I misunderstood what the purge command is 
for since I expected the file size of daily-0 to drop to 0GB but it still shows 
as 100GB:
|   1 | daily-0| Purged|   1 | 107,374,153,682 |   24 | 
 777,600 |   1 |0 | 0 | File1 |   1 |0 | 
2019-02-15 01:39:38 | 0 |
|  36

How do I get it to delete the contents of the file so it is no longer 100GB in 
size? If I delete the file altogether, will it simply be re-created as needed?

Thanks!

--Shawn


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


[Bacula-users] Bacula: Intervention needed messages

2019-02-28 Thread Shawn Rappaport
I've been running Bacula for about one year now. I recently started receiving 
emails from my Bacula director server stating "Bacula: Intervention needed". 
Example:
Subject: Bacula: Intervention needed for efixf-rip03-fm.2019-02-27_23.05.04_05
Body: 27-Feb 23:40 bacmedia01-fm.internal.shutterfly.com-sd JobId 35988: 
JobId=35988, Job efixf-rip03-fm.2019-02-27_23.05.04_05 waiting to reserve a 
device.

This is only happening for one of our four locations, which has 50 clients. For 
nightly differential backups, I'm only receiving 5-6 of these messages. 
However, for weekly full backups, I'm receiving many of them. No action appears 
to be required on my part, as the jobs eventually finish. However, I'm 
wondering what might have caused these messages to suddenly start since the 
number of clients hasn't changed much recently. I have Maximum Concurrent Jobs 
= 20 on the SD (a separate server from the Director).

I'm running Bacula (Dir and SD) 9.0.6 on CentOS 7.5. Most of the clients are 
CentOS 7.5 running 9.0.6 but there are some Windows 2008R2/2012R2 clients as 
well. The email messages are occurring for both Linux and Windows clients.

Thanks!

--Shawn


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


Re: [Bacula-users] Not a Bacula labeled Volume error

2018-05-02 Thread Shawn Rappaport
Update #2: So, it seems I have an even bigger problem. I tried to manually back 
up the servers that failed using our weekly pool instead of the daily pool and 
they failed with the same error:
01-May 08:40 bacmedia01-mn.internal.shutterfly.com-sd JobId 4697: Fatal error: 
block_util.c:425 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer 
discarded.
01-May 08:40 colorreports01-mn-fd JobId 4697: Fatal error: job.c:2700 Bad 
response from SD to Append Data command. Wanted 3000 OK data
, got len=262 msg="3903 Error append data: Read label block failed: requested 
Volume "shakopee-weekly-261" on File device "FileChgr1-Dev1" (/data) is not a 
Bacula labeled Volume, because: ERR=block_util.c:425 Volume data error at 0:0! 
Wanted ID: "BB02", got "". Buffer disca"
01-May 08:40 bacdirector01-lv.internal.shutterfly.com-dir JobId 4697: Error: 
Bacula bacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):

I then tried to do a restore from one of the jobs that *was* successful last 
night and got this:
01-May 08:55 bacmedia01-mn.internal.shutterfly.com-sd JobId 4698: Please mount 
read Volume "shakopee-weekly-26" for:
Job:  RestoreFiles.2018-05-01_08.54.59_10
Storage:  "FileChgr1-Dev1" (/data)
Pool: Daily
Media type:   File1

It seems like Bacula is not happy with this particular SD, bacmedia01-mn. 
Anyone know what would cause these problems and how I can fix them? 

--Shawn

PS: Sorry for sending three separate emails for the same problem.

On 5/1/18, 8:30 AM, "Shawn Rappaport" <srappap...@shutterfly.com> wrote:

Update: I tried renaming the shakopee-daily-5 volume, hoping Bacula would 
see that it’s missing and simply move on to the next volume. Unfortunately, 
that didn't work and I got the same error:

01-May 08:27 bacmedia01-mn.internal.shutterfly.com-sd JobId 4694: Fatal 
error: block_util.c:425 Volume data error at 0:0! Wanted ID: "BB02", got "". 
Buffer discarded.

01-May 08:27 colorreports01-mn-fd JobId 4694: Fatal error: job.c:2700 Bad 
response from SD to Append Data command. Wanted 3000 OK data

, got len=259 msg="3903 Error append data: Read label block failed: 
requested Volume "shakopee-daily-5" on File device "FileChgr1-Dev2" (/data) is 
not a Bacula labeled Volume, because: ERR=block_util.c:425 Volume data error at 
0:0! Wanted ID: "BB02", got "". Buffer discarde"

01-May 08:27 bacdirector01-lv.internal.shutterfly.com-dir JobId 4694: 
Error: Bacula bacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):



Any ideas on how I fix this?



Thanks!



--Shawn



On 5/1/18, 8:14 AM, "Shawn Rappaport" <srappap...@shutterfly.com> wrote:



I had a bunch of jobs fail last night with the error below. Does anyone 
know what I can do to resolve the problem? It sounds like maybe the 
shakopee-daily-5 volume is corrupt. If I delete it, will Bacula proceed to 
create a new volume and continue from there?



Thanks!



--Shawn



30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 
4629: Start Backup JobId 4629, Job=colorreports01-mn.2018-04-30_23.05.04_32

30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 
4629: Using Device "FileChgr1-Dev2" to write.

30-Apr 23:07 bacmedia01-mn.internal.shutterfly.com-sd JobId 4629: 
Fatal error: block_util.c:425 Volume data error at 0:0! Wanted ID: "BB02", got 
"". Buffer discarded.

30-Apr 23:07 colorreports01-mn-fd JobId 4629: Fatal error: 
job.c:2700 Bad response from SD to Append Data command. Wanted 3000 OK data

, got len=259 msg="3903 Error append data: Read label block failed: 
requested Volume "shakopee-daily-5" on File device "FileChgr1-Dev2" (/data) is 
not a Bacula labeled Volume, because: ERR=block_util.c:425 Volume data error at 
0:0! Wanted ID: "BB02", got "". Buffer discarde"

30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 
4629: Error: Bacula bacdirector01-lv.internal.shutterfly.com-dir 9.0.6 
(20Nov17):

  Build OS:   x86_64-pc-linux-gnu redhat (Core)

  JobId:  4629

  Job:colorreports01-mn.2018-04-30_23.05.04_32

  Backup Level:   Differential, since=2018-04-30 13:54:06

  Client: "colorreports01-mn-fd" 9.0.6 (20Nov17) 
x86_64-pc-linux-gnu,redhat,

  FileSet:"linux-full" 2018-03-08 23:05:00


Re: [Bacula-users] Not a Bacula labeled Volume error

2018-05-01 Thread Shawn Rappaport
Thanks, Patti! It's looking like the /data volume on my server might be 
corrupt. I'm running an xfs_repair on it now.

--Shawn

On 5/1/18, 10:22 AM, "Clark, Patti" <clar...@ornl.gov> wrote:

If you just want another volume to be selected, mark the volume "Full" or 
"Error".  Either setting will get Bacula to look for another volume.  It will 
give you time to decide on what you want to do with the problem volume while 
Bacula continues with the backup. 



Patti

 
    
On 5/1/18, 11:33 AM, "Shawn Rappaport" <srappap...@shutterfly.com> wrote:



Update: I tried renaming the shakopee-daily-5 volume, hoping Bacula 
would see that it’s missing and simply move on to the next volume. 
Unfortunately, that didn't work and I got the same error:

01-May 08:27 bacmedia01-mn.internal.shutterfly.com-sd JobId 4694: Fatal 
error: block_util.c:425 Volume data error at 0:0! Wanted ID: "BB02", got "". 
Buffer discarded.

01-May 08:27 colorreports01-mn-fd JobId 4694: Fatal error: job.c:2700 
Bad response from SD to Append Data command. Wanted 3000 OK data

, got len=259 msg="3903 Error append data: Read label block failed: 
requested Volume "shakopee-daily-5" on File device "FileChgr1-Dev2" (/data) is 
not a Bacula labeled Volume, because: ERR=block_util.c:425 Volume data error at 
0:0! Wanted ID: "BB02", got "". Buffer discarde"

01-May 08:27 bacdirector01-lv.internal.shutterfly.com-dir JobId 4694: 
Error: Bacula bacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):



Any ideas on how I fix this?
    
    

Thanks!



--Shawn



On 5/1/18, 8:14 AM, "Shawn Rappaport" <srappap...@shutterfly.com> wrote:



I had a bunch of jobs fail last night with the error below. Does 
anyone know what I can do to resolve the problem? It sounds like maybe the 
shakopee-daily-5 volume is corrupt. If I delete it, will Bacula proceed to 
create a new volume and continue from there?



Thanks!



--Shawn



30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 
4629: Start Backup JobId 4629, Job=colorreports01-mn.2018-04-30_23.05.04_32

30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 
4629: Using Device "FileChgr1-Dev2" to write.

30-Apr 23:07 bacmedia01-mn.internal.shutterfly.com-sd JobId 
4629: Fatal error: block_util.c:425 Volume data error at 0:0! Wanted ID: 
"BB02", got "". Buffer discarded.

30-Apr 23:07 colorreports01-mn-fd JobId 4629: Fatal error: 
job.c:2700 Bad response from SD to Append Data command. Wanted 3000 OK data

, got len=259 msg="3903 Error append data: Read label block 
failed: requested Volume "shakopee-daily-5" on File device "FileChgr1-Dev2" 
(/data) is not a Bacula labeled Volume, because: ERR=block_util.c:425 Volume 
data error at 0:0! Wanted ID: "BB02", got "". Buffer discarde"

30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 
4629: Error: Bacula bacdirector01-lv.internal.shutterfly.com-dir 9.0.6 
(20Nov17):

  Build OS:   x86_64-pc-linux-gnu redhat (Core)

  JobId:  4629

  Job:
colorreports01-mn.2018-04-30_23.05.04_32

  Backup Level:   Differential, since=2018-04-30 
13:54:06

  Client: "colorreports01-mn-fd" 9.0.6 
(20Nov17) x86_64-pc-linux-gnu,redhat,

  FileSet:"linux-full" 2018-03-08 23:05:00

  Pool:   "Shakopee-Daily" (From Run Pool 
override)

  Catalog:"MyCatalog" (From Client resource)

  Storage:"Shakopee" (From Pool resource)

  Scheduled time: 30-Apr-2018 23:05:04

  Start time: 30-Apr-2018 23:07:48

  End time:   30-Apr-2018 23:07:49

  Elapsed time:   1 sec

  Priority:   10

  FD Files Written:   0

  SD Files Written:   0

  FD Bytes Written:   0 (0 B)

  SD Bytes Written:   0 (0 B)

  Rate:   0.0 KB/s

  Software Compression:   None

  Comm Lin

[Bacula-users] Not a Bacula labeled Volume error

2018-05-01 Thread Shawn Rappaport
I had a bunch of jobs fail last night with the error below. Does anyone know 
what I can do to resolve the problem? It sounds like maybe the shakopee-daily-5 
volume is corrupt. If I delete it, will Bacula proceed to create a new volume 
and continue from there?

Thanks!

--Shawn

30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 4629: Start 
Backup JobId 4629, Job=colorreports01-mn.2018-04-30_23.05.04_32
30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 4629: Using 
Device "FileChgr1-Dev2" to write.
30-Apr 23:07 bacmedia01-mn.internal.shutterfly.com-sd JobId 4629: Fatal 
error: block_util.c:425 Volume data error at 0:0! Wanted ID: "BB02", got "". 
Buffer discarded.
30-Apr 23:07 colorreports01-mn-fd JobId 4629: Fatal error: job.c:2700 Bad 
response from SD to Append Data command. Wanted 3000 OK data
, got len=259 msg="3903 Error append data: Read label block failed: 
requested Volume "shakopee-daily-5" on File device "FileChgr1-Dev2" (/data) is 
not a Bacula labeled Volume, because: ERR=block_util.c:425 Volume data error at 
0:0! Wanted ID: "BB02", got "". Buffer discarde"
30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 4629: 
Error: Bacula bacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):
  Build OS:   x86_64-pc-linux-gnu redhat (Core)
  JobId:  4629
  Job:colorreports01-mn.2018-04-30_23.05.04_32
  Backup Level:   Differential, since=2018-04-30 13:54:06
  Client: "colorreports01-mn-fd" 9.0.6 (20Nov17) 
x86_64-pc-linux-gnu,redhat,
  FileSet:"linux-full" 2018-03-08 23:05:00
  Pool:   "Shakopee-Daily" (From Run Pool override)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"Shakopee" (From Pool resource)
  Scheduled time: 30-Apr-2018 23:05:04
  Start time: 30-Apr-2018 23:07:48
  End time:   30-Apr-2018 23:07:49
  Elapsed time:   1 sec
  Priority:   10
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Software Compression:   None
  Comm Line Compression:  None
  Snapshot/VSS:   no
  Encryption: no
  Accurate:   no
  Volume name(s): 
  Volume Session Id:  30
  Volume Session Time:1524954816
  Last Volume Bytes:  603,363,650 (603.3 MB)
  Non-fatal FD errors:1
  SD Errors:  1
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Not a Bacula labeled Volume error

2018-05-01 Thread Shawn Rappaport
Update: I tried renaming the shakopee-daily-5 volume, hoping Bacula would see 
that it’s missing and simply move on to the next volume. Unfortunately, that 
didn't work and I got the same error:
01-May 08:27 bacmedia01-mn.internal.shutterfly.com-sd JobId 4694: Fatal error: 
block_util.c:425 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer 
discarded.
01-May 08:27 colorreports01-mn-fd JobId 4694: Fatal error: job.c:2700 Bad 
response from SD to Append Data command. Wanted 3000 OK data
, got len=259 msg="3903 Error append data: Read label block failed: requested 
Volume "shakopee-daily-5" on File device "FileChgr1-Dev2" (/data) is not a 
Bacula labeled Volume, because: ERR=block_util.c:425 Volume data error at 0:0! 
Wanted ID: "BB02", got "". Buffer discarde"
01-May 08:27 bacdirector01-lv.internal.shutterfly.com-dir JobId 4694: Error: 
Bacula bacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):

Any ideas on how I fix this?

Thanks!

--Shawn

On 5/1/18, 8:14 AM, "Shawn Rappaport" <srappap...@shutterfly.com> wrote:

I had a bunch of jobs fail last night with the error below. Does anyone 
know what I can do to resolve the problem? It sounds like maybe the 
shakopee-daily-5 volume is corrupt. If I delete it, will Bacula proceed to 
create a new volume and continue from there?

Thanks!

--Shawn

30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 4629: 
Start Backup JobId 4629, Job=colorreports01-mn.2018-04-30_23.05.04_32
30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 4629: 
Using Device "FileChgr1-Dev2" to write.
30-Apr 23:07 bacmedia01-mn.internal.shutterfly.com-sd JobId 4629: Fatal 
error: block_util.c:425 Volume data error at 0:0! Wanted ID: "BB02", got "". 
Buffer discarded.
30-Apr 23:07 colorreports01-mn-fd JobId 4629: Fatal error: job.c:2700 
Bad response from SD to Append Data command. Wanted 3000 OK data
, got len=259 msg="3903 Error append data: Read label block failed: 
requested Volume "shakopee-daily-5" on File device "FileChgr1-Dev2" (/data) is 
not a Bacula labeled Volume, because: ERR=block_util.c:425 Volume data error at 
0:0! Wanted ID: "BB02", got "". Buffer discarde"
30-Apr 23:07 bacdirector01-lv.internal.shutterfly.com-dir JobId 4629: 
Error: Bacula bacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):
  Build OS:   x86_64-pc-linux-gnu redhat (Core)
  JobId:  4629
  Job:colorreports01-mn.2018-04-30_23.05.04_32
  Backup Level:   Differential, since=2018-04-30 13:54:06
  Client: "colorreports01-mn-fd" 9.0.6 (20Nov17) 
x86_64-pc-linux-gnu,redhat,
  FileSet:"linux-full" 2018-03-08 23:05:00
  Pool:   "Shakopee-Daily" (From Run Pool override)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"Shakopee" (From Pool resource)
  Scheduled time: 30-Apr-2018 23:05:04
  Start time: 30-Apr-2018 23:07:48
  End time:   30-Apr-2018 23:07:49
  Elapsed time:   1 sec
  Priority:   10
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Software Compression:   None
  Comm Line Compression:  None
  Snapshot/VSS:   no
  Encryption: no
  Accurate:   no
  Volume name(s): 
  Volume Session Id:  30
  Volume Session Time:1524954816
  Last Volume Bytes:  603,363,650 (603.3 MB)
  Non-fatal FD errors:1
  SD Errors:  1
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows server restore problem

2018-03-14 Thread Shawn Rappaport
Hi Wanderlei,

You were correct! The folders were hidden. As soon as I set the folder options 
to Show hidden files, folders and drives, the restored folders showed up. Phew. 
☺

Thanks for the help!

--Shawn

From: Wanderlei Huttel <wanderleihut...@gmail.com>
Date: Wednesday, March 14, 2018 at 10:23 AM
To: Shawn Rappaport <srappap...@shutterfly.com>
Cc: "bacula-users@lists.sourceforge.net" <bacula-users@lists.sourceforge.net>
Subject: Re: [Bacula-users] Windows server restore problem

Hello Shawn

It's been probably that the files are hidden. Try to give the correct 
permissions to this folder, or try to remove "c:\tmp\bacula-restores" and do 
another restore.

Best regards

Wanderlei Hüttel
http://www.huttel.com.br[huttel.com.br]<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.huttel.com.br=DwMFaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=Keis7vxRletlHeK_DW_fC34Pg4CEhTrTFun9rko6L78=qQI3cjdOqsEr1cegF0OOxQ0DZjwQBz_kyZzjCIjsdpA=>

2018-03-14 14:11 GMT-03:00 Shawn Rappaport 
<srappap...@shutterfly.com<mailto:srappap...@shutterfly.com>>:
I’m running into a strange issue when trying to restore files to Windows 
clients running version 7.4.4 (the Director and Storage Daemons are running 
9.0.6). I have 34 Windows clients, running a mix of Windows 2008 R2 and 2012 
R2. All of them appear to be backing up just fine. However, when I did test 
restores on all of the servers, 17 of them were unsuccessful. This is what I 
mean by “unsuccessful”: The c:\tmp\bacula-restores folder gets created on the 
restore client but none of the files I selected for restore appear in the 
folder, i.e., it’s empty. However, according to the logs, the restore was 
successful. Example:
  Job:RestoreFiles.2018-03-13_16.22.11_07
  Restore Client: redhulk-px-fd
  Start time: 13-Mar-2018 16:22:12
  End time:   13-Mar-2018 16:22:45
  Files Expected: 699
  Files Restored: 699
  Bytes Restored: 138,483,263
  Rate:   4196.5 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK

I’m seeing this behavior with both 2008 R2 and 2012 R2 so the issue doesn’t 
appear to be isolated to OS version.

This is the relevant information from the log for the last Full backup of the 
redhulk-px-fd client that I’m trying to restore files to in the example above:
  FD Files Written:   289,986
  SD Files Written:   289,986
  FD Bytes Written:   1,047,957,634,385 (1.047 TB)
  SD Bytes Written:   1,048,025,091,180 (1.048 TB)
 …
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK

Has anyone seen this problem before or know how to go about troubleshooting it?

--Shawn

PS: FWIW, I just finished testing restores of 20 Linux clients and all were 
successful.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot[sdm.link]<https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot=DwMFaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=Keis7vxRletlHeK_DW_fC34Pg4CEhTrTFun9rko6L78=oVT0R9gR1LSliAHhAZO7HlbCMpPF8L5hrBapsHQmRe4=>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users[lists.sourceforge.net]<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers=DwMFaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=Keis7vxRletlHeK_DW_fC34Pg4CEhTrTFun9rko6L78=9s2NxjtSfIJjYYg7DA4zIpC2p29MZfXfhuz6apAYjcw=>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows server restore problem

2018-03-14 Thread Shawn Rappaport
I’m running into a strange issue when trying to restore files to Windows 
clients running version 7.4.4 (the Director and Storage Daemons are running 
9.0.6). I have 34 Windows clients, running a mix of Windows 2008 R2 and 2012 
R2. All of them appear to be backing up just fine. However, when I did test 
restores on all of the servers, 17 of them were unsuccessful. This is what I 
mean by “unsuccessful”: The c:\tmp\bacula-restores folder gets created on the 
restore client but none of the files I selected for restore appear in the 
folder, i.e., it’s empty. However, according to the logs, the restore was 
successful. Example:
  Job:RestoreFiles.2018-03-13_16.22.11_07
  Restore Client: redhulk-px-fd
  Start time: 13-Mar-2018 16:22:12
  End time:   13-Mar-2018 16:22:45
  Files Expected: 699
  Files Restored: 699
  Bytes Restored: 138,483,263
  Rate:   4196.5 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK

I’m seeing this behavior with both 2008 R2 and 2012 R2 so the issue doesn’t 
appear to be isolated to OS version.

This is the relevant information from the log for the last Full backup of the 
redhulk-px-fd client that I’m trying to restore files to in the example above:
  FD Files Written:   289,986
  SD Files Written:   289,986
  FD Bytes Written:   1,047,957,634,385 (1.047 TB)
  SD Bytes Written:   1,048,025,091,180 (1.048 TB)
 …
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK

Has anyone seen this problem before or know how to go about troubleshooting it?

--Shawn

PS: FWIW, I just finished testing restores of 20 Linux clients and all were 
successful.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with client on 32-bit Ubuntu server

2018-03-12 Thread Shawn Rappaport
Thanks, Josip! I'll give that a try.

--Shawn

On 3/12/18, 4:29 PM, "Josip Deanovic" <djosip+n...@linuxpages.net> wrote:

On Monday 2018-03-12 20:51:40 Shawn Rappaport wrote:
> Thanks! That showed me what the problem was:
> Failed to open Plugin directory /usr/lib64: ERR=No such file or
> directory
> 
> To fix it, I simply created a /usr/lib64 directory and copied
> bpipe-fd.so to that directory. Now the client process starts up and
> lets me connect via bconsole.

That would work but more sound solution would be to use the option
"Plugin Directory" in your config file and set it to the correct
path to plugin directory.


-- 
Josip Deanovic


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot=DwICAg=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=h5HhK7l-Sb7S5EybxFgVhTmfouIJFux6awyOLzFBk_o=Rxduqjq9HRJYUfB8L5Vm7OwUEA-d7sTvfQxftb4Q4WY=m8XL9IFMVXiOkdHNB86YCyP60T36iKa90M4Kirmk0Js=
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers=DwICAg=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=h5HhK7l-Sb7S5EybxFgVhTmfouIJFux6awyOLzFBk_o=Rxduqjq9HRJYUfB8L5Vm7OwUEA-d7sTvfQxftb4Q4WY=BejbPZzvSxZEB9JW7zz0QX8mxMet87mjLKNPzmnUwP0=


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with client on 32-bit Ubuntu server

2018-03-12 Thread Shawn Rappaport
Thanks! That showed me what the problem was:
Failed to open Plugin directory /usr/lib64: ERR=No such file or directory

To fix it, I simply created a /usr/lib64 directory and copied bpipe-fd.so to 
that directory. Now the client process starts up and lets me connect via 
bconsole.

--Shawn

On 3/12/18, 1:36 PM, "Josip Deanovic" <djosip+n...@linuxpages.net> wrote:

On Monday 2018-03-12 19:36:58 Shawn Rappaport wrote:
> I installed the 9.0.6 client on an old 32-bit Ubuntu 12.04.4 LTS server.
>  The installation went fine and I get no errors if I run
> /sbin/bacula-fd -t -c bacula-fd.conf. However, after starting the
> client, I noticed that the process is not running. Is there some way to
> debug why the client won’t run? Could it be due to it being a 32-bit
> OS? I have the client running on an even older version of Ubuntu
> (11.10) but that one is 64-bit.


Try to use the -d option to set the debug level.


Regards!

-- 
Josip Deanovic


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot=DwIGaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=h5HhK7l-Sb7S5EybxFgVhTmfouIJFux6awyOLzFBk_o=BoibDgS65wYexnn4XuUabHzbwDLsspcOakDn6ZsmL3M=_ULjry-Jemq24oi16I6V-5h4yLhJpHOX6BzQfGAA1Bk=
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers=DwIGaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=h5HhK7l-Sb7S5EybxFgVhTmfouIJFux6awyOLzFBk_o=BoibDgS65wYexnn4XuUabHzbwDLsspcOakDn6ZsmL3M=-RJXrFNyyWC_72KzMgaN4Zj6C-QRGlBF87ZyfH_puy0=


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with client on 32-bit Ubuntu server

2018-03-12 Thread Shawn Rappaport
I installed the 9.0.6 client on an old 32-bit Ubuntu 12.04.4 LTS server.  The 
installation went fine and I get no errors if I run /sbin/bacula-fd -t -c 
bacula-fd.conf. However, after starting the client, I noticed that the process 
is not running. Is there some way to debug why the client won’t run? Could it 
be due to it being a 32-bit OS? I have the client running on an even older 
version of Ubuntu (11.10) but that one is 64-bit.

Thanks!

--Shawn
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Packet size too big errors

2018-03-05 Thread Shawn Rappaport
On 3/5/18, 2:37 PM, "Josip Deanovic"  wrote:

Josip DeanovicOn Monday 2018-03-05 22:23:08  wrote:
> On Monday 2018-03-05 14:38:07 Dimitri Maziuk wrote:
> > On 03/05/2018 02:27 PM, Josip Deanovic wrote:
> > > On Monday 2018-03-05 14:16:34 Dimitri Maziuk wrote:
> > >> That's not an error if a security op's workstation is also a backup
> > >> client.
> > > 
   > > > > Yes, and I would like to know if that was the case.
   > > > 
   > > > I tend to have a blanket iptables rule allowing local subnet traffic.
   > > > Our security nazis live in a separate subnet so their scans get
   > > > blocked
   > > > by that. If I were running portscans from inside my netblock I expect
   > > > I'd get the same log entries. That's anther other option for it being
   > > > legit.
   > > 
   > > I have additional backup interfaces and completely separated backup
   > > network where no other two backup clients can see or reach each other.
   > > 
   > > Where there is no additional network card available there is a VLAN.
   > > 
   > > But all of that is not important here.
   > > What is important is the case where if you can reach bacula services
   > > you could potentially break backup jobs and thus effectively produce
   > > a bacula denial of service.
   > > 
   > > If I understood correctly that's what happened to Shawn.
   > 
   > Actually Shawn didn't say that the backup failed.
   > He just said that when he manually started the backup job the next day,
   > it finished successfully, without errors.
   > 
  >  Shawn, can you confirm that both backups were successfully completed?
  >  

Despite seeing those errors in the log, the catalog backup appears to have been 
successful. So, yes, both the scheduled and manual backup of my catalog 
completed successfully.  Here is what the full log looks like from March 3rd:

xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: shell command: run 
BeforeJob "/etc/bacula/make_catalog_backup.pl MyCatalog"
xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: Start Backup JobId 
113, Job=BackupCatalog.2018-03-03_23.10.00_10
xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: Error: getmsg.c:209 
Malformed message: bsock.c:819 Packet size=121984032 too big from 
"client:10.32.12.18:9103". Maximum permitted 100. Terminating connection.
xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: Error: getmsg.c:209 
Malformed message: bsock.c:819 Packet size=138759248 too big from 
"client:10.32.12.18:9103". Maximum permitted 100. Terminating connection.
xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: Error: getmsg.c:209 
Malformed message: bsock.c:819 Packet size=50331667 too big from 
"client:10.32.12.18:9103". Maximum permitted 100. Terminating connection.
xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: Using Device 
"FileChgr1-Dev2" to write.
xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: Error: getmsg.c:209 
Malformed message: bsock.c:819 Packet size=121984032 too big from 
"client:10.32.12.18:9102". Maximum permitted 100. Terminating connection.
xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: Error: getmsg.c:209 
Malformed message: bsock.c:819 Packet size=138759248 too big from 
"client:10.32.12.18:9102". Maximum permitted 100. Terminating connection.
xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: Error: getmsg.c:209 
Malformed message: bsock.c:819 Packet size=50331667 too big from 
"client:10.32.12.18:9102". Maximum permitted 100. Terminating connection.
xbacdirector01-lv.internal.shutterfly.com-sd JobId 113: Volume "daily-0" 
previously written, moving to end of data.
xbacdirector01-lv.internal.shutterfly.com-sd JobId 113: Elapsed time=00:00:02, 
Transfer rate=11.07 M Bytes/second
xbacdirector01-lv.internal.shutterfly.com-sd JobId 113: Sending spooled attrs 
to the Director. Despooling 225 bytes ...
xbacdirector01-lv.internal.shutterfly.com-dir JobId 113: Bacula 
xbacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):
  Build OS:   x86_64-pc-linux-gnu redhat (Core)
  JobId:  113
  Job:BackupCatalog.2018-03-03_23.10.00_10
  Backup Level:   Full
  Client: "xbacdirector01-lv.internal.shutterfly.com-fd" 9.0.6 
(20Nov17) x86_64-pc-linux-gnu,redhat,(Core)
  FileSet:"Catalog" 2018-02-08 23:10:00
  Pool:   "Daily" (From Job resource)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"File1" (From Pool resource)
  Scheduled time: 03-Mar-2018 23:10:00
  Start time: 03-Mar-2018 23:10:03
  End time:   03-Mar-2018 23:10:05
  Elapsed time:   2 secs
  Priority:   11
  FD Files Written:   1
  SD Files Written:   1
  FD Bytes Written:   22,147,958 (22.14 MB)
  SD Bytes Written:   22,148,071 (22.14 MB)
  Rate:   11074.0 KB/s
  

Re: [Bacula-users] Packet size too big errors

2018-03-05 Thread Shawn Rappaport
No, 10.32.12.18 is not the IP of the client to be backed up. I’m guessing that 
was the IP of the Nessus scanner.

--Shawn

On 3/5/18, 11:48 AM, "Josip Deanovic" <djosip+n...@linuxpages.net> wrote:

On Monday 2018-03-05 12:32:50 Dimitri Maziuk wrote:
> On 03/05/2018 12:00 PM, Josip Deanovic wrote:
> > On Monday 2018-03-05 17:08:45 Shawn Rappaport wrote:
> >> Thank you, Patti! You were correct. It turns out there was a
> >> vulnerability scan run against that network at that time.
> > 
> > Did you configure your bacula to use SSL/TLS connection?
> > I wonder if that would help in your case.
> 
> I'd expect to still see "invalid HELO" logged. Firewalling the port
> would work if the scanner and bacula clients live in different subnets.

But the log says: UA Hello from client:10.32.12.18:9101
The same IP was mentioned several times in the logs Shawn provided.

The question is: is the IP 10.32.12.18 the IP of the client that had
to be backed up?

If yes then the vulnerability scan overtook the client's IP.

-- 
Josip Deanovic


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot=DwICAg=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=wPBX6OgHHj7MV7gxOQnY5082cQ6UQimXGy_zUId9AEk=t6x_0Qp-42lkZWidsQ1GprGuNjHMqy03eQf7EY3q4QY=
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers=DwICAg=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=wPBX6OgHHj7MV7gxOQnY5082cQ6UQimXGy_zUId9AEk=KpPQj-PVt6jtDqYpxWXzkYFL5GRAB4MrFcPCHfMqdTI=


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Packet size too big errors

2018-03-05 Thread Shawn Rappaport
No, I don’t have that configured on my Bacula server.

--Shawn

On 3/5/18, 11:02 AM, "Josip Deanovic" <djosip+n...@linuxpages.net> wrote:

On Monday 2018-03-05 17:08:45 Shawn Rappaport wrote:
> Thank you, Patti! You were correct. It turns out there was a
> vulnerability scan run against that network at that time.

Did you configure your bacula to use SSL/TLS connection?
I wonder if that would help in your case.

-- 
Josip Deanovic


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot=DwICAg=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=h5HhK7l-Sb7S5EybxFgVhTmfouIJFux6awyOLzFBk_o=OmN0FDVpocexNp-3-HbUpcHB4rVuTnZaMt9HV7yB2ws=3EkvYPiOwkJZoMKVmIYLDHszoZ5gFw_gZ3Sqx48u7iA=
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers=DwICAg=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=h5HhK7l-Sb7S5EybxFgVhTmfouIJFux6awyOLzFBk_o=OmN0FDVpocexNp-3-HbUpcHB4rVuTnZaMt9HV7yB2ws=l6JwFmldtJUFrLaECgIfziwSqzsRQ8LR1V6_3_REKBI=


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Packet size too big errors

2018-03-05 Thread Shawn Rappaport
Thank you, Patti! You were correct. It turns out there was a vulnerability scan 
run against that network at that time.

--Shawn

From: "Clark, Patti" <clar...@ornl.gov>
Date: Monday, March 5, 2018 at 8:05 AM
To: Shawn Rappaport <srappap...@shutterfly.com>, 
"bacula-users@lists.sourceforge.net" <bacula-users@lists.sourceforge.net>
Subject: Re: [Bacula-users] Packet size too big errors

Not from your backup.  You have something on the network that is scanning the 
server your director is running on.  Probably Nessus.  I’m sure the client IP 
is a clue.

Patti

From: Shawn Rappaport <srappap...@shutterfly.com>
Date: Sunday, March 4, 2018 at 6:06 PM
To: "bacula-users@lists.sourceforge.net" <bacula-users@lists.sourceforge.net>
Subject: [Bacula-users] Packet size too big errors

I’m running Bacula 9.0.6 on CentOS 7.3. Today I received the following errors 
when my catalog was backing up:

03-Mar 12:27 xbacdirector01-lv.internal.shutterfly.com-dir: ERROR in 
authenticate.c:330 UA Hello from client:10.32.12.18:9101 is invalid. Len=0

03-Mar 12:27 xbacdirector01-lv.internal.shutterfly.com-dir: ERROR in 
authenticate.c:330 UA Hello from client:10.32.12.18:9101 is invalid. Len=-4
03-Mar 12:27 xbacdirector01-lv.internal.shutterfly.com-dir JobId 0: Fatal 
error: bsock.c:819 Packet size=121984032 too big from 
"client:10.32.12.18:9101". Maximum permitted 100. Terminating connection.

03-Mar 12:28 xbacdirector01-lv.internal.shutterfly.com-dir: ERROR in 
authenticate.c:330 UA Hello from client:10.32.12.18:9101 is invalid. Len=-4
03-Mar 12:28 xbacdirector01-lv.internal.shutterfly.com-dir JobId 0: Fatal 
error: bsock.c:819 Packet size=138759248 too big from 
"client:10.32.12.18:9101". Maximum permitted 100. Terminating connection.

03-Mar 12:28 xbacdirector01-lv.internal.shutterfly.com-dir: ERROR in 
authenticate.c:330 UA Hello from client:10.32.12.18:9101 is invalid. Len=-4
03-Mar 12:28 xbacdirector01-lv.internal.shutterfly.com-dir JobId 0: Fatal 
error: bsock.c:819 Packet size=50331667 too big from "client:10.32.12.18:9101". 
Maximum permitted 100. Terminating connection.

I manually ran a backup of my catalog after I received the errors and it was 
successful.

Does anyone know why I would be getting these messages and if it’s something to 
be concerned about?

--Shawn
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Packet size too big errors

2018-03-04 Thread Shawn Rappaport
I’m running Bacula 9.0.6 on CentOS 7.3. Today I received the following errors 
when my catalog was backing up:

03-Mar 12:27 xbacdirector01-lv.internal.shutterfly.com-dir: ERROR in 
authenticate.c:330 UA Hello from client:10.32.12.18:9101 is invalid. Len=0

03-Mar 12:27 xbacdirector01-lv.internal.shutterfly.com-dir: ERROR in 
authenticate.c:330 UA Hello from client:10.32.12.18:9101 is invalid. Len=-4
03-Mar 12:27 xbacdirector01-lv.internal.shutterfly.com-dir JobId 0: Fatal 
error: bsock.c:819 Packet size=121984032 too big from 
"client:10.32.12.18:9101". Maximum permitted 100. Terminating connection.

03-Mar 12:28 xbacdirector01-lv.internal.shutterfly.com-dir: ERROR in 
authenticate.c:330 UA Hello from client:10.32.12.18:9101 is invalid. Len=-4
03-Mar 12:28 xbacdirector01-lv.internal.shutterfly.com-dir JobId 0: Fatal 
error: bsock.c:819 Packet size=138759248 too big from 
"client:10.32.12.18:9101". Maximum permitted 100. Terminating connection.

03-Mar 12:28 xbacdirector01-lv.internal.shutterfly.com-dir: ERROR in 
authenticate.c:330 UA Hello from client:10.32.12.18:9101 is invalid. Len=-4
03-Mar 12:28 xbacdirector01-lv.internal.shutterfly.com-dir JobId 0: Fatal 
error: bsock.c:819 Packet size=50331667 too big from "client:10.32.12.18:9101". 
Maximum permitted 100. Terminating connection.

I manually ran a backup of my catalog after I received the errors and it was 
successful.

Does anyone know why I would be getting these messages and if it’s something to 
be concerned about?

--Shawn
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compression not working

2018-02-27 Thread Shawn Rappaport
I sent the email below a week ago and it just got posted. I am seeing 
compression now. ☺

--Shawn

From: Shawn Rappaport <srappap...@shutterfly.com>
Date: Tuesday, February 27, 2018 at 12:44 PM
To: "bacula-users@lists.sourceforge.net" <bacula-users@lists.sourceforge.net>
Subject: [Bacula-users] Compression not working

I currently have two clients being backed up to disk with Bacula 9.0.6 (I’m in 
the staging phase of things). One is Windows (2012 R2) and the other is Linux 
(CentOS 7.3). Under the FileSets in bacula-dir.conf, I have configured 
compression with: Compression = GZIP5. I also have this in my Storage section: 
Allow Compression = yes.

However, when I run backup jobs with either client, I do not get compression. I 
see this in the logs:
Comm Line Compression:  None

Do I need to do anything else to enable compression?

--Shawn
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Compression not working

2018-02-27 Thread Shawn Rappaport
I currently have two clients being backed up to disk with Bacula 9.0.6 (I’m in 
the staging phase of things). One is Windows (2012 R2) and the other is Linux 
(CentOS 7.3). Under the FileSets in bacula-dir.conf, I have configured 
compression with: Compression = GZIP5. I also have this in my Storage section: 
Allow Compression = yes.

However, when I run backup jobs with either client, I do not get compression. I 
see this in the logs:
Comm Line Compression:  None

Do I need to do anything else to enable compression?

--Shawn
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] "ERR=No such host is known" when backing up a Windows client

2018-02-18 Thread Shawn Rappaport
Thanks, Bill! Changing it to FQDN did the trick. 

--Shawn

On 2/15/18, 8:34 PM, "Bill Arlofski" <waa-bac...@revpol.com> wrote:

On 02/15/2018 05:44 PM, Shawn Rappaport wrote:
> I’m trying to back up my first Windows client (Windows 2012 R2) and 
getting errors (the full log file is below). I’m running Bacula 9.0.6 on CentOS 
7.3 for the Director and SD. I’m running the latest version of the client on 
the Windows host (version 7.4.4). When I try to back up the Windows client, I 
get this:
> 
> 15-Feb 14:43 bacclient-px-fd JobId 35: Error: lib/bsock.c:305 
gethostbyname() for host "xbacdirector01-lv" failed: ERR=No such host is known. 
> 15-Feb 14:43 bacclient-px-fd JobId 35: Fatal error: filed/job.c:2140 
Failed to connect to Storage daemon: xbacdirector01-lv:9103
> 15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: 
Fatal error: Bad response to Storage command: wanted 2000 OK storage
> , got 2902 Bad storage


Hi Shawn,

This is a DNS resolution problem.

When the Job starts, the Director will tell the FD to send its backup to the
Storage resource. In this case, the Storage resource in your job is called 
"File1"

Take a look in your Director's configuration and find the Storage resource
called "File1"

Edit the "Address = xbacdirector01-lv" line in this Storage resource and set
it to the FQDN, or the IP address of this SD.

Currently it is just a host name, and the Windows server cannot resolve the
hostname "xbacdirector01-lv" to an IP address, so the job will fail because
the FD cannot connect to the SD to send the backup data.

Then, just type "reload" in bconsole for the Director to reload its
configuration, and the job should run OK now - Unless something else 
(iptables
firewall, TCP Wrappers) on the SD prevents connection from the Windows FD to
this SD.   But we can cross that bridge when we get there. :)


Best regards,

Bill



-- 
Bill Arlofski

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.revpol.com_bacula=DwIGaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=h5HhK7l-Sb7S5EybxFgVhTmfouIJFux6awyOLzFBk_o=N7IYSBT6cbpbML4EV9mF9s6tMPt7XOI1yoHX_Sycc2M=_al4she_RQgDa_HvXcSGZfDnRwOJRvteb6z2ApYjaEM=
-- Not responsible for anything below this line --


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot=DwIGaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=h5HhK7l-Sb7S5EybxFgVhTmfouIJFux6awyOLzFBk_o=N7IYSBT6cbpbML4EV9mF9s6tMPt7XOI1yoHX_Sycc2M=pFwmRIifaYhMLiTbT6pmnXr5vs4-xG9SWkLX4WFpDtM=
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers=DwIGaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=h5HhK7l-Sb7S5EybxFgVhTmfouIJFux6awyOLzFBk_o=N7IYSBT6cbpbML4EV9mF9s6tMPt7XOI1yoHX_Sycc2M=09RBvJbzHYmnfDpuaViPwJ0Yy_XGERSPMs6-2FEW7kI=


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] "ERR=No such host is known" when backing up a Windows client

2018-02-15 Thread Shawn Rappaport
I’m trying to back up my first Windows client (Windows 2012 R2) and getting 
errors (the full log file is below). I’m running Bacula 9.0.6 on CentOS 7.3 for 
the Director and SD. I’m running the latest version of the client on the 
Windows host (version 7.4.4). When I try to back up the Windows client, I get 
this:

15-Feb 14:43 bacclient-px-fd JobId 35: Error: lib/bsock.c:305 
gethostbyname() for host "xbacdirector01-lv" failed: ERR=No such host is known. 
15-Feb 14:43 bacclient-px-fd JobId 35: Fatal error: filed/job.c:2140 Failed 
to connect to Storage daemon: xbacdirector01-lv:9103
15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Fatal 
error: Bad response to Storage command: wanted 2000 OK storage
, got 2902 Bad storage

If I back up a Linux client using the same SD, it works. Does anyone know what 
it means when it says “ERR=No such host is known” and “Fatal error: Bad 
response to Storage command”? I can ping xbacdirector01-lv from the client so 
name resolution shouldn’t be an issue. The SD seems fine since it can back up a 
Linux client.

The Director can also connect fine to the Windows FD:

Connecting to Client bacclient-px-fd at 172.31.160.75:9102

bacclient-px-fd Version: 7.4.4 (28 September 2016)  VSS Linux Cross-compile 
Win64
Daemon started 15-Feb-18 12:45. Jobs: run=0 running=0.
Microsoft Standard Edition (build 9200), 64-bit
 Heap: heap=7,290,880 smbytes=48,605 max_bytes=48,762 bufs=80 max_bufs=105
 Sizes: boffset_t=8 size_t=8 debug=0 trace=1 mode=0,0 bwlimit=0kB/s
 Plugin: alldrives-fd.dll

Running Jobs:
Director connected at: 15-Feb-18 17:23
No Jobs running.


FULL LOG FILE:
15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: No 
prior Full backup Job record found.
15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: No 
prior or suitable Full backup found in catalog. Doing FULL backup.
15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Start 
Backup JobId 35, Job=BackupWindowsClient-bacclient-px.2018-02-15_14.43.23_03
15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Using 
Device "FileChgr1-Dev1" to write.
15-Feb 14:43 bacclient-px-fd JobId 35: Error: lib/bsock.c:305 
gethostbyname() for host "xbacdirector01-lv" failed: ERR=No such host is known. 
15-Feb 14:43 bacclient-px-fd JobId 35: Fatal error: filed/job.c:2140 Failed 
to connect to Storage daemon: xbacdirector01-lv:9103
15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Fatal 
error: Bad response to Storage command: wanted 2000 OK storage
, got 2902 Bad storage

15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Error: 
Bacula xbacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):
  Build OS:   x86_64-pc-linux-gnu redhat (Core)
  JobId:  35
  Job:
BackupWindowsClient-bacclient-px.2018-02-15_14.43.23_03
  Backup Level:   Full (upgraded from Incremental)
  Client: "bacclient-px-fd" 7.4.4 (28Sep16) Microsoft 
Standard Edition (build 9200), 64-bit,Cross-compile,Win64
  FileSet:"Windows_backup" 2018-02-15 14:42:13
  Pool:   "File" (From Job resource)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"File1" (From Job resource)
  Scheduled time: 15-Feb-2018 14:43:19
  Start time: 15-Feb-2018 14:43:25
  End time:   15-Feb-2018 14:43:27
  Elapsed time:   2 secs
  Priority:   10
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Software Compression:   None
  Comm Line Compression:  None
  Snapshot/VSS:   yes
  Encryption: no
  Accurate:   no
  Volume name(s): 
  Volume Session Id:  1
  Volume Session Time:1518734514
  Last Volume Bytes:  27,160,419,724 (27.16 GB)
  Non-fatal FD errors:2
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  Waiting on FD
  Termination:*** Backup Error ***

--Shawn



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] --with-dir-password option "invalid"

2018-02-15 Thread Shawn Rappaport
I’m trying to configure Bacula with the following command:
CFLAGS="-g -Wall" ./configure --sysconfdir=/etc/bacula 
--with-scriptdir=/etc/bacula --enable-smartalloc --with-working-dir=/var/bacula 
--with-pid-dir=/var/run --enable-readline --with-mysql 
--with-fd-password=Bacula123 --with-sd-password=Bacula123 
—with-dir-password=Bacula123

However, I’m getting the following error:
configure: error: invalid variable name: `--with-dir-password'

I see the option on page 121 of the Bacula Main Reference Guide:
-with-dir-password= This option allows you to specify the password 
used to access the Director (normally from the Console program). If it is not 
specified, configure will automatically create a random password.

Does anyone know why I’m receiving this error?

--Shawn
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backing up to dedicated storage

2018-02-12 Thread Shawn Rappaport
Thanks, Adolf!  I’ll give that a try.

--Shawn

On 2/12/18, 3:14 PM, "Adolf Belka" <adolf.be...@gmail.com> wrote:

Only thing I can think of is that when you specify --disable-build-dird 
then you maybe have to explicitly specify --enable-build-stored though 
not really sure that is an actual requirement because it is supposed to 
be the default.

Adolf Belka.

Sent from my Desktop Computer

On 12/02/18 22:57, Adolf Belka wrote:
> Whoops, just seen that you already had that command in your config 
> file so then I don't understand why it still expected you to have a 
> database selected. Will think further on it.
>
> Adolf Belka.
>
> Sent from my Desktop Computer
>
> On 12/02/18 22:47, Adolf Belka wrote:
>> As you have not specified -enable-client-only then the default is to 
>> build both the SD and Director and then you need a database. So you 
>> need to disable the Director with the config option -disable-build-dir.
>>
>> This should hopefully solve your problem.
>>
>> Adolf Belka.
>>
>>
>> Sent from my Desktop Computer
>>
>> On 12/02/18 20:58, Tilman Schmidt wrote:
>>> Am 12.02.2018 um 18:40 schrieb Shawn Rappaport:
>>>> Thank you for the advice, Tilman! I tried to configure just the SD 
>>>> on the storage server by using this command:
>>>> CFLAGS="-g -Wall" ./configure --sysconfdir=/etc/bacula 
>>>> --with-scriptdir=/etc/bacula --enable-smartalloc 
>>>> --with-working-dir=/var/bacula --with-pid-dir=/var/run 
>>>> --enable-readline --disable-build-dird
>>>>
>>>> However, it says:
>>>> You have not specified either --enable-client-only or one of the
>>>> supported databases: MySQL, PostgreSQL, or SQLite3.
>>>> This is not permitted. Please reconfigure.
>>> Can't say much about ./configure.
>>> I'm using the pre-build packages, not compiling from source.
>>> The bacula-storage package I use doesn't require a database.
>>>
>>>> Do I need to install MySQL and use --with-mysql even if I only want 
>>>> the SD?
>>> You shouldn't have to. But perhaps the configure script needs some
>>> special incantation to build only the storage daemon.
>>>
>>
>



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot=DwICAg=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=CRPGkZfqCZVQfiq1D5CF3YT-7RR1xT_Ieesp83-MlVg=a2FeI3hkAasRqUi41Qvc316nV2_f3seq20SVUzFKgM8=
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers=DwICAg=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=CRPGkZfqCZVQfiq1D5CF3YT-7RR1xT_Ieesp83-MlVg=1y0tG4vJPZyQ6PmZx_psbHsYQMqWu-nr0V6_tW3bH3A=


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backing up to dedicated storage

2018-02-12 Thread Shawn Rappaport
Thank you for the advice, Tilman! I tried to configure just the SD on the 
storage server by using this command:
CFLAGS="-g -Wall" ./configure --sysconfdir=/etc/bacula 
--with-scriptdir=/etc/bacula --enable-smartalloc --with-working-dir=/var/bacula 
--with-pid-dir=/var/run --enable-readline --disable-build-dird

However, it says:
You have not specified either --enable-client-only or one of the
supported databases: MySQL, PostgreSQL, or SQLite3.
This is not permitted. Please reconfigure.

Do I need to install MySQL and use --with-mysql even if I only want the SD?

--Shawn


On 2/10/18, 8:38 AM, "Tilman Schmidt" <til...@imap.cc> wrote:

Am 10.02.2018 um 01:50 schrieb Shawn Rappaport:
> I currently have a CentOS 7 server set up with
> [...] the Dir, SD and MySQL running on the
> same server in our Las Vegas datacenter. [...]
> We have four locations (including Las Vegas) and each location has its
> own CentOS 7 server with a bunch of storage dedicated for storing
> backups. I would like to keep the Director running on the server in Las
> Vegas but have backups for each location’s clients go to their
> respective storage servers rather than over the WAN to the Director
> server in Las Vegas.
> 
> What is needed to accomplish this? Do I need to install Bacula with SD
> on each of the storage servers?

Yes. More precisely, you need to install *just* the SD on each of the
storage servers. (Plus the FD if you also want to back up data residing
on the storage server itself.)

> If so, how do I let the Director know
> about the other SD servers

Just add for each of them a Storage definition to your director
configuration, giving the correct Address at which the director can
reach it. Make sure any intervening firewalls allow access from the
director to TCP port 9103 of the SD. Also make sure the Storage
resources are named uniquely across all SDs.

> and then configure the clients to back up
> their data to a specific SD server for each location?

Just add to every Job definition a Storage line giving the name of a
storage residing on the correct SD for the client backed up by that job.

HTH
Tilman

-- 
Tilman Schmidt  E-Mail: til...@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot=DwIGaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=9sz7sAgtaaseaGPKfNnIxolMk5pWDEfFWFs4frlr9y8=J8_J-Qxm0rU117KoG2DMPa9LWBbNjY3k15iMHgh1NPQ=
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers=DwIGaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=9sz7sAgtaaseaGPKfNnIxolMk5pWDEfFWFs4frlr9y8=7iCXqHKq9SyZm57QO5woo-2B49DvlVTGFfHpytz4-M0=


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backing up to dedicated storage

2018-02-09 Thread Shawn Rappaport
I just started working with Bacula (9.0.6) this week and I am in the staging 
phase of things. I currently have a CentOS 7 server set up with most of the 
default settings, with the Dir, SD and MySQL running on the same server in our 
Las Vegas datacenter. I have successfully backed up a couple of CentOS Linux 
servers to the default location of /tmp on this server. Now I’m ready for the 
next step – backing up the data to other servers with dedicated storage.

We have four locations (including Las Vegas) and each location has its own 
CentOS 7 server with a bunch of storage dedicated for storing backups. I would 
like to keep the Director running on the server in Las Vegas but have backups 
for each location’s clients go to their respective storage servers rather than 
over the WAN to the Director server in Las Vegas.

What is needed to accomplish this? Do I need to install Bacula with SD on each 
of the storage servers? If so, how do I let the Director know about the other 
SD servers and then configure the clients to back up their data to a specific 
SD server for each location?

Thanks in advance!

--Shawn
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum Workspace problems

2018-02-09 Thread Shawn Rappaport
Hi Marcin,

Clearing the caches did the trick! Thank you so much!

--Shawn

On 2/9/18, 12:06 PM, "Marcin Haba" <ganius...@gmail.com> wrote:

Hello Shawn,

Thanks for these next logs.

Now it looks heathy and I am not seeing any abnormality.

I propose to clear caches:

1) web browser cache
2) Baculum cache. You can remove content of the /var/cache/baculum/ 
directory.

and at the end please refresh Baculum interface in the web browser.

If cleaning caches doesn't help, please look at the JavaScript console
if there is an error and what is content of the async HTTP response
after clicking on a button in the workspace.

Thanks in advance for this test.

Best regards.
Marcin

On 9 February 2018 at 19:34, Shawn Rappaport <srappap...@shutterfly.com> 
wrote:
> Hi Marcin,
>
> The bconsole file I was using in /etc/bacula was a bconsole wrapper. I 
changed it to point to /sbin/bconsole, which is the binary. However, it didn’t 
seem to make a difference. I collected the debug logs again (attached) and 
don’t see any errors.
>
> --Shawn
>
>
> On 2/9/18, 10:52 AM, "Marcin Haba" <ganius...@gmail.com> wrote:
>
> Hello Shawn,
>
> Thanks for providing these debug files.
>
> Could you tell me if the /etc/bacula/bconsole that you defined as your
> Bacula console is binary file or it is a bconsole wrapper? If it is a
> wrapper then you need to switch Baculum API to use bconsole binary
> file.
>
>     Best regards.
> Marcin Haba (gani)
>
> On 9 February 2018 at 18:26, Shawn Rappaport 
<srappap...@shutterfly.com> wrote:
> > Hi Marcin,
> >
> > Thanks for the debug tips. I turned on debug for both web and API. 
However, I don’t see any obvious errors in either of the log files. I attached 
them to this email in case you want to review them.
> >
> > Please let me know if you have any other ideas on what I can try.
> >
> > Thanks again!
> >
> > ---Shawn
> >
> >
> > On 2/8/18, 11:44 PM, "Marcin Haba" <ganius...@gmail.com> wrote:
> >
> > Hello Shawn,
> >
> > You can try to enable debug in Baculum by clicking on the bottom
> > checkbox with label 'Enable debug'. Then you can click few 
times on
> > these parts that don't show any data. In the end you can look 
in the
> >
> > /usr/share/baculum/htdocs/protected/Web/Logs/
> >
> > If it doesn't show any error then you can enable API debug. The 
API
> > debug you can enable in file:
> >
> > /usr/share/baculum/htdocs/protected/API/Config/api.conf
> >
> > by switching in [api] section option debug to "1".
> >
> > API logs are in the following path:
    > >
> > /usr/share/baculum/htdocs/protected/API/Logs/
> >
> > Please let know here if there is something wrong in these debug 
files.
> >
> > Best regards.
> > Marcin Haba (gani)
> >
> > On 8 February 2018 at 23:46, Shawn Rappaport 
<srappap...@shutterfly.com> wrote:
> > > System details:
> > > CentOS 7.3
> > >
> > > Bacula 9.06
> > >
> > > Baculum 9.05
> > >
> > > MySQL (MariaDB) 5.5.56
> > >
> > >
> > >
> > > I just finished configuring Baculum and have access to the 
web interface
> > > now. However, when I try to click on any of the options on 
the Workspace
> > > (Storage Daemons, Clients, Volumes, Pools, etc..), nothing 
happens. I
> > > checked /var/log/httpd/baculum-web-error.log and I see these 
two errors:
> > >
> > >
> > >
> > > [Thu Feb 08 13:10:09.679435 2018] [access_compat:error] [pid 
4399] [client
> > > 172.31.48.196:57161] AH01797: client denied by server 
configuration:
> > > /usr/share/baculum/htdocs/index.php, referer:
> > > 
https://urldefense.proofpoint.com/v2/url?u=http-3A__xbacdirector01-2Dlv-3A9095_web_=DwIFaQ=sy2pFYeXOTBQJUPqadkFIXq5

[Bacula-users] Baculum Workspace problems

2018-02-08 Thread Shawn Rappaport
System details:
CentOS 7.3
Bacula 9.06
Baculum 9.05
MySQL (MariaDB) 5.5.56

I just finished configuring Baculum and have access to the web interface now. 
However, when I try to click on any of the options on the Workspace (Storage 
Daemons, Clients, Volumes, Pools, etc..), nothing happens. I checked 
/var/log/httpd/baculum-web-error.log and I see these two errors:

[Thu Feb 08 13:10:09.679435 2018] [access_compat:error] [pid 4399] [client 
172.31.48.196:57161] AH01797: client denied by server configuration: 
/usr/share/baculum/htdocs/index.php, referer: http://xbacdirector01-lv:9095/web/
[Thu Feb 08 13:10:09.679773 2018] [access_compat:error] [pid 4399] [client 
172.31.48.196:57161] AH01797: client denied by server configuration: 
/usr/share/baculum/htdocs/web, referer: http://xbacdirector01-lv:9095/web/

There is no /usr/share/baculum/htdocs/web on my system.

I tried adding the following to /etc/httpd/conf/httpd.conf and restarting httpd:

AllowOverride All
Require all granted


That didn’t help though. Does anyone have any ideas on how to fix this?

--Shawn
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum error connecting to MySQL DB

2018-02-08 Thread Shawn Rappaport
Well, I must be blind. A few minutes after posting my message, I found this 
section in bacula-dir.conf:

# Generic catalog service
Catalog {
  Name = MyCatalog
  dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
}

I added my password and now things are working again. Sorry for the false alarm.

--Shawn

On 2/8/18, 1:29 PM, "Shawn Rappaport" <srappap...@shutterfly.com> wrote:

Hi Marcin,



Thanks for the info! I didn’t realize I was using an old version of 
baculum. I removed version 7 and installed version 9. I was then able to 
connect to the DB on the Catalog API tab. 

Now I’m running into a problem on the Console API tab. I have the Bconsole 
binary file path set to /sbin/bconsole and the Bconsole admin config file path 
set to /etc/bacula/bconsole.conf. I also have Use sudo checked. When I clicked 
Test, I got this:

Problem with connection to bconsole. Output=>Connecting to Director 
xbacdirector01-lv:9101, Exitcode=>1



Sure enough, when I tried to run bconsole from the Director server itself, 
the command times out:

10:53:05][root@xbacdirector01-lv:/etc/bacula:573]$ /sbin/bconsole

Connecting to Director xbacdirector01-lv:9101

[10:53:37][root@xbacdirector01-lv:/etc/bacula:574]$



I checked with ps and bacula-dir is not running. 



Next, I ran this to debug the problem with bacula-dir:

/sbin/bacula-dir -d100 -c /etc/bacula/bacula-dir.conf



Here is the relevant part of the output:

bacula-dir: mysql.c:263-0 mysql_real_connect done

bacula-dir: mysql.c:265-0 db_user=bacula db_name=bacula db_password=

bacula-dir: mysql.c:275-0 Error 1045 (28000): Access denied for user 
'bacula'@'localhost' (using password: NO)

bacula-dir: dird.c:1165-0 Could not open Catalog "MyCatalog", database 
"bacula".

bacula-dir: dird.c:1170-0 mysql.c:271 Unable to connect to MySQL server.

Database=bacula User=bacula

MySQL connect failed either server not running or your authorization is 
incorrect.

bacula-dir: mysql.c:325-0 closedb ref=0 connected=0 db=0

08-Feb 11:36 bacula-dir ERROR TERMINATION

Please correct configuration file: /etc/bacula/bacula-dir.conf



It looks like the problem is that the Director is trying to connect to the 
MySQL DB without a password. Does anyone know how to fix this so it uses the 
password I have set for bacula in the DB? I don’t see an option in 
bacula-dir.conf. Since the Director last worked, I haven’t changed anything 
with my configuration other than removing Baculum 7 and installing Baculum 9. 
So, I’m not sure what I did to screw things up.



Thanks!



--Shawn



On 2/7/18, 10:56 PM, "Marcin Haba" <ganius...@gmail.com> wrote:



Hello Shawn,



It looks that you use an old Baculum version (7.x). I would suggest to

remove the 7.x and install 9.x (there is no direct update way between

versions 7 and 9). Here you can find how to install version Baculum

9.x:




https://urldefense.proofpoint.com/v2/url?u=http-3A__www.bacula.org_9.0.x-2Dmanuals_en_console_Baculum-5FAPI-5FWeb-5FGUI-5FTools.html=DwIFaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=ZcS2AM_EDHBz-z5_zSpTo9mbsyyT-_wUTeVj75__FkI=Y0_N8HdGAovGbo9GNuMHAIEJfjKZqyueKogDlYMVqxI=



If you want to stay in version 7 then you can try the following:



1) To check connection try to connect to database by below mysql

command on host with Baculum:



mysql -u bacula -h xbacdirector01-lv -P 3306 bacula -p



2) check if you have installed "php-mysql" package



3) To fix your timezone setting (not related to the mysql) you can

find in /etc/php.ini file line:



;date.timezone =



and change it to



data.timezone = Your/Timezone



Supported by PHP timezone list is here:




https://urldefense.proofpoint.com/v2/url?u=http-3A__php.net_manual_en_timezones.php=DwIFaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=ZcS2AM_EDHBz-z5_zSpTo9mbsyyT-_wUTeVj75__FkI=HttPEm6zAYRWfknioRpeXQIEY23GlxAJLaL81Sv7U5g=



At the end you need to restart the web server.



Good luck.



Best regards.

Marcin Haba (gani)



On 7 February 2018 at 23:47, Shawn Rappaport 
<srappap...@shutterfly.com> wrote:

&g

Re: [Bacula-users] Baculum error connecting to MySQL DB

2018-02-08 Thread Shawn Rappaport
Hi Marcin,

Thanks for the info! I didn’t realize I was using an old version of baculum. I 
removed version 7 and installed version 9. I was then able to connect to the DB 
on the Catalog API tab. 
Now I’m running into a problem on the Console API tab. I have the Bconsole 
binary file path set to /sbin/bconsole and the Bconsole admin config file path 
set to /etc/bacula/bconsole.conf. I also have Use sudo checked. When I clicked 
Test, I got this:
Problem with connection to bconsole. Output=>Connecting to Director 
xbacdirector01-lv:9101, Exitcode=>1

Sure enough, when I tried to run bconsole from the Director server itself, the 
command times out:
10:53:05][root@xbacdirector01-lv:/etc/bacula:573]$ /sbin/bconsole
Connecting to Director xbacdirector01-lv:9101
[10:53:37][root@xbacdirector01-lv:/etc/bacula:574]$

I checked with ps and bacula-dir is not running. 

Next, I ran this to debug the problem with bacula-dir:
/sbin/bacula-dir -d100 -c /etc/bacula/bacula-dir.conf

Here is the relevant part of the output:
bacula-dir: mysql.c:263-0 mysql_real_connect done
bacula-dir: mysql.c:265-0 db_user=bacula db_name=bacula db_password=
bacula-dir: mysql.c:275-0 Error 1045 (28000): Access denied for user 
'bacula'@'localhost' (using password: NO)
bacula-dir: dird.c:1165-0 Could not open Catalog "MyCatalog", database "bacula".
bacula-dir: dird.c:1170-0 mysql.c:271 Unable to connect to MySQL server.
Database=bacula User=bacula
MySQL connect failed either server not running or your authorization is 
incorrect.
bacula-dir: mysql.c:325-0 closedb ref=0 connected=0 db=0
08-Feb 11:36 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf

It looks like the problem is that the Director is trying to connect to the 
MySQL DB without a password. Does anyone know how to fix this so it uses the 
password I have set for bacula in the DB? I don’t see an option in 
bacula-dir.conf. Since the Director last worked, I haven’t changed anything 
with my configuration other than removing Baculum 7 and installing Baculum 9. 
So, I’m not sure what I did to screw things up.

Thanks!

--Shawn

On 2/7/18, 10:56 PM, "Marcin Haba" <ganius...@gmail.com> wrote:

Hello Shawn,

It looks that you use an old Baculum version (7.x). I would suggest to
remove the 7.x and install 9.x (there is no direct update way between
versions 7 and 9). Here you can find how to install version Baculum
9.x:


https://urldefense.proofpoint.com/v2/url?u=http-3A__www.bacula.org_9.0.x-2Dmanuals_en_console_Baculum-5FAPI-5FWeb-5FGUI-5FTools.html=DwIFaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=ZcS2AM_EDHBz-z5_zSpTo9mbsyyT-_wUTeVj75__FkI=Y0_N8HdGAovGbo9GNuMHAIEJfjKZqyueKogDlYMVqxI=

If you want to stay in version 7 then you can try the following:

1) To check connection try to connect to database by below mysql
command on host with Baculum:

mysql -u bacula -h xbacdirector01-lv -P 3306 bacula -p

2) check if you have installed "php-mysql" package

3) To fix your timezone setting (not related to the mysql) you can
find in /etc/php.ini file line:

;date.timezone =

and change it to

data.timezone = Your/Timezone

Supported by PHP timezone list is here:


https://urldefense.proofpoint.com/v2/url?u=http-3A__php.net_manual_en_timezones.php=DwIFaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=ZcS2AM_EDHBz-z5_zSpTo9mbsyyT-_wUTeVj75__FkI=HttPEm6zAYRWfknioRpeXQIEY23GlxAJLaL81Sv7U5g=

At the end you need to restart the web server.

Good luck.

Best regards.
Marcin Haba (gani)
    
On 7 February 2018 at 23:47, Shawn Rappaport <srappap...@shutterfly.com> 
wrote:
> I’m new to Bacula. I’ve been playing with the latest version for the past
> couple of days on a CentOS 7.3 server with a MySQL DB. I’m now trying to 
set
> up Baculum. I’m able to connect to the web interface. However, when I fill
> in all of the DB information on the Database tab and click Test, I get
> “Connection error”. I checked /var/log/httpd/baculum-error.log and see the
> following:
>
>
>
> [Wed Feb 07 12:18:37.550545 2018] [:error] [pid 10647] [client
> 172.31.48.196:53501] PHP Notice:  date_default_timezone_set(): Timezone ID
> 'PST' is invalid in /usr/share/baculum/htdocs/protected/Init.php on line 
31,
> referer: 
https://urldefense.proofpoint.com/v2/url?u=http-3A__xbacdirector01-2Dlv-3A9095_wizard_=DwIFaQ=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8=ZcS2AM_EDHBz-z5_zSpTo9mbsyyT-_wUTeVj75__FkI=1C3vp4k2j0zaWcbCujUmZh6wrvLbP0DmRnE_5y5sS3c=
>
>
>
> The /etc/baculum/Data-apache/baculum.dbg file shows:
>
>
>
   

[Bacula-users] Baculum error connecting to MySQL DB

2018-02-07 Thread Shawn Rappaport
I’m new to Bacula. I’ve been playing with the latest version for the past 
couple of days on a CentOS 7.3 server with a MySQL DB. I’m now trying to set up 
Baculum. I’m able to connect to the web interface. However, when I fill in all 
of the DB information on the Database tab and click Test, I get “Connection 
error”. I checked /var/log/httpd/baculum-error.log and see the following:

[Wed Feb 07 12:18:37.550545 2018] [:error] [pid 10647] [client 
172.31.48.196:53501] PHP Notice:  date_default_timezone_set(): Timezone ID 
'PST' is invalid in /usr/share/baculum/htdocs/protected/Init.php on line 31, 
referer: http://xbacdirector01-lv:9095/wizard/

The /etc/baculum/Data-apache/baculum.dbg file shows:

Feb 07 20:18:37 [Info] [Execute] DBParams=Array
(
[type] => mysql
[name] => bacula
[login] => bacula
[password] => **
[host] => xbacdirector01-lv
[port] => 3306
)
, Connection=false, TablesFormat=NULL

I’m able to connect to the database from a remote host so that shouldn’t be a 
problem.

Does anyone have any ideas on what could be causing this connection to fail?

Thanks!

--Shawn
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users