John, Thanks for your reply. So what you are saying is I really don't have to recompile Bacula with "--with-bsrdir=PATH" instead I can change the path to the *.bsr files in the Bacula configuration directory. Instead of having:
bacula-dir.conf: Write Bootstrap = "/var/bacula/working/%c.bsr" I should change it to: Write Bootstrap = "/var/bacula/BootStrap/%c.bsr" so that the bootstrap file will not get saved in the working directory. How about the *.mail files in the working directory? Is it important to save them or is it o.k. if Bacula deletes them from the working directory every time the daemon restarts? Thank you. Uthra -----Original Message----- From: John Drescher [mailto:dresche...@gmail.com] Sent: Thursday, March 15, 2012 11:23 AM To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] Cc: bacula-users Subject: Re: [Bacula-users] bacula 5.2.6 working directory 2012/3/15 Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] <uthra.r....@nasa.gov>: > I compiled Bacula 5.2.6 with the following configure options: > > > > ./configure \ > > --prefix=/usr/local/bacula-5.2.6 \ > > --enable-smartalloc \ > > --with-postgresql \ > > --with-dump-email=uthra.r....@nasa.gov \ > > --with-job-email=uthra.r....@nasa.gov \ > > --with-smtp-host=mailhost.gsfc.nasa.gov \ > > --enable-bat \ > > --with-tcp-wrappers=/lib64 \ > > --with-working-dir=/var/bacula/working > > > > > > With the above configuration I realized that the *.bsr and *.mail > files in my /var/bacula/working directory gets deleted every time I > restart the daemons. My understanding is that we will need the .bsr > files for restore jobs right? > > > > Is there a way to avoid these files from getting deleted from the "working" > directory or do I have to recompile by adding another configure > options > like: > > > > --with-bsrdir=PATH > > > > Not sure what configure option to add to save "*.mail" in a seprate > directory from the working directory so it won't get deleted. > > Don't put the .bsr files in the working directory. Give them a full path. For example I put mine in /auto/backup/BootStrap John ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users