You also could use that script directly on the "File" parameter, like:

File = "|yourscript.sh";

That way you wont need the local crontab to run your script, it can be ran
by bacula itself.


2011/10/26 Alberto Fuentes <alberto.fuen...@qindel.com>

> To answer myself
>
> I was not able to do it via wild or regex so I just created a script that
> run daily before the backup that simple does "ls
> /path/otherpath/ABC*/singlefile > /backup.txt" and backup all the files on
> that file via File = \</backup.txt
>
> Its a bit of a hack and i dont like it but hey, it works flawesly :D
>
> greets!
> aL
>
>
> ----- Original Message -----
> From: Alberto Fuentes <alberto.fuen...@qindel.com>
> To: bacula-users@lists.sourceforge.net
> Sent: Wed, 26 Oct 2011 11:35:11 +0200 (CEST)
> Subject: [Bacula-users] how to backup this path
> "/path/otherpath/ABC*/singlefile"
>
> im trying to backup this dir "/path/otherpath/ABC*/singlefile"
>
> There is lot of folders and other files under /path/otherpath/ABC*/
>
> I tried lots of combinations with no luck, can anybody help me?
>
> aL
>
> **AVISO LEGAL**
> Este mensaje se dirige exclusivamente a su destinatario y puede contener
> informacion privilegiada o confidencial. Si no es usted el destinatario
> indicado, queda notificado que la utilizacion, divulgacion y/o copia sin
> autorizacion esta prohibida en virtud de la legislacion vigente. Si ha
> recibido este mensaje por error, le rogamos que nos lo comunique
> inmediatamente por esta misma via y proceda a su destruccion.
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
> **AVISO LEGAL**
> Este mensaje se dirige exclusivamente a su destinatario y puede contener
> informacion privilegiada o confidencial. Si no es usted el destinatario
> indicado, queda notificado que la utilizacion, divulgacion y/o copia sin
> autorizacion esta prohibida en virtud de la legislacion vigente. Si ha
> recibido este mensaje por error, le rogamos que nos lo comunique
> inmediatamente por esta misma via y proceda a su destruccion.
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to