暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

话说bacula备份软件

原创 柏鹏先 2022-01-03
4073

image.png
Bacula被誉为开源平台下最优秀的网络备份工具之一,功能之强大,完全可以和商用备份软件相媲美。Bacula是一款开源的跨平台网络备份工具,提供基于企业级的CS的备份解决方案,可以对数据进行备份、恢复、以及完整性校验。

image.png

Bacula Applications
image.png

Bacula Configuration
image.png
Interactions between Bacula Services
image.png
Bacula各组件说明
Baula有三个服务,分别是bacula-sd管理storage、bacula-fd为bacula客户端、bacula-dir为bacula的核心组件机director。
Bacula默认是通过bconsole管理的,bconsole为命令行模式,对bacula进行常规的操作。
bacula-gui为bacula方出的web端 bacula管理工具;
Bacula-web为第三方出的web端bacula监控报表工具。
各配置文件关系
image.png
配置文件关联图
模块 配置文件 说明
Console bconsole.conf 与 Director 接口的程序,控制Bacula。定义可连接的director连接信息;
Director bacula-dir.conf Bacula全局配置文件,调度和指挥所有 Bacula 操作;
File daemon bacula-fd.conf 客户端配置文件,定义客户端名称密码等;
Storage daemon bacula-sd.conf 存储配置文件,定义备份存储位置等;
File Autochanger mtx-changer.conf 自动更换支持读写磁带
image.png关系图
bacula服务端有如下配置文件:
bconsole.conf:bconsole的配置文件,定义可连接的director连接信息。即bconsole可以管理那些director;
bacula-dir.conf:director的配置文件,是bacula最主要的配置文件,定义了备份相关的所有配置;
bacula-fd.conf:为客户端的配置文件,定义了客户端的密码、客户端名称等配置;
bacula-sd.conf:为存储配置文件,定义了备份存储位置。
其中关系如图所示:
image.png
各配置文件之间主要对象的关系
image.png
工作流程
image.png
Bacula WEB
image.png
image.png
image.png
image.png
image.png
image.png
Bacula官方列举的与主流备份方案的技术对比参考:
image.png

11.0.0新特性
Catalog Performance Improvements
There is a new Bacula database format (schema) in this version of Bacula that eliminates the FileName table by placing the Filename into the File record of the File table. This substantiallly improves performance, particularly for large databases.

The update_xxx_catalog script will automatically update the Bacula database format, but you should realize that for very large databases (greater than 50GB), it may take some time and it will double the size of the database on disk during the migration.

This database format change can provide very significant improvements in the speed of metadata insertion into the database, and in some cases (backup of large email servers) can significantly reduce the size of the database.

Automatic TLS Encryption
Starting with Bacula 11.0, all daemons and consoles are now using TLS automatically for all network communications. It is no longer required to setup TLS keys in advance. It is possible to turn off automatic TLS PSK encryption using the TLS PSK Enable directive.

Client Behind NAT Support with the Connect To Director Directive
A Client can now initiate a connection to the Director (permanently or scheduled) to allow the Director to communicate to the Client when a new Job is started or a bconsole command such as status client or estimate is issued.
image.png
image.png
image.png
Continuous Data Protection Plugin
image.png
The Bacula CDP feature is composed of two components: An application (cdp-client or tray-monitor) that will monitor a set of directories configured by the user, and a Bacula FileDaemon plugin responsible to secure the data using Bacula infrastructure.
The user application (cdp-client or tray-monitor) is responsible for monitoring files and directories. When a modification is detected, the new data is copied into a spool directory. At a regular interval, a Bacula backup job will contact the FileDaemon and will save all the files archived by the cdp-client. The locally copied data can be restored at any time without a network connection to the Director.
image.png
结束语

越努力,越幸运!

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论