Total Pageviews

Monday, 29 May 2023

跨平台的备份管理工具 Bacula



Bacula是一款开源跨平台备份管理工具,系统管理员可用来管理备份,恢复和核查在网络上的计算机数据。 可备份到不同类型的媒体,包括磁带和磁盘。支持如压缩,转移或备份计算机数据,或目录服务. 完全可以代替商业软件,如Legato Networker. ARCserveIT, Arkeia, PerfectBackup+ .

Bacula是C/S 架构的高效备份程序,是个易于使用的网络解决方案,具有很大灵活性,同时提供许多先进的存储管理功 能,可以容易找到和恢复丢失或损坏的文件。采用模块化设计,具有很好的扩展性。

https://www.bacula.org/
https://sourceforge.net/projects/bacula/files/bacula/

https://github.com/naszaklasa/bacula
https://github.com/tyler-dane/bacula
https://github.com/wanderleihuttel/bacula-utils

https://github.com/tim4dev/webacula

https://github.com/brodul/ansible-bacula
https://github.com/voxpupuli-archive/puppet-bacula
https://github.com/netmanagers/puppet-bacula

------------------------------------------------------

Your best bet to get Bacula compiled and running is
to read the online manual at:

  http://www.bacula.org

You will save yourself a lot of pain if you read
the manual -- it is online at the above site.
Barring reading the manual, you might try the
following:

To Configure it:

        CFLAGS="-g -O2" \
          ./configure \
            --sbindir=$HOME/bacula/bin \
            --sysconfdir=$HOME/bacula/bin \
            --with-pid-dir=$HOME/bacula/bin/working \
            --with-subsys-dir=$HOME/bacula/bin/working \
            --enable-smartalloc \
            --with-mysql \
            --with-working-dir=$HOME/bacula/bin/working \
            --with-dump-email=your@address.com \
            --with-job-email=your@address.com \
            --with-smtp-host=localhost


Build Bacula:

   make

   If you are doing a port, there should be no errors.  The most
   likely source of errors will probably come in the src/stored
   directory in time.c or dev.c.  There may also be problems in
   lib/signal.c as I currently pull in all Linux signals, some of
   which may not be available on your system.

To create the database:

   src/cats/make_bacula_tables

To install:

   make install

To start it:

   cd $HOME/bacula/bin
   ./bacula start

To start it (as a developer). This is not appropriate if you
are installing Bacula.

   ./startit
   ./console (or ./gnome-console)

To stop it:

  ./stopit

Well, it is all just a bit more complicated than that,
but you should have the idea.

Be sure you read the chapter about testing your tape drive!
Don't waste a lot of time setting up and running Bacula, if
your drive is not supported.

FreeBSD users, pay special attention to the Device configuration
parameters needed to deal with FreeBSD tape drivers.
from https://github.com/naszaklasa/bacula 



No comments:

Post a Comment