[Bacula-users] SD Calls Client with TLS

2014-08-22 Thread Sascha Alexander Jopen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

i'm using Bacula 7.0.5 with TLS setup for all connections. The
certificates are using the FQDN of the participating nodes as the
common name. Everything works for a normal setup consisting of a
director, a storage daemon and file daemons on different hosts with
both IPv4 and IPv6.
If i use the option SD Calls Client = yes in the director's Client
resource for a specific client, then the TLS negotiation for this
client will fail.
The error message is

bacula-fd Fatal error: bnet.c:278 TLS host certificate verification
failed. Host name [IPv6 Address of the storage daemon] did not
match presented certificate

This error occurs for all clients with SD Calls Client = yes. It seems
the storage daemon does not send its FQDN during the TLS handshake.
For all other TLS handshakes the FQDN is sent as expected.

Do i miss something here, or is this a bug?

Btw., when using SD Calls Client, the file daemon should also allow
TLS Verify Peer and TLS Allowed CN, as it is now acting as a server
role, shouldn't it?

Regards,
Sascha
- -- 
Dipl.-Inform. Sascha Jopen

University of Bonn Tel.:   +49-228-73-54219
Institute of Computer Science 4Fax:+49-228-73-4571
Friedrich-Ebert-Allee 144  E-mail: jo...@cs.uni-bonn.de
D-53113 Bonn, Germany
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBAgAGBQJT9vNbAAoJEPQ+gnO0LIbHqgsH/3BKZ2f0Pgr7oZVPLbH3kwqZ
yCkuSiDzmUtHZkZ/juigebfeqdeuvnK+jcMVL3aHdG70lYBbQ9uPBax2CO0IK2ct
qrwo92NrrbPuSH1UvOVFuLkqt/OlKouLQefdLQWOKzxhH/GVbbTgiW+/kF3dxB7S
mTkwEUBinSrMl0ZYcpvsSB8uvLn9/LcerTHIWmn4vXllYWRRgXqa7/j/fG25+fwM
CDLsleVozxZUapNSFrMqoiqwCfnWHVU/om1D870ZG5fimJ9n0yh818OVzjPG3LPC
44ylVUfngYBddvIHfJ2trrZ/3q8zjz2AN8PykUZb0JfdjmJ8/+253KNj/9kLqg8=
=Y8VQ
-END PGP SIGNATURE-

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Tape Backup

2014-08-22 Thread More, Ankush
Hi Team,

We have Bacula-7.0.4 on CentOS 6.5. I would like to know, when tape backup 
happen.
How many number of streams per tape does it write ?

Thank you,
Ankush 


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Update pools from config files and update every volume

2014-08-22 Thread Jeff MacDonald
I understand doing one at a time… but in my case I have 40 pools and thats 
tedious. So was looking for a short cut.

Jeff.

On Aug 21, 2014, at 11:42 PM, Bill Arlofski waa-bac...@revpol.com wrote:

 On 08/21/14 21:00, Jeff MacDonald wrote:
 Is there a trick anyone has worked out to update every single pool to match 
 the config files and then to have every volune update from every pool 
 definition?
 
 I just did some major reconfiguring and don’t want to do it one by one.
 
 
 Jeff.
 
 
 --
 Slashdot TV.  
 Video for Nerds.  Stuff that matters.
 http://tv.slashdot.org/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
 Hi Jeff
 
 Edit your Pool resource definition(s), then:
 
 # bacula-dir -t -c /path/to/bacula-dir.conf
 
 to verify syntax.
 
 Then in bconsole, do:
 
 * reload
 
 and then:
 
 * update
   Choose -- Pool from resource
  -- Select a pool that was edited
 
 (Repeat for each edited pool)
 
 
 and finally, to update any volumes already in the edited and updated pools:
 
 * update
  Choose -- Volume Parameters
  -- 14: All Volumes from all Pools
 
 
 
 
 -- 
 Bill Arlofski
 Reverse Polarity, LLC
 http://www.revpol.com/
 -- Not responsible for anything below this line --
 
 --
 Slashdot TV.  
 Video for Nerds.  Stuff that matters.
 http://tv.slashdot.org/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Update pools from config files and update every volume

2014-08-22 Thread Jeff MacDonald
Which also makes me wonder if having a separate fill/inc/diff pool for each and 
every client is wise… or if it would be wiser to just have a separate 
full/inc/diff and only 3 pools :)


On Aug 21, 2014, at 11:42 PM, Bill Arlofski waa-bac...@revpol.com wrote:

 On 08/21/14 21:00, Jeff MacDonald wrote:
 Is there a trick anyone has worked out to update every single pool to match 
 the config files and then to have every volune update from every pool 
 definition?
 
 I just did some major reconfiguring and don’t want to do it one by one.
 
 
 Jeff.
 
 
 --
 Slashdot TV.  
 Video for Nerds.  Stuff that matters.
 http://tv.slashdot.org/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
 Hi Jeff
 
 Edit your Pool resource definition(s), then:
 
 # bacula-dir -t -c /path/to/bacula-dir.conf
 
 to verify syntax.
 
 Then in bconsole, do:
 
 * reload
 
 and then:
 
 * update
   Choose -- Pool from resource
  -- Select a pool that was edited
 
 (Repeat for each edited pool)
 
 
 and finally, to update any volumes already in the edited and updated pools:
 
 * update
  Choose -- Volume Parameters
  -- 14: All Volumes from all Pools
 
 
 
 
 -- 
 Bill Arlofski
 Reverse Polarity, LLC
 http://www.revpol.com/
 -- Not responsible for anything below this line --
 
 --
 Slashdot TV.  
 Video for Nerds.  Stuff that matters.
 http://tv.slashdot.org/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Update pools from config files and update every volume

2014-08-22 Thread Heitor Faria
Doesn't Bacula update de Pools every time director daemon is restarted?
About the Pools separation, I just do that if I want to have different
retentions for its volumes.

Cheers,


On Fri, Aug 22, 2014 at 8:54 AM, Jeff MacDonald j...@terida.com wrote:

 Which also makes me wonder if having a separate fill/inc/diff pool for
 each and every client is wise… or if it would be wiser to just have a
 separate full/inc/diff and only 3 pools :)


 On Aug 21, 2014, at 11:42 PM, Bill Arlofski waa-bac...@revpol.com wrote:

  On 08/21/14 21:00, Jeff MacDonald wrote:
  Is there a trick anyone has worked out to update every single pool to
 match the config files and then to have every volune update from every pool
 definition?
 
  I just did some major reconfiguring and don’t want to do it one by one.
 
 
  Jeff.
 
 
 
 --
  Slashdot TV.
  Video for Nerds.  Stuff that matters.
  http://tv.slashdot.org/
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
  Hi Jeff
 
  Edit your Pool resource definition(s), then:
 
  # bacula-dir -t -c /path/to/bacula-dir.conf
 
  to verify syntax.
 
  Then in bconsole, do:
 
  * reload
 
  and then:
 
  * update
Choose -- Pool from resource
   -- Select a pool that was edited
 
  (Repeat for each edited pool)
 
 
  and finally, to update any volumes already in the edited and updated
 pools:
 
  * update
   Choose -- Volume Parameters
   -- 14: All Volumes from all Pools
 
 
 
 
  --
  Bill Arlofski
  Reverse Polarity, LLC
  http://www.revpol.com/
  -- Not responsible for anything below this line --
 
 
 --
  Slashdot TV.
  Video for Nerds.  Stuff that matters.
  http://tv.slashdot.org/
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users



 --
 Slashdot TV.
 Video for Nerds.  Stuff that matters.
 http://tv.slashdot.org/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 

Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at
Udemy: bacula-users
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria http://www.facebook.com/heitor.faria
Gtalk: heitorfa...@gmail.com

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Update pools from config files and update every volume

2014-08-22 Thread Heitor Faria
I made the following test, changing the Max Volumes and Label Format. And
worked like a charm:

*list pools
++-+-+-+--+-+
| poolid | name| numvols | maxvols | pooltype | labelformat |
++-+-+-+--+-+
|  1 | Default |   1 |   0 | Backup   | *   |
|  2 | File|   2 | 100 | Backup   | *   |
|  3 | Scratch |   0 |   0 | Backup   | *   |
++-+-+-+--+-+
*quit
root@serpro-1552713:/etc/bacula# vi bacula-dir.conf
root@serpro-1552713:/etc/bacula# bconsole
Conectando ao Diretor localhost:9101
1000 OK: serpro-1552713-dir Version: 5.2.5 (26 January 2012)
Digite um período para cancelar um comando.
*reload
*list pools
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
++-+-+-+--+-+
| poolid | name| numvols | maxvols | pooltype | labelformat |
++-+-+-+--+-+
|  1 | Default |   1 |   0 | Backup   | *   |
|  2 | File|   2 | 200 | Backup   | file|
|  3 | Scratch |   0 |   0 | Backup   | *   |
++-+-+-+--+-+

Anyway its necessary to | update  volume parameters  all volumes from all
pools | to update the already created volumes.

Cheers,


On Fri, Aug 22, 2014 at 9:22 AM, Heitor Faria hei...@bacula.com.br wrote:

 Doesn't Bacula update de Pools every time director daemon is restarted?
 About the Pools separation, I just do that if I want to have different
 retentions for its volumes.

 Cheers,


 On Fri, Aug 22, 2014 at 8:54 AM, Jeff MacDonald j...@terida.com wrote:

 Which also makes me wonder if having a separate fill/inc/diff pool for
 each and every client is wise… or if it would be wiser to just have a
 separate full/inc/diff and only 3 pools :)


 On Aug 21, 2014, at 11:42 PM, Bill Arlofski waa-bac...@revpol.com
 wrote:

  On 08/21/14 21:00, Jeff MacDonald wrote:
  Is there a trick anyone has worked out to update every single pool to
 match the config files and then to have every volune update from every pool
 definition?
 
  I just did some major reconfiguring and don’t want to do it one by one.
 
 
  Jeff.
 
 
 
 --
  Slashdot TV.
  Video for Nerds.  Stuff that matters.
  http://tv.slashdot.org/
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
  Hi Jeff
 
  Edit your Pool resource definition(s), then:
 
  # bacula-dir -t -c /path/to/bacula-dir.conf
 
  to verify syntax.
 
  Then in bconsole, do:
 
  * reload
 
  and then:
 
  * update
Choose -- Pool from resource
   -- Select a pool that was edited
 
  (Repeat for each edited pool)
 
 
  and finally, to update any volumes already in the edited and updated
 pools:
 
  * update
   Choose -- Volume Parameters
   -- 14: All Volumes from all Pools
 
 
 
 
  --
  Bill Arlofski
  Reverse Polarity, LLC
  http://www.revpol.com/
  -- Not responsible for anything below this line --
 
 
 --
  Slashdot TV.
  Video for Nerds.  Stuff that matters.
  http://tv.slashdot.org/
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users



 --
 Slashdot TV.
 Video for Nerds.  Stuff that matters.
 http://tv.slashdot.org/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




 --
 
 Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code
 at Udemy: bacula-users
 https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users
 +55 61 2021-8260
 +55 61 8268-4220
 Site: www.bacula.com.br
 Facebook: heitor.faria http://www.facebook.com/heitor.faria
 Gtalk: heitorfa...@gmail.com
 




-- 

Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at
Udemy: bacula-users
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria http://www.facebook.com/heitor.faria
Gtalk: heitorfa...@gmail.com

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.

Re: [Bacula-users] Looking for recommendations on how to backup a Postgresql database using Bacula

2014-08-22 Thread Dmitri Maziuk
On 8/21/2014 9:37 PM, Dan Langille wrote:

 When I said .conf, I mean bacula-dir.conf, etc.  Keep those files handy, 
 outside Bacula backups.

Ah. There's etckeeper for backing those and any number of ways to copy 
/etc/.git elsewhere. I've been eyeballing btsync lately, pity it'll 
probably never get into any of the linux distros...

Dima



--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Reading DLT tapes in SDLT drive

2014-08-22 Thread Dan Langille
I have an SDLT tape library and many old DLT tapes created on my previous 
library.

SDLT can read DLT.  I wanted to test that today.  The issue: Media Type

When attempting to restore, I get:

22-Aug 16:21 crey-sd JobId 183011: acquire.c:121 Changing read device. Want 
Media Type=DLT have=“SDLT”

To avoid that, I did: update media set mediatype = 'SDLT' where volumename = 
'ETU007’;

Anyone done similar?

I’m using Version: 5.2.12 on FreeBSD 9.3-RELEASE

— 
Dan Langille


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Update pools from config files and update every volume

2014-08-22 Thread Jeff MacDonald
Ha, good catch.

And thank you.

Jeff.

On Aug 22, 2014, at 9:27 AM, Heitor Faria hei...@bacula.com.br wrote:

 I made the following test, changing the Max Volumes and Label Format. And 
 worked like a charm:
 
 *list pools
 ++-+-+-+--+-+
 | poolid | name| numvols | maxvols | pooltype | labelformat |
 ++-+-+-+--+-+
 |  1 | Default |   1 |   0 | Backup   | *   |
 |  2 | File|   2 | 100 | Backup   | *   |
 |  3 | Scratch |   0 |   0 | Backup   | *   |
 ++-+-+-+--+-+
 *quit
 root@serpro-1552713:/etc/bacula# vi bacula-dir.conf 
 root@serpro-1552713:/etc/bacula# bconsole
 Conectando ao Diretor localhost:9101
 1000 OK: serpro-1552713-dir Version: 5.2.5 (26 January 2012)
 Digite um período para cancelar um comando.
 *reload
 *list pools
 Automatically selected Catalog: MyCatalog
 Using Catalog MyCatalog
 ++-+-+-+--+-+
 | poolid | name| numvols | maxvols | pooltype | labelformat |
 ++-+-+-+--+-+
 |  1 | Default |   1 |   0 | Backup   | *   |
 |  2 | File|   2 | 200 | Backup   | file|
 |  3 | Scratch |   0 |   0 | Backup   | *   |
 ++-+-+-+--+-+
 
 Anyway its necessary to | update  volume parameters  all volumes from all 
 pools | to update the already created volumes.
 
 Cheers,
 
 
 On Fri, Aug 22, 2014 at 9:22 AM, Heitor Faria hei...@bacula.com.br wrote:
 Doesn't Bacula update de Pools every time director daemon is restarted?
 About the Pools separation, I just do that if I want to have different 
 retentions for its volumes.
 
 Cheers,
 
 
 On Fri, Aug 22, 2014 at 8:54 AM, Jeff MacDonald j...@terida.com wrote:
 Which also makes me wonder if having a separate fill/inc/diff pool for each 
 and every client is wise… or if it would be wiser to just have a separate 
 full/inc/diff and only 3 pools :)
 
 
 On Aug 21, 2014, at 11:42 PM, Bill Arlofski waa-bac...@revpol.com wrote:
 
  On 08/21/14 21:00, Jeff MacDonald wrote:
  Is there a trick anyone has worked out to update every single pool to 
  match the config files and then to have every volune update from every 
  pool definition?
 
  I just did some major reconfiguring and don’t want to do it one by one.
 
 
  Jeff.
 
 
  --
  Slashdot TV.
  Video for Nerds.  Stuff that matters.
  http://tv.slashdot.org/
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
  Hi Jeff
 
  Edit your Pool resource definition(s), then:
 
  # bacula-dir -t -c /path/to/bacula-dir.conf
 
  to verify syntax.
 
  Then in bconsole, do:
 
  * reload
 
  and then:
 
  * update
Choose -- Pool from resource
   -- Select a pool that was edited
 
  (Repeat for each edited pool)
 
 
  and finally, to update any volumes already in the edited and updated pools:
 
  * update
   Choose -- Volume Parameters
   -- 14: All Volumes from all Pools
 
 
 
 
  --
  Bill Arlofski
  Reverse Polarity, LLC
  http://www.revpol.com/
  -- Not responsible for anything below this line --
 
  --
  Slashdot TV.
  Video for Nerds.  Stuff that matters.
  http://tv.slashdot.org/
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
 --
 Slashdot TV.
 Video for Nerds.  Stuff that matters.
 http://tv.slashdot.org/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
 
 -- 
 
 Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at 
 Udemy: bacula-users
 +55 61 2021-8260
 +55 61 8268-4220
 Site: www.bacula.com.br
 Facebook: heitor.faria
 Gtalk: heitorfa...@gmail.com
 
 
 
 
 -- 
 
 Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at 
 Udemy: bacula-users
 +55 61 2021-8260
 +55 61 8268-4220
 Site: www.bacula.com.br
 Facebook: heitor.faria
 Gtalk: heitorfa...@gmail.com
 

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.

Re: [Bacula-users] Looking for recommendations on how to backup a Postgresql database using Bacula

2014-08-22 Thread Radosław Korzeniewski
Hello,

2014-08-19 15:20 GMT+02:00 Heitor Faria hei...@bacula.com.br:


  1.  Do a pg_dump on server1 (it has the space) and then backup the dump
 file
  2.  Do the same on server2 instead
  3.  Set up a PITR backup on server2
  4.  Do a simple file system backup.  This requires shutting down the
  database while the backup is in progress.

 They are all valid used solutions to backup postgresql databases. For
 option 3 i think you mean the hot postgresql backup, witch requires
 enabling db archiving, before job scripts in order to put database in
 backup mode and after job script to quit backup mode.

 This method is good for not needing aditional dump generation space, to
 keep the database available for some commands while doing backup and to
 allow pitr.

There is a PostgreSQL plugin for Bacula available which does PITR backup
and recovery. It automatically handles WAL archiving and online datafiles
backup. The plugin is available with AGPLv3 license.
It is especially useful for large databases where data import will take a
long time or when Point-In-Time-Recovery is required.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users