Chinaunix首页 | 论坛 | 博客
  • 博客访问: 177370
  • 博文数量: 32
  • 博客积分: 3453
  • 博客等级: 上尉
  • 技术积分: 244
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-04 21:27
文章分类
文章存档

2011年(8)

2010年(24)

分类: 服务器与存储

2010-04-26 01:41:22

1.2 Bacula的组件和服务

 

Bacula is made up of the following five major components or services: Director, Console, File, Storage, and Monitor services.

Bacula是由以下五个主要部分或服务组成:Director, Console, File, Storage, and Monitor services。

 


 

Bacula Director

The Bacula Director service is the program that supervises all the backup,restore, verify and archive operations. The system administrator uses the Bacula Director to schedule backups and to recover files. For more details see the Director Services Daemon Design Document in the Bacula Developer’s Guide. The Director runs as a daemon (or service) in the background.

Bacula Director服务是一个管理程序,管理所有的备份,恢复,验证和存档事务。系统管理员使用Bacula Director制定备份和恢复文件的计划。欲了解更多细节,详见本书Director章节。Director作为一个守护进程(或服务)在后台运行。

 

The Bacula Console service is the program that allows the administrator or user to communicate with the Bacula Director Currently, the Bacula Console is available in three versions: text-based console interface, GNOME-based interface, and a wxWidgets graphical interface. The first and simplest is to run the Console program in a shell window (i.e. TTY interface). Most system administrators will find this completely adequate. The second version is a GNOME GUI interface that is far from complete, but quite functional as it has most the capabilities of the shell Console. The third version is a wxWidgets GUI with an interactive file restore. It also has most of the capabilities of the shell console, allows command completion with tabulation,and gives you instant help about the command you are typing. For more details see the Bacula Console Design Document.

 

Bacula控制台服务程序的作用是,让管理员或用户与Bacula Director通讯, Bacula控制台有三种版本:基于文本的控制台界面, GNOME的界面,和wxWidgets的图形界面。首先,最简单的是在shell窗口(即终端接口)运行控制台程序 ,能够满足大多数系统管理员的需要。第二个版本是GNOME的图形界面,还远远没有完成,但他具有可视化界面,非常使用。第三个版本是基于wxWidgets、具有文本交互的图形用户界面。它还拥有shell文本控制台中的功能,可以通过文本列举命令的选项,并为您提供输入提示。欲了解更多细节详见本书的Bacula控制台设计章节。

 

Bacula file

The Bacula File service (also known as the Client program) is the software program that is installed on the machine to be backed up. It is specific to the operating system on which it runs and is responsible for providing the file attributes and data when requested by the Director. The File services are also responsible for the file system dependent part of restoring the file attributes and data during a recovery operation. For more details see the File Services Daemon Design Document in the Bacula Developer’s Guide. This program runs as a daemon on the machine to be backed up. In addition to Unix/Linux File daemons, there is a Windows File daemon (normally distributed in binary format). The Windows File daemon runs on currentWindows versions (NT, 2000, XP, 2003, and possibly Me and 98).

 

Bacula File 服务(也称为客户端程序)是安装在被备份机器上的程序。当被Director调用的时候,它提供详尽的关于他所运行的操作系统、文件属性和数据等资料。在恢复的时候,Bacula File还负责恢复文件系统的的文件属性和数据。如需详细资料请参阅本书的File Services Daemon Design章节 。本程序作为守护进程在机器后台运行。除了Unix 、 Linux文件的后台程序,还有一个Windows系统的守护进程(通常为二进制格式) 。 Windows文件守护进程目前能运行的Windows版本为NT, 2000, XP, 2003, Me和98 还需测试。

 

Bacula storage

The Bacula Storage services consist of the software programs that perform the storage and recovery of the file attributes and data to the physical backup media or volumes. In other words, the Storage daemon is responsible for reading and writing your tapes (or other storage media, e.g. files). For more details see the Storage Services Daemon Design Document in the Bacula Developer’s Guide. The Storage services runs as a daemon on the machine that has the backup device (usually a tape drive).

 

Bacula Storage服务用于指定进行存储和恢复文件属性和数据的物理备份媒体或Volume。换句话说,Storage守护负责读写磁带(或其他存储媒体,例如文件系统) 。欲了解更多细节详见本书Storage Services Daemon Design 章节。存储服务作为一个守护程序运行在具有备份设备(通常是一个磁带驱动器)的备份机器上 。

 

The Catalog services are comprised of the software programs responsible for maintaining the file indexes and volume databases for all files backed up. The Catalog services permit the system administrator or user to quickly locate and restore any desired file. The Catalog services sets Bacula apart from simple backup programs like tar and bru, because the catalog maintains a record of all Volumes used, all Jobs run, and all Files saved, permitting efficient restoration and Volume management. Bacula currently supports three different databases, MySQL, PostgreSQL, and SQLite, one of which must be chosen when building Bacula.

 

Catalog服务程序负责维护所有被备份文件的文件索引和(Volume的)数据库。Catalog服务允许系统管理员或用户能够快速地找到并恢复任何需要的档案。catalog服务是Bacula和简单的tar,bru备份命令的主要区别,因为catalog维护所有Volume使用情况的记录,所有任务的运行情况,和所有档案的保存情况,允许有效的恢复和Volume管理。 Bacula目前支持三个不同数据库, MySQL和PostgreSQL ,和SQLite ,在安装Bacula时,必须选择其中之一。

 

The three SQL databases currently supported (MySQL, PostgreSQL or SQLite) provide quite a number of features, including rapid indexing, arbitrary queries, and security. Although the Bacula project plans to support other major SQL databases, the current Bacula implementation interfaces

only to MySQL, PostgreSQL and SQLite. For the technical and porting details see the Catalog Services Design Document in the developer’s documented.

 

目前支持的这三个SQL数据库( MySQL和PostgreSQL或SQLite )提供相同的功能,包括快速检索,查询与安全。虽然Bacula项目计划将支持其他SQL数据库,但目前Bacula只使用了MySQL和PostgreSQL和SQLite 。对于技术和移植细节详见本书的catalog服务设计章节。

 

The packages for MySQL and PostgreSQL are available for several operating systems. Alternatively, installing from the source is quite easy, see the Installing and Configuring MySQL chapter of this document for the details. For more information on MySQL, please see: Or see the Installing and Configuring PostgreSQL chapter of this document for the details. For more information on PostgreSQL, please see:.

 

MySQL和PostgreSQL可用于多个操作系统。另外,如果从源文件安装MySQL,请参阅本书的安装和配置MySQL章节,有详细的说明。欲了解更多MySQL的信息 ,请参阅: 。如果从源文件安装PostgreSQL,请参阅本书安装和配置PostgreSQL章节,有详细的说明。欲了解更多有关PostgreSQL的信息,请参阅: 。

 

Configuring and building SQLite is even easier. For the details of configuring SQLite, please see the Installing and Configuring SQLite chapter of this document.

如果使用SQLite将更容易配置和安装。对于配置SQLite的细节,请参阅本书安装和配置SQLite章节。

 

Bacula Monitor

A Bacula Monitor service is the program that allows the administrator or user to watch current status of Bacula Directors, Bacula File Daemons and Bacula Storage Daemons. Currently, only a GTK+ version is available, which works with GNOME, KDE, or any window manager that supports the FreeDesktop.org system tray standard.

 

Bacula Monitor 服务程序,允许管理员或用户监控Bacula Directors, Bacula File Daemons and Bacula Storage Daemon守护进程的运行状况。目前,只有基于GTK +版本,适用于GNOME, KDE,或支持FreeDesktop.org系统托盘的标准任何可图形窗口。

 

To perform a successful save or restore, the following four daemons must beconfigured and running: the Director daemon, the File daemon, the Storage daemon, and the Catalog service (MySQL, PostgreSQL or SQLite).

 

为了运行一个成功的储存或还原,以下四个守护进程必须配置和运行: Director, File,Storage守护进程,以及catalog服务( MySQL和PostgreSQL或SQLite )。

阅读(1691) | 评论(0) | 转发(0) |
0

上一篇:1.1 谁需要bacula

下一篇:1.3 Bacula的配置

给主人留下些什么吧!~~