From: Martin S. <ma...@li...> - 2017-08-16 10:12:01
|
Can't you just use a script to run the $distcp command, with the file URL in the script and the other args as parameters? __Martin >>>>> On Tue, 15 Aug 2017 16:04:21 -0300 (BRT), Heitor Faria said: > > > 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 Httel > > http://www.huttel.com.br > > > 2017-08-12 0:44 GMT-03:00 Heitor Faria < he...@ba... > : > > >> 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 > >> Bac...@li... > >> 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 > > Bac...@li... > > 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 > • No seja tarifado pelo tamanho dos seus backups, conhea o Bacula Enterprise: http://www.bacula.com.br/enterprise/ > • Ministro treinamento e implementao in-company do Bacula Community: http://www.bacula.com.br/in-company/ > +55 61 98268-4220 | www.bacula.com.br > ============================================================================ > Indicamos tambm as capacitaes complementares: > • Shell bsico e Programao em Shell com Julio Neves. > • Zabbix com Adail Host. > ============================================================================ > |