Intro (Nuova release 2.26)
Bacula è un programma client/server per backup in rete, può salvare su tape o su file. Il Programma fornisce moltissime opzioni ed è relativamente complesso, in questa introduzione ho riassunto i concetti fondamentali ma per usarlo correttamente è indispensabile studiare la documentazione completa.
E’ formato da:
- Due demoni per il server:
- Un demone per i client
- File: invia e riceve i dati per il client
- Un programma per gestire il Director:
- Bconsole
Per poter funzionare sul server deve essere presente un database manager che puè essere mysql, sqllite o postgresql.
I salvataggi su hard-disk vengono eseguiti su file, ogni file prende il nome di Volume, un insieme di Volume è un Pool. Per gestire meglio i file per ogni Pool possono essere scelte varie opzioni (come il tempo di vita dei file salvati nel Volume) che influenzeranno tutti i Volume che il Pool contiene. Tutte le configurazioni dei Pool devono essere inserite nel file bacula-dir.conf. Un opzione fondamentale è quella di attivare per i Pool:
Use Volume Once = yes
In questa maniera verrà salvato un solo Job per ogni volume e sarà più semplice mantenere in controllo dello spazio occupato. Avere questa opzione disabilitata può essere utile se si usa dei tape invece dell’hard-disk.
- bacula-dir.conf: Configurazione del Director, è il file di configurazione più usato, qui dovrete definire
- Director: Configurazioni generali del director. Contiene anche la password da inserire nella configurazione di BConsole per permettergli di accedere al Director
- Job: Fileset (quali file salvare), da quale client, se è un backup totale o incrementale, in quale Pool salvare i file e lo shedule
- Fileset: Quali file o directory devono essere salvate e eventualmente quali devono essere escluse. Qui si può anche abilitare la compressione che sarà eseguita dal client per ridurre il traffico di rete.
- Schedule: Quando eseguire i backup
- Client: I client a cui ha acceso il Director, qui bisogna inserire la password del client.
- Storage: Demone di Storage a cui il Director può accedere. Anche qui serve la password.
- Pool: Pool gestiti da Director, si può impostare il tempo di vita dei dati, se devono essere riciclati automaticamente e quanti Job ogni Volume può contenere (il default è finché non esaurisce lo spazio quindi per salvataggi su disco è altamente sconsigliato)
- bconsole.conf: Configurazione della console, contiene solo le impostazioni del Director a cui la console può accedere. Qui va inserita la password contenuta nella configurazione generale del Director.
- bacula-sd.conf: Configurazione dello Storage Daemon, contiene i Director che vi possono accedere e le impostazioni del dispositivo su cui salvare i file. Se desiderate cambiare le impostazioni di default per la directory ricordatevi che quest’ultima deve appartenere all’utente o al gruppo bacula.
BConsole
Dalla BConsole potete visualizzare lo stato dei vari demoni e dei backup, lanciare dei job o dei restore e eseguire la label dei volumi. Tutti i Job e i Pool però dovranno essere defini prima nel file di configurazione del Director.
Comandi fondamentali:
- status dir|storage|client vi informa dello stato del director o dello storage o dei client
- run vi permette di lanciare un job
- restore vi permette di eseguire il restore di un backup. Una volta selezionato il job da recuperare vi verrà chiesto si scegliere quali file recuperare, per selezionarli tutti mark *. Nel menù di conferma se digitate mod potrete scegliere la directory in cui salvare i file o se reinserirli nella posizione originale.
- label vi permette di creare un volume e di associarlo ad un Pool. Se adotterete una correta politica di riciclo dovrete usarlo solo quando configurate il programma la prima volta.
-
Documentazione & Download
Potete trovare la documentazione completa e i sorgenti a questo indirizzo http://www.bacula.org/
Releases e patches
- Linux systems (built and tested on CentOS 5).
- Most flavors of Linux (Gentoo, Red Hat, Fedora, Mandriva, Debian, OpenSuSE, Ubuntu, Kubuntu, ...).
- Solaris various versions.
- FreeBSD (tape driver supported in 1.30 -- for FreeBSD older than version 5.0, please see some important considerations in the Tape Modes on FreeBSD section of the Tape Testing chapter of this manual.)
- Windows (Win98/Me, WinNT/2K/XP, Vista) Client (File daemon) binaries.
- The Windows servers (Director and Storage daemon) are available in the binary Client installer. The are reported to work in many cases. However they are NOT supported.
- MacOS X/Darwin (see http://fink.sourceforge.net/ for obtaining the packages)
- OpenBSD Client (File daemon).
- Irix Client (File daemon).
- Tru64
- Bacula is said to work on other systems (AIX, BSDI, HPUX, NetBSD, ...) but we do not have first hand knowledge of these systems.
- RHat 7.2 AS2, AS3, AS4, RHEL5, Fedora Core 2,3,4,5,6,7 SuSE SLES 7,8,9,10,10.1,10.2,10.3 and Debian Woody and Sarge Linux on S/390 and Linux on zSeries.
- See the Porting chapter of the Bacula Developer's Guide for information on porting to other systems.
- If you have a older Red Hat Linux system running the 2.4.x kernel and you have the directory /lib/tls installed on your system (normally by default), bacula will NOT run. This is the new pthreads library and it is defective. You must remove this directory prior to running Bacula, or you can simply change the name to /lib/tls-broken) then you must reboot your machine (one of the few times Linux must be rebooted). If you are not able to remove/rename /lib/tls, an alternative is to set the environment variable "LD_ASSUME_KERNEL=2.4.19" prior to executing Bacula. For this option, you do not need to reboot, and all programs other than Bacula will continue to use /lib/tls.
- The above mentioned /lib/tls problem does not occur with Linux 2.6 kernels.
- Bacula has been compiled and run on OpenSuSE Linux, FreeBSD, and Solaris systems.
- It requires GNU C++ version 2.95 or higher to compile. You can try with other compilers and older versions, but you are on your own. We have successfully compiled and used Bacula using GNU C++ version 4.1.3. Note, in general GNU C++ is a separate package (e.g. RPM) from GNU C, so you need them both loaded. On Red Hat systems, the C++ compiler is part of the gcc-c++ rpm package.
- There are certain third party packages that Bacula may need. Except for MySQL and PostgreSQL, they can all be found in the depkgs and depkgs1 releases. However, most current Linux and FreeBSD systems provide these as system packages.
- The minimum versions for each of the databases supported by Bacula are:
- MySQL 4.1
- PostgreSQL 7.4
- SQLite 2.8.16 or SQLite 3
- If you want to build the Win32 binaries, please see the README.mingw32 file in the src/win32 directory. We cross-compile the Win32 release on Linux. We provide documentation on building the Win32 version, but due to the complexity, you are pretty much on your own if you want to build it yourself.
- Bacula requires a good implementation of pthreads to work. This is not the case on some of the BSD systems.
- The source code has been written with portability in mind and is mostly POSIX compatible. Thus porting to any POSIX compatible operating system should be relatively easy.
- The GNOME Console program is developed and tested under GNOME 2.x. GNOME 1.4 is no longer supported.
- The wxWidgets Console program is developed and tested with the latest stable ANSI or Unicode version of wxWidgets (2.6.1). It works fine with the Windows and GTK+-2.x version of wxWidgets, and should also work on other platforms supported by wxWidgets.
- The Tray Monitor program is developed for GTK+-2.x. It needs GNOME less or equal to 2.2, KDE greater or equal to 3.1 or any window manager supporting the FreeDesktop system tray standard.
- If you want to enable command line editing and history, you will need to have /usr/include/termcap.h and either the termcap or the ncurses library loaded (libtermcap-devel or ncurses-devel).
- If you want to use DVD as backup medium, you will need to download the dvd+rw-tools 5.21.4.10.8, apply the patch that is in the patches directory of the main source tree to make these tools compatible with Bacula, then compile and install them. There is also a patch for dvd+rw-tools version 6.1, and we hope that the patch is integrated into a later version. Do not use the dvd+rw-tools provided by your distribution, unless you are sure it contains the patch. dvd+rw-tools without the patch will not work with Bacula. DVD media is not recommended for serious or important backups because of its low reliability.
02/02 - Ubuntu 8.04 Hardy Heron: rilasciata l'alpha 4
28/01 - OpenVZ, accordo con gli sviluppatori di Ubuntu Linux
19/01 - PackageKit, quasi pronto per il rilascio definitivo
18/91 - Asterisk@Home diventata Trixbox rilascia la nuova versione 2.4
18/01 - PlayOnLinux, per installare facilmente i giochi
17/01 - Install KDE in Ubuntu 7.10
16/01 - Gelatin per Ubuntu 8.04
14/01 - Installare KDE 4.0 su Ubuntu Gutsy Gibbon
14/01- Ubuntu Multimedia Center
09/01 - Virtual Open Source Edition presente in Ubuntu repository














1 commenti:
mi succede un fatto strano:
provando ad aprire il pdf dal post mi trovo un siffatto errore
Forbidden
You don't have permission to access /pdf/bacula.pdf on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.33 Server at www.sistemistiindipendenti.org Port 80
mentre, aprendolo dalla pagina per l'inserimento dei commenti (mostra post originale), mi si apre comodamente
forse che il link e' gestito male da blogger.com ? (quel /pdf/bacula.pdf on this server. mi fa venire qualche sospetto... non dovrebbe essere http://www.sistemistiindipendenti.org/pdf/bacula.pdf ?)
Posta un commento