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


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


[Bacula-users] Escaping colons from Plugin Directive

2017-08-11 Thread 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 | 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