Difference between revisions of "Bacula"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(New page: ==Overview== category:softwareBacula is a sophisticated open source backup management tool available for Linux and Windows.{{seed}} ==Links== ===Offic...)
 
(finally figured out how to do this; moved earlier notes to a "log"-style subpage)
Line 1: Line 1:
 
==Overview==
 
==Overview==
 
[[category:software]][[Bacula]] is a sophisticated [[open source]] backup management tool available for [[Linux]] and [[Microsoft Windows|Windows]].{{seed}}
 
[[category:software]][[Bacula]] is a sophisticated [[open source]] backup management tool available for [[Linux]] and [[Microsoft Windows|Windows]].{{seed}}
 +
==Terminology==
 +
The "director" is the thing which runs a backup; everything else (storage, files to backup, database) may be on the same machine or different machines.
 +
 +
Clients (aka "file daemons") need to add accounts for each director they authorize to contact them; this is referred to as "adding a director" on the client.
 +
==Setup==
 +
If you are happier with [[GUI]]-based configuration, you can use [[Webmin]] to set up Bacula. The following instructions assume you have Webmin installed on two machines:
 +
* '''machine A''' is the machine "directing" the backup; it may or may not have its own storage, database, etc. (These can also be on other machines which it connects to.) The full "Bacula" package should be installed here.
 +
* '''machine B''' has files you want to back up; it will need the "bacula-client" package installed.
 +
 +
Steps for connecting a client to the director:
 +
# On B, under "File Daemon Configuration", get B's "File daemon name" (e.g. "B-fd")
 +
# On A, under "Backup Clients", add a new client called "B-fd" (make up the password)
 +
# On A, under "Director Configuration", get A's "Director name" (e.g. "A-dir")
 +
# On B, under "File Daemon Directors", add a new director called "A-dir", using the same password from step 2
 +
# You can verify that this worked from A by checking "Client Status" (under the "Backup and Restore Actions" section). The status should come back in less than a second. If it takes longer than that, it is probably having trouble connecting, and will show an error message in 10-20 seconds; just wait a bit to be sure.
 
==Links==
 
==Links==
 
===Official===
 
===Official===
Line 6: Line 21:
 
===Reference===
 
===Reference===
 
* {{wikipedia}}
 
* {{wikipedia}}
==Notes==
+
==Encounters==
===Woozle says===
+
* [[/woozle]]
I'm damned if I can figure out how to get this thing to run. "bat" can't connect to localhost because "bacula-director" won't run; bacula-director won't run because /etc/bacula/bacula-dir.conf hasn't been set up, which requires jobs to be created. I can't create jobs because I can't get any of the console tools to run (bat, bconsole, etc.) because bacula-director isn't running. Are you supposed to manually enter job information, or what? Where is this explained?
 
 
 
Sophisticated tools with lame interfaces tick me off. There should be a program you run which lets you set things up through a GUI, or at least an interactive process where you don't have to understand the arcane requirements of some application's conf file. (Also the fact that it apparently has its own open-but-unique storage format seems kind of stupid; what is the benefit?) --[[User:Woozle|Woozle]] 11:09, 24 February 2009 (EST)
 

Revision as of 20:59, 19 March 2010

Overview

Bacula is a sophisticated open source backup management tool available for Linux and Windows.

This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!

Terminology

The "director" is the thing which runs a backup; everything else (storage, files to backup, database) may be on the same machine or different machines.

Clients (aka "file daemons") need to add accounts for each director they authorize to contact them; this is referred to as "adding a director" on the client.

Setup

If you are happier with GUI-based configuration, you can use Webmin to set up Bacula. The following instructions assume you have Webmin installed on two machines:

  • machine A is the machine "directing" the backup; it may or may not have its own storage, database, etc. (These can also be on other machines which it connects to.) The full "Bacula" package should be installed here.
  • machine B has files you want to back up; it will need the "bacula-client" package installed.

Steps for connecting a client to the director:

  1. On B, under "File Daemon Configuration", get B's "File daemon name" (e.g. "B-fd")
  2. On A, under "Backup Clients", add a new client called "B-fd" (make up the password)
  3. On A, under "Director Configuration", get A's "Director name" (e.g. "A-dir")
  4. On B, under "File Daemon Directors", add a new director called "A-dir", using the same password from step 2
  5. You can verify that this worked from A by checking "Client Status" (under the "Backup and Restore Actions" section). The status should come back in less than a second. If it takes longer than that, it is probably having trouble connecting, and will show an error message in 10-20 seconds; just wait a bit to be sure.

Links

Official

Reference

Encounters