Bacula-users

Re: [Bacula-users] Using one job config for multiple individual file backups?

2011-01-15 14:21:33
Subject: Re: [Bacula-users] Using one job config for multiple individual file backups?
From: Mike Ruskai <thannyd AT earthlink DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 15 Jan 2011 14:18:32 -0500
On 1/14/2011 2:18 PM, Stan M. Hammond wrote:
> I am looking to see if anyone has any ideas or even if it can be done.
> We have a number of data files (3TB - over 12K files) that we want to
>    
requests. Request ignored" and then in our case crash bacula-dir. I am
> wondering if there is a way to perform this type of dynamic backup where
> we can change the file being backed up in the job configuration without
> crashing bacula-dir and without performing a bulk backup.  Or if this
>    

> FileSet {
>     Name = "Data Archive 2010"
>     Include {
>       Options {
>         signature = MD5
>       }
> ### My script rewrites the following line for each directory passed to
> it, then reloads the configuration in bconsole
>       File = "/mnt/data/usb_disk_1/dir3/sub1/sub2/006/056"
>     }
> }
>
>    
File = "<current_file"

Then generate the file "current_file" with your script, which would 
contain, for the above example, this:

/mnt/data/usb_disk_1/dir3/sub1/sub2/006/056

You can also do this:

File = "|print_current_file"

Where "print_current_file" would be a script that spits out the filename 
directly, without a temporary file.

Both are executed at the time the job is run, so no Director restarts or 
configuration reloads are necessary.



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users