пятница, 22 октября 2010 г.

Webacula 5.5 in progress

I started programming the new version 5.5 Webacula.
Note ! This is new version, which is in development branch only, the latest stable version - Webacula 5.0.2

In the new Webacula 5.5 I plan to implement a Bacula ACLs:
  • JobACL
  • ClientACL
  • StorageACL
  • PoolACL
  • FileSetACL
  • CommandACL
  • WhereACL
  • ScheduleACL not used in Webacula, not implemented
  • CatalogACL  not used in Webacula, not implemented

вторник, 19 октября 2010 г.

How to parse Bacula conf files

During development the prototype of the my new system (Webacula 5.5), I tried to parse the bacula-dir.conf.
However, this is probably not possible with simple regexp's.
It turned out that some applications, for example, Webmin does this with a regexp.

But they're doing it wrong!

For example, here is test configuration (which is written according to "Bacula Main Reference: Customizing the Configuration Files") contains no errors in terms of Bacula (I checked it) but it would be wrong parsed (I have not tested it, but I'm sure of it) by 3rd parties parsers (not native) :

# comment1
  # comment2

    c  o n s o l e
{ Name=name1; Password = "p; \\\a s s w o rd"; J o b A C L = *all\*
}Con sole { N a m e = "name 2"; Pass word = "password"; JobACL = job/\1, job2, job3
}

I.e. in other words to parse with regexp any Bacula configuration will be very difficult.

пятница, 8 октября 2010 г.

We are more than 1%

We are more than 1%

With this initiative, we intend to refute the statistics of certain press organizations that ensure that the use of GNU/Linux does not exceed 1% and has not advanced in recent years at the desktop.

If you want to help us accomplish this goal, please participate in our statistics!