Well, I got the following to work using gnu date: File = "|gdate -d yesterday '+d:/path_to_app/%Y%m%%d.bak'" note the %d has an extra % - bacula translates %d into the name of the director daemon prior to executing the script. Fortunately, it also translates %% into % Thanks,
Andy -----Original Message----- From: Gary Danko [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 12:10 PM To: Andy Rude Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Backing up a backup file. Andy, this is a hack but you could perhaps write a shell script to generate the file name and put it in a text file. Then in your FileSet stanza pull in the text file as your File resource. On Dec 20, 2007 9:50 AM, Andy Rude <[EMAIL PROTECTED]> wrote: > > > Hey all - > > I have bacula running succesfully on multiple OS. I have a windows app that > does its own backups to a file like "20071219.bak". I'd like to be able to > come up with some sort of fileset that will be able to back yesterdays file > up daily. Do you know of any wildfile options or sh one liners that would > return? > > the ideal would be "file = %Y%m%d.bak" but I am unable to find any > documentation on if that'd work. > > Thanks! > > Andy > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.17.5/1190 - Release Date: 12/19/2007 > 7:37 PM > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.5/1190 - Release Date: 12/19/2007 7:37 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.5/1190 - Release Date: 12/19/2007 7:37 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users