ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Bacula and selinux...

    IT Discussion
    bacula selinux
    5
    15
    3.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      travisdh1
      last edited by

      Looking at different backup methods for the XS virtual machines, decided to take a look at bacula this morning. Everything went smooth except for selinux, which I didn't find a guide for. I'm assuming the bacula user needs to have read/write permissions to that part of the file system/mount point. Just started to trouble shoot this, and wanted to get it documented as no guides I saw have this information already.

      1 Reply Last reply Reply Quote 2
      • D
        DustinB3403
        last edited by DustinB3403

        Very nice, what clients (systems) do you have backing up currently with Bacula?

        T 1 Reply Last reply Reply Quote 0
        • T
          travisdh1 @DustinB3403
          last edited by

          @DustinB3403 said in Bacula and selinux...:

          Very nice, what clients do you have backing up currently with Bacula?

          Currently, just the local machine itself, but will be mostly CentOS. This would be in addition to XO images.

          D 1 Reply Last reply Reply Quote 0
          • D
            DustinB3403 @travisdh1
            last edited by

            @travisdh1 said in Bacula and selinux...:

            @DustinB3403 said in Bacula and selinux...:

            Very nice, what clients do you have backing up currently with Bacula?

            Currently, just the local machine itself, but will be mostly CentOS. This would be in addition to XO images.

            So file level and block level backups, very nice.

            All open source as well!

            1 Reply Last reply Reply Quote 1
            • T
              travisdh1
              last edited by

              http://www.pkill.info/linux/man/8-bacula_selinux/

              Trying turning off selinux for just the bacula processes.

              1 Reply Last reply Reply Quote 0
              • T
                travisdh1
                last edited by

                Yes, confirmed, restore job starts after running

                semanage permissive -a bacula_t
                

                I know I could make it much more secure by going through every available option for bacula in selinux, but the time it would take is quite large.

                1 Reply Last reply Reply Quote 0
                • T
                  travisdh1
                  last edited by

                  Now, just so I have notes to make a guide latter.

                  Initial Setup
                  https://www.digitalocean.com/community/tutorials/how-to-install-bacula-server-on-centos-7

                  SELinux Config
                  http://www.pkill.info/linux/man/8-bacula_selinux/

                  1 Reply Last reply Reply Quote 0
                  • T
                    travisdh1
                    last edited by

                    Also for bacula-web
                    http://www.bacula-web.org/download.html
                    http://www.chriscouture.com/installing-bacula-webmin-bacula-webon-centos-7/
                    http://www.bacula-web.org/docs/installing/downloading.html

                    And selinux @JaredBusch owncloud instructions, same thing
                    https://mangolassi.it/topic/6938/install-owncloud-8-x-on-centos-7/28

                    1 Reply Last reply Reply Quote 0
                    • S
                      stacksofplates
                      last edited by

                      I've been experimenting with Relax and Recover. I've used Amanda and it's nice because it just uses normal tools to do the backups. I haven't experimented with Bacula at all, is it worth the set up?

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        travisdh1 @stacksofplates
                        last edited by

                        @stacksofplates said in Bacula and selinux...:

                        I've been experimenting with Relax and Recover. I've used Amanda and it's nice because it just uses normal tools to do the backups. I haven't experimented with Bacula at all, is it worth the set up?

                        I don't know yet. Honestly haven't found an interface for it I like yet. All of your setup is within config files at the command line. I suppose that's ok if you're environment doesn't change much if ever, but even my work environment is in a constant state of change. The only experience I have with it so far is what I did today tho, so I haven't really dived into the management side of it yet besides testing the backup and restore of the machine it's self.

                        bconsole seems to be the tool, I'm going to determine if it stays or goes tomorrow based on how easily I can learn to use that piece.

                        The bacula-web client looks like a great status dashboard, but that's all it is, a status display.

                        1 Reply Last reply Reply Quote 1
                        • S
                          syko24
                          last edited by

                          I don't know much about Bacula but when I was researching a couple months ago I came across Bareos which is a fork of Bacula. Not sure if that is the new direction for the software.

                          www.bareos.org

                          D 1 Reply Last reply Reply Quote 3
                          • D
                            DustinB3403 @syko24
                            last edited by DustinB3403

                            @syko24 said in Bacula and selinux...:

                            I don't know much about Bacula but when I was researching a couple months ago I came across Bareos which is a fork of Bacula. Not sure if that is the new direction for the software.

                            www.bareos.org

                            Does bareos come with a built in web console? I know bacula didn't and required you to chose one of the several choices, and then set it up.

                            Which made the solution that much more difficult to "sell to management".

                            S 1 Reply Last reply Reply Quote 1
                            • S
                              syko24 @DustinB3403
                              last edited by

                              @DustinB3403

                              Again I didn't get too far with it but they appear to have their own web ui.

                              https://www.bareos.org/en/bareos-webui.html

                              S 1 Reply Last reply Reply Quote 1
                              • S
                                scottalanmiller @syko24
                                last edited by

                                @syko24 said in Bacula and selinux...:

                                @DustinB3403

                                Again I didn't get too far with it but they appear to have their own web ui.

                                https://www.bareos.org/en/bareos-webui.html

                                Maybe a thread looking at that product would make sense. I don't know it but am interested to see what they are bringing to the table that make forking Bacula make sense.

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  travisdh1 @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in Bacula and selinux...:

                                  @syko24 said in Bacula and selinux...:

                                  @DustinB3403

                                  Again I didn't get too far with it but they appear to have their own web ui.

                                  https://www.bareos.org/en/bareos-webui.html

                                  Maybe a thread looking at that product would make sense. I don't know it but am interested to see what they are bringing to the table that make forking Bacula make sense.

                                  I agree, and I'll start another one after lunch once I get the basic platform setup. Gotta love a good base image.

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post