Use Bacula for data backup and recovery

Source: Internet
Author: User
Tags bacula

I. Overview of bacula

1. bacula Components
Bacula is known as the best backup and restoration software in open-source software. It provides a backup solution for enterprise-level clients/servers, allowing you to manage file backup, recovery, and verification over the network. windows, Linux, and Unix.
A complete bacula backup system consists of the following five main components or services:
Directory: manages all backup, recovery, verification, and archiving transactions, and customizes backup and recovery file plans.
Storge: Specifies the physical backup media for storing and restoring file attributes and data.
File: The program installed on the backup machine. When the program is called by directory, it provides information about its operating system, File attributes, and data.
Console: the Console that communicates with directory.
Catalog: maintains indexes of all backup files and databases. Catalog allows system administrators or users to quickly locate and restore any files they need. The catula service is the main difference between Bacula and simple tar and bru backup commands, because catula maintains records of all Volume usage, running status of all tasks, and storage of all files, allow effective recovery and Volume management. Bacula currently supports three databases (postgresql, mysql, and sqlite). You must select one of them when installing Bacula.
Monitor: monitors the daemon processes of directory, file, and storage.
 

Correlation between components of bacula

2. Deployment Structure
Host Name IP address application role OS
Baculaserver 192.168.32.30 ctor, SD, Console rhel5.5
Baculaclient 192.168.32.31 FD rhel5.5
 
Ii. Installation
1. Install and initialize the bacula Server
1.1. Install bacula Software
[Root @ baculaserver ~] # Tar-zxf bacula-5.0.1.tar.gz
[Root @ baculaserver ~] # Cd bacula-5.0.1
[Root @ baculaserver bacula-5.0.1] #./configure -- prefix =/usr/local/bacula -- with-mysql
# Specify the installation path and database used
[Root @ baculaserver bacula-5.0.1] # make & make install
 
1.2 MySQL database Initialization
[Root @ baculaserver ~] # Cd/usr/local/bacula/etc
[Root @ baculaserver etc] #./grant_mysql_privileges
[Root @ baculaserver etc] #./create_mysql_database
[Root @ baculaserver etc] #./make_mysql_tables
# When the above three lines of mysql initialization are executed, the database administrator root performs the initialization by default. Therefore, you may need to enter the root password or set the root password to null.
 
2. Install the bacula Client
[Root @ baculaclient ~] # Tar-zxf bacula-5.0.1.tar.gz
[Root @ baculaclient ~] # Cd bacula-5.0.1
[Root @ baculaclient bacula-5.0.1] #./configure -- prefix =/usr/local/bacula -- enable-client-only
# Specify the installation path and install only client components
[Root @ baculaclient bacula-5.0.1] # make & make install

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.