On Monday 11 September 2006 15:33, Silver Salonen wrote:
> On Friday 08 September 2006 14:29, Silver Salonen wrote:
> > Hello.
> >
> > Is it possible to expand filelist with jobid without adding python
> scripting?
Yes, providing you are not running multiple simultaneous jobs that do the
substitution.
1. Use a RunBeforeJob with the jobid edited on the command of a script you
call. E.g.
RunBeforeJob = "/mnt/snapshots/setup-filelist %j"
2. The script will setup a file list in a fixed place --
say /mnt/snapshots/filelist.
3. Your FileSet File command will look something like:
File = "</mnt/snapshots/filelist"
> >
> > The problem is I'm backing up snapshots, but I think every job should
mount
> > their snapshots to unique directory (as several filesets would create
> > snapshots of the same partition, e.g. /usr), e.g. /mnt/snapshots/usr-%j
> > with "Client Run Before Job" script.
> >
> > The fileset in question would look like:
> > ====
> > FileSet {
> > Name = "usr-etc"
> > Include {
> > Options {
> > compression = GZIP
> > signature = SHA1
> > verify = pins1
> > }
> > File = "/mnt/snapshots/usr-%j/local/etc"
> > }
> > }
> > ====
> >
> > Is it possible to do smth like that in a simple way?
> >
> > Silver
>
> Actually the problem would be in files' paths - if a snapshot is mounted to
> some other directory, the files' path would differ and thus all the files
> would get backed up.
>
> It seems to me that there's a few ways to resolve this issue - to implement
> some transparent snapshot function, or to chroot all files
> to "/mnt/snapshots/usr-%j".
>
> Any thoughts?
>
> Silver
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users