Re: [Bacula-users] Where can I found db upgrade from 15 to 16?

2017-08-15 Thread Jari Fredriksson
I ran yum update -y and later found out the problem. I guess I have some
Bacula rpm repo set up. 

br. jarif 

Wanderlei Huttel kirjoitti 15.8.2017 22:14:

> Hello Jari 
> 
> What update file did you run? 
> 
> Atenciosamente  
> 
> WANDERLEI HÜTTEL 
> http://www.huttel.com.br 
> 2017-08-15 15:47 GMT-03:00 Jari Fredriksson :
> 
>> I just upgraded and Bacula got updated. 
>> 
>> How  ever, the database did not upgrade automatically. This is a CentOS 7 
>> installation. 
>> 
>> [root@backup ~]# cd /usr/share/doc/bacula-director-9.0.3/updatedb 
>> 
>> [root@backup updatedb]# ll 
>> 
>> total 260 
>> 
>> -rw-r--r--. 1 root root   845 Aug  8 08:39 README 
>> 
>> -rw-r--r--. 1 root root   963 Aug  8 08:39 update_bacula_tables.in [1] 
>> 
>> -rw-r--r--. 1 root root   485 Aug  8 08:39 update_bacula_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  3948 Aug 15 13:24 update_mysql_tables 
>> 
>> -rw-r--r--. 1 root root  3957 Aug  8 08:39 update_mysql_tables.in [2] 
>> 
>> -rwxr-xr-x. 1 root root  2172 Aug 15 13:24 update_mysql_tables_10_to_11 
>> 
>> -rw-r--r--. 1 root root  2181 Aug  8 08:39 update_mysql_tables_10_to_11.in 
>> [3] 
>> 
>> -rwxr-xr-x. 1 root root  2422 Aug 15 13:24 update_mysql_tables_11_to_12 
>> 
>> -rw-r--r--. 1 root root  2431 Aug  8 08:39 update_mysql_tables_11_to_12.in 
>> [4] 
>> 
>> -rw-r--r--. 1 root root  1586 Aug  8 08:39 update_mysql_tables_4_to_5 
>> 
>> -rw-r--r--. 1 root root  2491 Aug  8 08:39 update_mysql_tables_5_to_6 
>> 
>> -rw-r--r--. 1 root root  2314 Aug  8 08:39 update_mysql_tables_6_to_7 
>> 
>> -rw-r--r--. 1 root root  1364 Aug  8 08:39 update_mysql_tables_7_to_8 
>> 
>> -rw-r--r--. 1 root root  3264 Aug  8 08:39 update_mysql_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  2569 Aug 15 13:24 update_mysql_tables_9_to_10 
>> 
>> -rw-r--r--. 1 root root  2578 Aug  8 08:39 update_mysql_tables_9_to_10.in 
>> [5] 
>> 
>> -rw-r--r--. 1 root root  3970 Aug 15 13:24 update_postgresql_tables 
>> 
>> -rw-r--r--. 1 root root  3984 Aug  8 08:39 update_postgresql_tables.in [6] 
>> 
>> -rwxr-xr-x. 1 root root  1347 Aug 15 13:24 update_postgresql_tables_10_to_11 
>> 
>> -rw-r--r--. 1 root root  1361 Aug  8 08:39 
>> update_postgresql_tables_10_to_11.in [7] 
>> 
>> -rwxr-xr-x. 1 root root  2938 Aug 15 13:24 update_postgresql_tables_11_to_12 
>> 
>> -rw-r--r--. 1 root root  2952 Aug  8 08:39 
>> update_postgresql_tables_11_to_12.in [8] 
>> 
>> -rw-r--r--. 1 root root  2071 Aug  8 08:39 update_postgresql_tables_7_to_8 
>> 
>> -rw-r--r--. 1 root root  4252 Aug  8 08:39 update_postgresql_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  2492 Aug 15 13:24 update_postgresql_tables_9_to_10 
>> 
>> -rw-r--r--. 1 root root  2506 Aug  8 08:39 
>> update_postgresql_tables_9_to_10.in [9] 
>> 
>> -rw-r--r--. 1 root root  5659 Aug 15 13:24 update_sqlite3_tables 
>> 
>> -rw-r--r--. 1 root root  5665 Aug  8 08:39 update_sqlite3_tables.in [10] 
>> 
>> -rwxr-xr-x. 1 root root  8408 Aug 15 13:24 update_sqlite3_tables_10_to_11 
>> 
>> -rw-r--r--. 1 root root  8414 Aug  8 08:39 update_sqlite3_tables_10_to_11.in 
>> [11] 
>> 
>> -rwxr-xr-x. 1 root root  2206 Aug 15 13:24 update_sqlite3_tables_11_to_12 
>> 
>> -rw-r--r--. 1 root root  2212 Aug  8 08:39 update_sqlite3_tables_11_to_12.in 
>> [12] 
>> 
>> -rw-r--r--. 1 root root 11201 Aug  8 08:39 update_sqlite3_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  8404 Aug 15 13:24 update_sqlite3_tables_9_to_10 
>> 
>> -rw-r--r--. 1 root root  8410 Aug  8 08:39 update_sqlite3_tables_9_to_10.in 
>> [13] 
>> 
>> -rw-r--r--. 1 root root  8389 Aug  8 08:39 update_sqlite_tables_10_to_11.in 
>> [14] 
>> 
>> -rw-r--r--. 1 root root  4525 Aug  8 08:39 update_sqlite_tables_4_to_5 
>> 
>> -rw-r--r--. 1 root root  5332 Aug  8 08:39 update_sqlite_tables_5_to_6 
>> 
>> -rw-r--r--. 1 root root   Aug  8 08:39 update_sqlite_tables_6_to_7 
>> 
>> -rw-r--r--. 1 root root  4571 Aug  8 08:39 update_sqlite_tables_7_to_8 
>> 
>> -rw-r--r--. 1 root root 11200 Aug  8 08:39 update_sqlite_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  8442 Aug  8 08:39 update_sqlite_tables_9_to_10.in 
>> [15] 
>> 
>> [root@backup updatedb]# bacula-dir -f -t 
>> 
>> bacula-dir: dird.c:1152-0 Could not open Catalog "MyCatalog", database 
>> "bacula". 
>> 
>> bacula-dir: dird.c:1157-0 Version error for database "bacula". Wanted 16, 
>> got 15 
>> 
>> 15-Aug 21:40 bacula-dir ERROR TERMINATION 
>> 
>> Please correct configuration file: bacula-dir.conf 
>> 
>> [root@backup updatedb]# bacula-dir --version 
>> 
>> bacula-dir: invalid option -- '-' 
>> 
>> Copyright (C) 2000-2017 Kern Sibbald. 
>> 
>> Version: 9.0.3 (08 August 2017)
>> 
>> -- 
>> ja...@iki.fi 
>> --
>> 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
>> 

Re: [Bacula-users] Where can I found db upgrade from 15 to 16?

2017-08-15 Thread Phil Stracchino
On 08/15/17 14:47, Jari Fredriksson wrote:
> I just upgraded and Bacula got updated.
> 
> How  ever, the database did not upgrade automatically. This is a CentOS
> 7 installation.

Jari,

You want the update_mysql_tables script with no version numbers.


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958



signature.asc
Description: OpenPGP digital signature
--
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] Where can I found db upgrade from 15 to 16?

2017-08-15 Thread Wanderlei Huttel
Hello Jari

What update file did you run?

Atenciosamente

*Wanderlei Hüttel*
http://www.huttel.com.br

2017-08-15 15:47 GMT-03:00 Jari Fredriksson :

> I just upgraded and Bacula got updated.
>
> How  ever, the database did not upgrade automatically. This is a CentOS 7
> installation.
>
>
> [root@backup ~]# cd /usr/share/doc/bacula-director-9.0.3/updatedb
>
> [root@backup updatedb]# ll
>
> total 260
>
> -rw-r--r--. 1 root root   845 Aug  8 08:39 README
>
> -rw-r--r--. 1 root root   963 Aug  8 08:39 update_bacula_tables.in
>
> -rw-r--r--. 1 root root   485 Aug  8 08:39 update_bacula_tables_8_to_9
>
> -rw-r--r--. 1 root root  3948 Aug 15 13:24 update_mysql_tables
>
> -rw-r--r--. 1 root root  3957 Aug  8 08:39 update_mysql_tables.in
>
> -rwxr-xr-x. 1 root root  2172 Aug 15 13:24 update_mysql_tables_10_to_11
>
> -rw-r--r--. 1 root root  2181 Aug  8 08:39 update_mysql_tables_10_to_11.in
>
> -rwxr-xr-x. 1 root root  2422 Aug 15 13:24 update_mysql_tables_11_to_12
>
> -rw-r--r--. 1 root root  2431 Aug  8 08:39 update_mysql_tables_11_to_12.in
>
> -rw-r--r--. 1 root root  1586 Aug  8 08:39 update_mysql_tables_4_to_5
>
> -rw-r--r--. 1 root root  2491 Aug  8 08:39 update_mysql_tables_5_to_6
>
> -rw-r--r--. 1 root root  2314 Aug  8 08:39 update_mysql_tables_6_to_7
>
> -rw-r--r--. 1 root root  1364 Aug  8 08:39 update_mysql_tables_7_to_8
>
> -rw-r--r--. 1 root root  3264 Aug  8 08:39 update_mysql_tables_8_to_9
>
> -rw-r--r--. 1 root root  2569 Aug 15 13:24 update_mysql_tables_9_to_10
>
> -rw-r--r--. 1 root root  2578 Aug  8 08:39 update_mysql_tables_9_to_10.in
>
> -rw-r--r--. 1 root root  3970 Aug 15 13:24 update_postgresql_tables
>
> -rw-r--r--. 1 root root  3984 Aug  8 08:39 update_postgresql_tables.in
>
> -rwxr-xr-x. 1 root root  1347 Aug 15 13:24 update_postgresql_tables_10_
> to_11
>
> -rw-r--r--. 1 root root  1361 Aug  8 08:39 update_postgresql_tables_10_
> to_11.in
>
> -rwxr-xr-x. 1 root root  2938 Aug 15 13:24 update_postgresql_tables_11_
> to_12
>
> -rw-r--r--. 1 root root  2952 Aug  8 08:39 update_postgresql_tables_11_
> to_12.in
>
> -rw-r--r--. 1 root root  2071 Aug  8 08:39 update_postgresql_tables_7_to_8
>
> -rw-r--r--. 1 root root  4252 Aug  8 08:39 update_postgresql_tables_8_to_9
>
> -rw-r--r--. 1 root root  2492 Aug 15 13:24 update_postgresql_tables_9_to_
> 10
>
> -rw-r--r--. 1 root root  2506 Aug  8 08:39 update_postgresql_tables_9_to_
> 10.in
>
> -rw-r--r--. 1 root root  5659 Aug 15 13:24 update_sqlite3_tables
>
> -rw-r--r--. 1 root root  5665 Aug  8 08:39 update_sqlite3_tables.in
>
> -rwxr-xr-x. 1 root root  8408 Aug 15 13:24 update_sqlite3_tables_10_to_11
>
> -rw-r--r--. 1 root root  8414 Aug  8 08:39 update_sqlite3_tables_10_to_
> 11.in
>
> -rwxr-xr-x. 1 root root  2206 Aug 15 13:24 update_sqlite3_tables_11_to_12
>
> -rw-r--r--. 1 root root  2212 Aug  8 08:39 update_sqlite3_tables_11_to_
> 12.in
>
> -rw-r--r--. 1 root root 11201 Aug  8 08:39 update_sqlite3_tables_8_to_9
>
> -rw-r--r--. 1 root root  8404 Aug 15 13:24 update_sqlite3_tables_9_to_10
>
> -rw-r--r--. 1 root root  8410 Aug  8 08:39 update_sqlite3_tables_9_to_10.
> in
>
> -rw-r--r--. 1 root root  8389 Aug  8 08:39 update_sqlite_tables_10_to_11.
> in
>
> -rw-r--r--. 1 root root  4525 Aug  8 08:39 update_sqlite_tables_4_to_5
>
> -rw-r--r--. 1 root root  5332 Aug  8 08:39 update_sqlite_tables_5_to_6
>
> -rw-r--r--. 1 root root   Aug  8 08:39 update_sqlite_tables_6_to_7
>
> -rw-r--r--. 1 root root  4571 Aug  8 08:39 update_sqlite_tables_7_to_8
>
> -rw-r--r--. 1 root root 11200 Aug  8 08:39 update_sqlite_tables_8_to_9
>
> -rw-r--r--. 1 root root  8442 Aug  8 08:39 update_sqlite_tables_9_to_10.in
>
> [root@backup updatedb]# bacula-dir -f -t
>
> bacula-dir: dird.c:1152-0 Could not open Catalog "MyCatalog", database
> "bacula".
>
> bacula-dir: dird.c:1157-0 Version error for database "bacula". Wanted 16,
> got 15
>
> 15-Aug 21:40 bacula-dir ERROR TERMINATION
>
> Please correct configuration file: bacula-dir.conf
>
> [root@backup updatedb]# bacula-dir --version
>
> bacula-dir: invalid option -- '-'
>
> Copyright (C) 2000-2017 Kern Sibbald.
>
>
>
> Version: 9.0.3 (08 August 2017)
> --
> ja...@iki.fi
>
> 
> --
> 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
>
>
--
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] Escaping colons from Plugin Directive

2017-08-15 Thread Heitor Faria
> Hello Kern,
Hello, Wanderlei, 

> Mainly who wants to backup Firebird and needs to inform the parameter "port" 
> is
> not possible to use plugin bpipe, because bpipe doesn't allow escape chars, 
> and
> is necessary to work. There is some patch in the Enterprise version for this 
> or
> plan to fix this in the near future?
I was able to change bpipe separator editing the source code (and finally being 
able to backup a Hadoop HDFS cluster). These were the changes: 

sed -i "s/':'/';'/g" ./src/plugins/fd/test-plugin-fd.c 
sed -i "s/':'/';'/g" ./src/plugins/fd/bpipe-fd.c 
sed -i "s/':'/';'/g" ./src/plugins/fd/fd_common.h 
sed -i "s/':'/';'/g" ./src/filed/fd_plugins.c 

Hopefully, it is the first step in order to deploy the "colon escape" or 
changing the separator character. 

> Even include the option to run bpipe in Windows file daemons?
This would be great. 

> Best regards

> Wanderlei Hüttel
> http://www.huttel.com.br

> 2017-08-12 0:44 GMT-03:00 Heitor Faria < hei...@bacula.com.br > :

>> Hello, List,

>> Does anyone know how to escape colons from the FileSet - Include Plugin
>> directive? In the following example, the file:/// colon must be excluded
>> because it is a Plugin values separator. I tried quotes, backslash and plics.

>> =
>> echo "bpipe:/var$filename:$distcp $hdfs_address$filename 
>> file:///dev/stdout:dd
>> of=/mnt/bacula-restore$filename"
>> =

>> Regards,
>> --
>> ===
>> Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula
>> Systems Certified Administrator II
>> • Do you need Bacula training? http://bacula.us/video-classes/
>> +55 61 98268-4220 | http://bacula.us
>> ===

>> --
>> 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

> --
> 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

-- 
=== 
Heitor Medrado de Faria | CEO Bacula do Brasil | Visto EB-1 | LPIC-III | EMC 
05-001 | ITIL-F 
• Não seja tarifado pelo tamanho dos seus backups, conheça o Bacula Enterprise: 
http://www.bacula.com.br/enterprise/ 
• Ministro treinamento e implementação in-company do Bacula Community: 
http://www.bacula.com.br/in-company/ 
+55 61 98268-4220 | www.bacula.com.br 
 
Indicamos também as capacitações complementares: 
• Shell básico e Programação em Shell com Julio Neves. 
• Zabbix com Adail Host. 
 
--
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] Where can I found db upgrade from 15 to 16?

2017-08-15 Thread Jari Fredriksson
I just upgraded and Bacula got updated. 

How  ever, the database did not upgrade automatically. This is a CentOS
7 installation. 

[root@backup ~]# cd /usr/share/doc/bacula-director-9.0.3/updatedb 

[root@backup updatedb]# ll 

total 260 

-rw-r--r--. 1 root root   845 Aug  8 08:39 README 

-rw-r--r--. 1 root root   963 Aug  8 08:39 update_bacula_tables.in 

-rw-r--r--. 1 root root   485 Aug  8 08:39 update_bacula_tables_8_to_9 

-rw-r--r--. 1 root root  3948 Aug 15 13:24 update_mysql_tables 

-rw-r--r--. 1 root root  3957 Aug  8 08:39 update_mysql_tables.in 

-rwxr-xr-x. 1 root root  2172 Aug 15 13:24 update_mysql_tables_10_to_11 

-rw-r--r--. 1 root root  2181 Aug  8 08:39
update_mysql_tables_10_to_11.in 

-rwxr-xr-x. 1 root root  2422 Aug 15 13:24 update_mysql_tables_11_to_12 

-rw-r--r--. 1 root root  2431 Aug  8 08:39
update_mysql_tables_11_to_12.in 

-rw-r--r--. 1 root root  1586 Aug  8 08:39 update_mysql_tables_4_to_5 

-rw-r--r--. 1 root root  2491 Aug  8 08:39 update_mysql_tables_5_to_6 

-rw-r--r--. 1 root root  2314 Aug  8 08:39 update_mysql_tables_6_to_7 

-rw-r--r--. 1 root root  1364 Aug  8 08:39 update_mysql_tables_7_to_8 

-rw-r--r--. 1 root root  3264 Aug  8 08:39 update_mysql_tables_8_to_9 

-rw-r--r--. 1 root root  2569 Aug 15 13:24 update_mysql_tables_9_to_10 

-rw-r--r--. 1 root root  2578 Aug  8 08:39
update_mysql_tables_9_to_10.in 

-rw-r--r--. 1 root root  3970 Aug 15 13:24 update_postgresql_tables 

-rw-r--r--. 1 root root  3984 Aug  8 08:39 update_postgresql_tables.in 

-rwxr-xr-x. 1 root root  1347 Aug 15 13:24
update_postgresql_tables_10_to_11 

-rw-r--r--. 1 root root  1361 Aug  8 08:39
update_postgresql_tables_10_to_11.in 

-rwxr-xr-x. 1 root root  2938 Aug 15 13:24
update_postgresql_tables_11_to_12 

-rw-r--r--. 1 root root  2952 Aug  8 08:39
update_postgresql_tables_11_to_12.in 

-rw-r--r--. 1 root root  2071 Aug  8 08:39
update_postgresql_tables_7_to_8 

-rw-r--r--. 1 root root  4252 Aug  8 08:39
update_postgresql_tables_8_to_9 

-rw-r--r--. 1 root root  2492 Aug 15 13:24
update_postgresql_tables_9_to_10 

-rw-r--r--. 1 root root  2506 Aug  8 08:39
update_postgresql_tables_9_to_10.in 

-rw-r--r--. 1 root root  5659 Aug 15 13:24 update_sqlite3_tables 

-rw-r--r--. 1 root root  5665 Aug  8 08:39 update_sqlite3_tables.in 

-rwxr-xr-x. 1 root root  8408 Aug 15 13:24
update_sqlite3_tables_10_to_11 

-rw-r--r--. 1 root root  8414 Aug  8 08:39
update_sqlite3_tables_10_to_11.in 

-rwxr-xr-x. 1 root root  2206 Aug 15 13:24
update_sqlite3_tables_11_to_12 

-rw-r--r--. 1 root root  2212 Aug  8 08:39
update_sqlite3_tables_11_to_12.in 

-rw-r--r--. 1 root root 11201 Aug  8 08:39 update_sqlite3_tables_8_to_9 

-rw-r--r--. 1 root root  8404 Aug 15 13:24 update_sqlite3_tables_9_to_10


-rw-r--r--. 1 root root  8410 Aug  8 08:39
update_sqlite3_tables_9_to_10.in 

-rw-r--r--. 1 root root  8389 Aug  8 08:39
update_sqlite_tables_10_to_11.in 

-rw-r--r--. 1 root root  4525 Aug  8 08:39 update_sqlite_tables_4_to_5 

-rw-r--r--. 1 root root  5332 Aug  8 08:39 update_sqlite_tables_5_to_6 

-rw-r--r--. 1 root root   Aug  8 08:39 update_sqlite_tables_6_to_7 

-rw-r--r--. 1 root root  4571 Aug  8 08:39 update_sqlite_tables_7_to_8 

-rw-r--r--. 1 root root 11200 Aug  8 08:39 update_sqlite_tables_8_to_9 

-rw-r--r--. 1 root root  8442 Aug  8 08:39
update_sqlite_tables_9_to_10.in 

[root@backup updatedb]# bacula-dir -f -t 

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

bacula-dir: dird.c:1157-0 Version error for database "bacula". Wanted
16, got 15 

15-Aug 21:40 bacula-dir ERROR TERMINATION 

Please correct configuration file: bacula-dir.conf 

[root@backup updatedb]# bacula-dir --version 

bacula-dir: invalid option -- '-' 

Copyright (C) 2000-2017 Kern Sibbald. 

Version: 9.0.3 (08 August 2017)

-- 
ja...@iki.fi

signature.asc
Description: OpenPGP digital signature
--
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] Escaping colons from Plugin Directive

2017-08-15 Thread Wanderlei Huttel
Hello Kern

Mainly who wants to backup Firebird and needs to inform the parameter
"port" is not possible to use plugin bpipe, because bpipe doesn't allow
escape chars, and is necessary to work. There is some patch in the
Enterprise version for this or plan to fix this in the near future?
Even include the option to run bpipe in Windows file daemons?

Bareos had the same problem but it looks was already fixed.
https://bugs.bareos.org/view.php?id=428



Best regards

*Wanderlei Hüttel*
http://www.huttel.com.br

2017-08-12 0:44 GMT-03:00 Heitor Faria :

> Hello, List,
>
> Does anyone know how to escape colons from the FileSet - Include Plugin
> directive? In the following example, the file:/// colon must be excluded
> because it is a Plugin values separator. I tried quotes, backslash and
> plics.
>
> 
> =
> echo "bpipe:/var$filename:$distcp $hdfs_address$filename
> file:///dev/stdout:dd of=/mnt/bacula-restore$filename"
> 
> =
>
> Regards,
> --
> 
> ===
> Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula
> Systems Certified Administrator II
> • Do you need Bacula training? http://bacula.us/video-classes/
> +55 61 98268-4220 <+55%2061%2098268-4220> | http://bacula.us
> 
> ===
>
> 
> --
> 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
>
>
--
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] Image Level Backup

2017-08-15 Thread Can Şirin

 Excellent, thank you...

Quoting Martin Simmons :


On Mon, 14 Aug 2017 22:37:24 +0300, Can Şirin said:


Is there a way to take image level backup of a disk or file system (like
dd) to tape with Bacula? I don't mean bare metal backup, because it is
also
file level backup. I would like a backup like dd. So I can take backups
of
the file systems that I cannot mount on Linux.


Yes, if you specify a device directly in the FileSet:



http://www.bacula.org/9.0.x-manuals/en/main/Configuring_Director.html#SECTION00189


I think you can also do it using dd with the bpipe plugin:



http://www.bacula.org/9.0.x-manuals/en/main/Released_Version_3_0_3_3_0_.html#SECTION008219000

__Martin
--
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] Waiting to reserve a device messages after upgrade to 9.0.3

2017-08-15 Thread Adolf Belka

Hi Phil,

Thanks for your help. My files have been like that since I started using 
Bacula with a File Storage system. I just haven't realised as there 
wasn't a warning message. Now there is so I will fix it.


The Director one is easy to fix.

For the Storage one there is a chapter in the Main manual that covers 
running multiple Volumes with a File based system using different Media 
Type names to differentiate them. I think this should work for what I 
want. I will give it a try and if it works will let the list know.


Thanks very much,

Adolf

Sent from my Desktop Computer

On 14/08/17 22:51, Phil Stracchino wrote:

On 08/14/17 15:56, Adolf Belka wrote:

Hi Phil,
Here is the director config file:-

And here's your two problems:


Director {# define myself
Name = venus-dir
DIRport = 9101# where we listen for UA connections
QueryFile = /opt/bacula/etc/query.sql
WorkingDirectory = /opt/bacula/working
PidDirectory = /opt/bacula/working
Maximum Concurrent Jobs = 1

...So your Director can run only one job at once.



Storage {
Name = FileStorage
Address = venus.harley.pimb.org# N.B. Use a fully
qualified name here
SDPort = 9103
Password = "+NL9puHa4nh4Fy0QVw6+tWKqBb8pWRoSLpbHL2bvlTa4"
Device = FileStorage
Media Type = File
}
Pool {
Name = Default
Pool Type = Backup
Recycle = yes   # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 14 days  # two weeks
Maximum Volume Jobs = 1;

...And so can your Storage, because you allow one Job per file and your
Storage can only have one File open at a time.


The Director's job concurrency is easily changed.  The one-job-per-file
setting is your decision.  The one-file-at-a-time limit, you can't do
anything about except by creating multiple Storage daemons assigned to
the same Pool but running on different ports.  If you try that, let us
know how it works.  It's not, as far as I know, an officially supported
configuration.





--
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] HEADS UP: Bacula 5.2 removal from FreeBSD

2017-08-15 Thread Dan Langille
Bacula 5.2.12 will be removed from the FreeBSD ports tree soon. This affects 5 
ports. Full list here: https://www.freshports.org/search.php?query=bacula5 


Bacula 5.2.12 was added to the FreeBSD ports tree in Sep 2012.  Bacula 7 was 
added in Aug 2014.  Everyone should be on 7 by now.

-- 
Dan Langille - BSDCan / PGCon
d...@langille.org


--
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] Image Level Backup

2017-08-15 Thread Martin Simmons
> On Mon, 14 Aug 2017 22:37:24 +0300, Can Şirin said:
> 
> Is there a way to take image level backup of a disk or file system (like
> dd) to tape with Bacula? I don't mean bare metal backup, because it is also
> file level backup. I would like a backup like dd. So I can take backups of
> the file systems that I cannot mount on Linux.

Yes, if you specify a device directly in the FileSet:

http://www.bacula.org/9.0.x-manuals/en/main/Configuring_Director.html#SECTION00189

I think you can also do it using dd with the bpipe plugin:

http://www.bacula.org/9.0.x-manuals/en/main/Released_Version_3_0_3_3_0_.html#SECTION008219000

__Martin

--
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