Hello Dan, czw., 24 sty 2019 o 14:28 Dan Langille <d...@langille.org> napisał(a):
> On Jan 24, 2019, at 5:30 AM, Radosław Korzeniewski < > rados...@korzeniewski.net> wrote: > > Hello Dan, > > śr., 23 sty 2019 o 23:59 Dan Langille <d...@langille.org> napisał(a): > >> On Jan 23, 2019, at 4:56 PM, Radosław Korzeniewski < >> rados...@korzeniewski.net> wrote: >> >> >>> Does IBAdmin work with a readonly connection to the Catalog database? >>> >>> >> No. >> >> >> What features will be available with a read-only connection? >> >> > Why do you need a read-only database? > > > Isolation. > What do you want to isolate and from what? > Bacula manipulates the Catalog. IBAdmin reports upon it. > I do not understand it. > Why would it need to modify my Catalog? > Could you be more descriptive what a Catalog is for you? I assume the Catalog is the database structure used by Bacula Director to perform its operations. In this case the only catalog manipulation (update) the IBAdmin is doing is job and volume comment field update. All other write operations are performed using IBAdmin specific objects structure which is not a part of the Catalog. > > All management is based on database objects. When you want to create or > change any configuration it will change/update database objects for you. > When you log in your session is stored in a database. These are the most > basic operations which require read-write access to database objects. > > > OK, but all of this must be in the Bacula Catalog? > I assume the Bacula Catalog are all the objects used by Bacula Director to perform its operations, so, no. IBAdmin does not store its configuration data in Bacula Catalog but stores it in the same Postgresql database. > If so, why? Why not put IBAdmin-specific data in a separate database? > What is funny, when I designed IBAdmin I had a lot of opposite questions. :) Why do you need a separate database for IBAdmin data when you already have one? You will have to connect to it anyway. :) Do you think an average Bacula user or even a newbie who have a serious problems to setup a basic Bacula installation (just check bacula-users mailing list) will be happy when he has to setup an another database just to use a simple IBAdmin when all other Bacula GUIs do not require it? I think it is impossible to make everybody happy. :) > > I assume you want to test it, right? > > > Yes, I do, I am interested, but not if I must give it write access to my > Bacula database. > Do you use any Bacula GUI except BAT? Do you know that all of them require the same database write access as IBAdmin does. >From technical point of view it is possible to redesign IBAdmin to use multiple databases, but it requires some development which (in my opinion) has no real value. If you think this kind of separation has any real value other then "do separation - it is good" I'll be happy if you will share it with me. best regards -- Radosław Korzeniewski rados...@korzeniewski.net
_______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel