On Jun 26, 2011, at 8:07 AM, husam Al-khalili wrote:
> Hi,
>
> I've been having some real problems installing and setting up Bacula for the
> first time in our organization. I'm trying to get it up and running locally
> before tackling the issue of a network backup.
>
> I've tried to follow the guide as much as possible, but sometimes, I can't
> make head or tails of it.
>
> So far I have the following when I run BConsole:
>
>
> [Emphasis between *** is mine]
>
> "
> Enter a period to cancel a command.
> *message
> 19-Jun 13:05 jrcb01-dir JobId 11: No prior Full backup Job record found.
> 19-Jun 13:05 jrcb01-dir JobId 11: No prior or suitable Full backup found in
> catalog. Doing FULL backup.
> 19-Jun 20:05 jrcb01-sd JobId 3: Job BackupClient1.2011-06-15_13.05.00_06 is
> waiting. ***Cannot find any appendable volumes.***
> Please use the "label" command to create a new Volume for:
> Storage: "FileStorage" (/etc/test)
> Pool: File
> Media type: File
> "
>
> And here's my Bacula-dir.conf
Do as the others have suggested. Label a volume. Let the backup run .
I suspect, that eventually, you'll want to let Bacula automatically create
volumes and label them.
There are two directives you need to add. One is LabelFormat, in the Pool
definition. The other is in the Device in bacula-sd.conf: LabelMedia = yes
The first defines the format for the label. The other enables a particular
device to automatically label.
http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#9294
http://www.bacula.org/5.0.x-manuals/en/main/main/Storage_Daemon_Configuratio.html#SECTION002030000000000000000
> [Bacula-dir.conf]
>
> Director { # define myself
> Name = jrcb01-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 = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L" # Console password
> Messages = Daemon
> DirAddress = 127.0.0.1
> }
>
> JobDefs {
> Name = "DefaultJob"
> Type = Backup
> Level = Incremental
> Client = jrcb01-fd
> FileSet = "Full Set"
> Schedule = "WeeklyCycle"
> Storage = File
> Messages = Standard
> Pool = File
> Priority = 10
> Write Bootstrap = "/var/lib/bacula/%c.bsr"
> }
> # Backup the catalog database (after the nightly save)
> Job {
> Name = "BackupCatalog"
> JobDefs = "DefaultJob"
> Level = Full
> FileSet="Catalog"
> Schedule = "WeeklyCycleAfterBackup"
> # This creates an ASCII copy of the catalog
> # Arguments to make_catalog_backup.pl are:
> # make_catalog_backup.pl <catalog-name>
> RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
> # This deletes the copy of the catalog
> RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
> Write Bootstrap = "/var/lib/bacula/%n.bsr"
> Priority = 11 # run after main backup
> }
>
> #
> # Standard Restore template, to be changed by Console program
> # Only one such job is needed for all Jobs/Clients/Storage ...
> #
> Job {
> Name = "RestoreFiles"
> Type = Restore
> Client=jrcb01-fd
> FileSet="Full Set"
> Storage = File
> Pool = Default
> Messages = Standard
> Where = /etc/test
> }
>
> FileSet {
> Name = "Full Set"
> Include {
> Options {
> signature = MD5
> }
>
>
> File = /usr/sbin
> }
> FileSet {
> Name = "Catalog"
> Include {
> Options {
> signature = MD5
> }
> File = "/var/lib/bacula/bacula.sql"
> }
> }
>
> # Client (File Services) to backup
> Client {
> Name = jrcb01-fd
> Address = localhost
> FDPort = 9102
> Catalog = MyCatalog
> Password = "wtwR0bXpSeVyWZ91PQrPeg33yF9AVeQjs" # password for
> FileDaemon
> File Retention = 30 days # 30 days
> Job Retention = 6 months # six months
> AutoPrune = yes # Prune expired Jobs/Files
> }
>
>
>
> [/Bacula-dir.conf]
>
>
> This is on a Debian Squeeze (6.0)
>
>
> thanks.
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2_______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Dan Langille - http://langille.org
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users