Hello, 02.12.2009 01:02, Clark Hartness wrote: > Arno said: > > "alternatively, you could run your script from a RunScript resource in the > Job." > >>>> I am writing a filelist to the CLIENT MACHINE which I am using the >>>> following in the include as such in the FileSet
If that's all your script does, you can use its output as the file list to back up directly: "If the vertical bar (|) in front of my_partitions is preceded by a backslash as in \|, the program will be executed on the Client's machine instead of on the Director's machine." from http://www.bacula.org/3.0.x-manuals/en/install/install/Configuring_Director.html#SECTION00670000000000000000 So, instead of > > Include { > Options { > compression=GZIP > signature = MD5 > } > # Backup Specific Files Not Under Revision Control > File = "\\</var/lib/bacula/cyswaps.workspaces" > } you could to File="\\|/path/to/your.script" if the script just prints the files to back up to stdout. Of course, you could do other things in the script as well, as long as they don't produce output, like actually creating some of the files to back up. You might end up with a situation where the backup level doesn't matter, for example if you create files in the script, they will always be new and thus picked up by jobs of any level. Arno >>>> When I attempted to run the script as a ClientRunBeforeJob and RunScript >>>> On the Client it would use whatever files were in the list at the time the >>>> Scheduler started the job not the files that were generated by the script. >>>> So basically the file list from the previous run was being backed up and >>>> not the list from the current run of the script. > > Clark > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users