Bacula-users

Re: [Bacula-users] relative order of scripts vs files

2016-04-13 15:47:03
Subject: Re: [Bacula-users] relative order of scripts vs files
From: Heitor Faria <heitor AT bacula.com DOT br>
To: Lloyd Brown <lloyd_brown AT byu DOT edu>
Date: Wed, 13 Apr 2016 16:46:07 -0300 (BRT)
> Heitor,
> 
> I don't know if this will affect anything, but your example backs up the
> file "/tmp/dummy".  What I'm trying to do is read from a file, to get
> the list of files to be backed up.  It's a difference between this syntax:
> 
>>     File = /tmp/dummy
> 
> And something more like this:
> 
>>     File = "\\</tmp/dummy"

Hello, Lloyd: now I see. 
I think calling scripts from Bacula configuration is not vastly documented, but 
I think using shell redirect will never work. You can try this:

"\\|/etc/bacula/scripts/files_list.sh"

And the script should print the path to the files.
This is an adapation of another script documented here: 
http://wiki.bacula.org/doku.php?id=application_specific_backups:postgresql

Regards,
-- 
=========================================================================== 
Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified 
Administrator II 
Do you need Bacula training? http://bacula.us/video-classes/ 
+55 61 8268-4220 
Site: http://bacula.us FB: heitor.faria 
===========================================================================

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users