On 2006-05-01 00:45, Dan Langille wrote:
On 30 Apr 2006 at 11:02, steven potvin wrote:

hi i have been tring to enable compression and i have added
compression=gzip at the end of my bacula-dir.conf file. but when i try
to restart or start i get a error . can some one please indicate where
to place compression=gzip

This this search:

   http://www.google.com/search?q=site:bacula.org+gzip

I found this:

http://www.bacula.org/dev-manual/Basic_Volume_Management.html

On that page I found this example:



FileSet {
  Name = "Example FileSet"
  Include = compression=GZIP signature=SHA1 {
    /home/kern/bacula/bin
  }
}

Also in the above results:

http://www.bacula.org/dev-manual/Bacula_Freque_Asked_Questi.html

"You must add the compression=gzip option on your Include statement in the Director's configuration file."

Hope that helps

The syntax get me confused, since I believe the syntax was changed, but
now find that the user manual for 1.38.9 and the dev-manual use the syntax you wrote.
Why did I change the syntax when I upgraded from 1.34.6 to 1.38.5 ?
I must got it from some document I'm very lazy and don't change more then I think is needed :-)

If I look at my config from RCS I find this:

#  For Bacula release 1.34.6 (28 July 2004) -- solaris 5.8
....
FileSet {
  Name = "suse01"
  Ignore FileSet Changes = Yes
  Include = signature=MD5 aclsupport=yes {
/
/boot
/local
/extra
/suse10
/suse9.2
  }
  Exclude = { /proc /tmp}
}
....

But if I checkout the current config I get:

#  For Bacula release 1.38.5 (18 January 2006) -- solaris 5.8
....
FileSet {
  Name = "suse01"
  Ignore FileSet Changes = Yes
  Include {
    Options {
      signature=MD5
      aclsupport=yes
    }
    File= /
    File= /boot
    File= /local
    File= /extra
    File= /suse10
    File= /suse9.2
  }
    Exclude {
      File = /proc
      File = /tmp
    }
}

So it's depend on the version I guess if it chould be
Include = compression=GZIP signature=SHA1 {
or
Include { Options { compression=GZIP signature=SHA1 }

Do both syntax work, or have something changed back or what ?

/birre


-------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to