You need to login to post comments! I got tired of trying to remember all this stuff so I put it in a wiki, but dirtbag spammers constantly beat on it, so I'm trying a blog format. Use it if you find it useful Got questions or subjects for new howto's? Drop me a line here. Bacula server setup howto with Webacula frontend GUI for management This setup works on Debian Squeeze, but should work on others with little modification.
If you install Bacula on more than one system, and they are identical, you can simply transfer the source tree to that other system and do a "make install". However, if there are differences in the libraries or OS versions, or you wish to install on a different OS, you should start from the original compress tar file. If you do transfer the source tree, and you have previously done a. This is because the GNU autoconf tools cache the configuration, and if you re-use a configuration for a Linux machine on a Solaris, you can be sure your build will fail.
To avoid this, as mentioned above, either start from the tar file, or do a "make distclean". In general, you will probably want to supply a more complicated configure statement to ensure that the modules you want are built and that everything is placed into the correct directories.
The advantage of using the above configuration to start is that everything will be put into a single directory, which you can later delete once you have run the examples in the next chapter and learned how Bacula works. In addition, the above can be installed and run as non-root. For the developer's convenience, I have added a defaultconfig script to the examples directory. You should find additional useful examples in this directory as well.
The -- enable-conio or -- enable-readline options are useful because they provide a command line history, editing capability for the Console program and tab completion on various option.
If you have included either option in the build, either the termcap or the ncurses package will be needed to link. If Bacula's configure process finds the ncurses libraries, it will use those rather than the termcap library. On some systems, such as SuSE, the termcap library is not in the standard library directory. As a consequence, the option may be disabled or you may get an error message such as:.
The same library requirements apply if you wish to use the readline subroutines for command line editing, history and tab completion or if you are using a MySQL library that requires encryption.
If you need encryption, you can either export the appropriate additional library options as shown above or, alternatively, you can include them directly on the. On some systems such as Mandriva, readline tends to gobble up prompts, which makes it totally useless. If this happens to you, use the disable option, or if you are using version 1. You will still need either the termcap or the ncurses library, but it is unlikely that the conio package will gobble up prompts.
The code within Bacula remains, so it should be usable, and if users submit patches for it, we will be happy to apply them. However, due to the fact that each version of readline seems to be incompatible with previous versions, and that there are significant differences between systems, we can no longer afford to support it.
MySQL is a high quality database that is very efficient and is suitable for small and medium sized installation up to 2,, files per job. It requires a certain knowledge to install and maintain. PostgreSQL is suitable for any sized installation some sites have much more than 1 billion objects in the Catalog. Bacula uses many optimized PostgreSQL functions, and can run more than 10 time faster on jobs having millions of files than MySQL Specially in during restore, accurate mode, bvfs queries and when the database server is not on the same host than the Director.
There are a number of options and important considerations given below that you can skip for the moment if you have not had any problems building Bacula with a simplified configuration as shown above. If the. Alternatively, if the package is installed in a non-standard location as far as Bacula is concerned , then there is generally an option listed below or listed with ".
In other cases, there are options that will permit you to disable to feature e. If you want to dive right into it, we recommend you skip to the next chapter, and run the example program.
It will teach you a lot about Bacula and as an example can be installed into a single directory for easy removal and run as non-root. If you have any problems or when you want to do a real installation, come back to this chapter and read the details presented below. The following command line options are available for configure to customize your installation. However, we find this a somewhat vague concept, and so we have not implemented this option other than to use any explicit prefix that you may define.
If you do not explicitly specify a prefix, Bacula's configure routine will not use the default value that. As a consequence, we suggest that you avoid it. We have provided options that allow you to explicitly specify the directories for each of the major categories of installation files. If you wish the man page to be installed in a different location, use this option to specify the path. If it is not available on your system, you can download the depkgs-qt package from the Bacula Source Forge download area and build it.
In particular to use the Qt4 built by depkgs-qt you must source the file qt4-paths. To verify that your PostgreSQL is thread safe, you can try this change the path to point to your particular installed libpq. The above example shows a libpq that contains the required function PQputCopyData and is thread enabled i. If you do not see the mutex entries, then thread support has not been enabled.
Running with Batch Insert turned on is recommended because it can significantly improve attribute insertion times. However, it does put a significantly larger part of the work on your SQL engine, so you may need to pay more attention to tuning it.
For MySQL, the location is set in my. You may also want to increase the memory available to your SQL engine to further improve performance during Batch Inserts. When linking a static binary, the linker needs the static versions of all the libraries that are used, so frequently users will experience linking errors when this option is used.
The first thing to do is to make sure you have the static glibc library installed on your system. The second thing to do is the make sure you do not specify -openssl or -with-python on your. You may be able to enable those options, but you will need to load additional static libraries. Note, for Bacula to be configured properly, you must specify one of the two database options supported. That is: -with-postgresql, otherwise the. If you get errors linking, you need to load the development libraries, or you need to disable SSL by setting without-openssl.
On SuSE, the libwrappers libraries needed to link Bacula are contained in the tcpd-devel package. This option is designed primarily for use in regression testing. Most users can safely ignore this option. Note, many other options are presented when you do a.
If you want to install Bacula in an installation directory rather than run it out of the build directory as developers will do most of the time , you should also include the -- sbindir and -- sysconfdir options with appropriate paths. Skip to content January 13, Bacula server setup howto with Webacula frontend GUI for management This setup works on Debian Squeeze, but should work on others with little modification.
This is the thing that tells the Director what storage you want to use, and how to access and use it, this runs on your backup server bacula FD File Director is the client that runs on your remote laptop that allows Bacula to go get your backups and transfer them to the backup server.
0コメント