Install bacula on Windows XP

Source: Internet
Author: User
Tags debian server bacula

1. Download winbacula-2.4.1.exe

2. Install and select "full.

 

 

Select SQLite and input any of the three text boxes. You can modify the configuration file later. bacula uses the bsmtp command to send and receive emails,

For more information about how to run the email notification, see :)

 

 

3. Create a directory: C: \ TMP

This directory is used in the example job of bacula.

 

4. Create and initialize a database

 

 

5. Start three services and run bconsole

 

 

Next, let's take a look at the bacula help document, which is very detailed!

For more information, see Chapter 1 A brief tutorial of the help document.

 

Currently, bacula server can be installed in windows, but it should not be used in the production environment.

The client works. You have to test it first :)

 

Some references:

Http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html

Http://linux.chinaunix.net/docs/2006-08-03/2382.shtml

Http://www.debianhelp.co.uk/bacula1.htm

 

Understand pools, volumes and labels

Volume is a file on a tape or hard disk that stores backup data.

Pool: What if the size of the tape is 20 GB and the size of the tape to be backed up is GB? Of course, it is backed up to multiple tapes. Then, multiple tapes (volume) can form a pool.

The client backs up data to the pool. If a pool does not contain any volume, nothing can be backed up and there is no local backup.

 

Install the bacula server On Debian 4.0r3

1. Execute the installation command:

# Apt-Get install bacula-Server

 

2. Modify the server configuration file/etc/bacula/bacula-dir.conf, as shown in red:

 

Director {# define myself
Name = My-Dir
Dirport = 9101 # Where we listen for UA connections
Queryfile = "/etc/bacula/scripts/query. SQL"
Workingdirectory = "/var/lib/bacula"
Piddirectory = "/var/run/bacula"
Maximum concurrent jobs = 1
Password = "mypassword" # Console Password
Messages = daemon
Diraddress = 0.0.0.0
}

 

After editing the configuration file, remember to restart bacula with the command:

/Etc/init. d/bacula-Director restart

3. Then you can install bacula client on Windows. In the prompt box to display ctor information, the address is the IP address of the Debian server. The username is my-Dir and the password is mypassword. Generate the client profile testpc-fd.conf (used When configuring the bacula-dir.conf ). After the installation is complete, use bconsole or bwx-console to log on to my-Dir.

 

4. Change the server configuration file/etc/bacula/bacula-dir.conf again and add:

 

# Client (file services) to backup
Client {
Name = testpc
Address = XXX. XXX
Fdport = 9102
Catalog = mycatalog
Password = "myfdpassword" # password for filedaemon
File retention = 30 days #30 days
Job retention = 6 months # six months
Autoprune = yes # prune expired jobs/Files
}

Restart bacula-director.

Restore the backup file to another machine:

In the final confirmation step of executing the restore command, type MoD to enter the modification step and modify the client.

 

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.