Bacula-users

Re: [Bacula-users] Matching By Date

2009-12-18 10:53:04
Subject: Re: [Bacula-users] Matching By Date
From: "David S. Madole" <david AT madole DOT net>
To: ext-daniel.hawker AT nokia DOT com
Date: Fri, 18 Dec 2009 10:49:49 -0500
ext-daniel.hawker AT nokia DOT com wrote:
> Am backing up a series of MySQL servers that already undertake a daily local 
> dump of the data to date-based dirs.
> Eg 
> /data/dumps/dbname/2009-12-17
> /data/dumps/dbname/2009-12-16
> Etc, etc
>
> Have been looking (but obviously not understanding) how to add this to a 
> FileSet directive, so that each daily Bacula job grabs the *TODAY* (or more 
> likely *YESTERDAY*) directory. Am a bit confused, and know this is invariably 
> *very* simple indeed (all clients/servers are Linux boxes).
>   
How about something like:

FileSet
  Include {
    File = "|date -d yesterday +/data/dumps/dbname/%Y-%m-%d"
  }
}

David


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>