Bacula-users

Re: [Bacula-users] multiple copies

2009-07-28 22:50:50
Subject: Re: [Bacula-users] multiple copies
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Tue, 28 Jul 2009 19:46:13 -0700
Daniel De Marco wrote:
> * Kevin Keane <subscription AT kkeane DOT com> [07/28/2009 21:51]:
>   
>> I didn't follow this thread, but there is a simple solution to this 
>> problem. You can generate the actual content of the file set with a 
>> script, and call the same script from within both file sets in the 
>> bacula configuration file.
>>     
>
> Thanks, but in this case then the fileset would be the same and it would
> not solve the original problem. no?
>   
As I said, I didn't follow the whole thread, so I don't really know what 
the whole goal was. What I saw was that apparently you wanted to have 
two separate file sets (with different names, obviously) that both 
contain the exact same files - and needed a way to maintain it that way. 
Basically, you would end up with two DIFFERENT filesets that just happen 
to be exactly identical to each other. If I misunderstood that, I 
apologize. Then my suggestion really isn't useful.

The way I would solve that is:

FileSet {
   Name = "FS1"
@|/etc/bacula/generatefilesetscript

}

FileSet {
   Name = "FS2"
@|/etc/bacula/generatefilesetscript
}

Actually, come to think about it, you don't need the script. If you just 
use the @ without the |, bacula will simply include the file (rather 
than execute a script and use the output as I had suggested):

FileSet {
   Name = "FS1"
@/etc/bacula/filesetcontent

}

FileSet {
   Name = "FS2"
@/etc/bacula/filesetcontent
}



-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users