Bacula-users

[Bacula-users] Please Help. Device "FileStorage" not in SD Device resources

2014-12-29 18:37:00
Subject: [Bacula-users] Please Help. Device "FileStorage" not in SD Device resources
From: halmeida <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 23 Dec 2014 07:24:53 -0800
Hi i'm new to bacula, been making some tests, but for the moment i have a 
problem i can't solve due to my lack of experience.

After setting everything up, whenever i run a job it stays on hold. And when i 
look at the logs i get the next message:

Storage daemon didn't accept Device "FileStorage" because: 3924 Device 
"FileStorage" not in SD Device resources

I have set my file struture based on a web tutorial, but i don't know if its 
incomplete or what i am missing.

This is the tutorial:  
http://penselinux.com.br/bacula-para-iniciantes-trilogia-1/

My IP structure is:

Bacula Director: 192.168.0.142
Bacula SD: 192.168.0.183
Bacula Client (FD): 192.168.0.175

Im running these machines on virtual box with ubuntu 14.04.01 on each one. Next 
is my file structure, i thank you in advance for any help.

Sory for my english.

Thank you very much.



bacula-dir.conf

----------------------------------------
Director {
Name = bacula-dir
DIRport = 9101
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "senha2014"
Messages = mensagens
DirAddress = 192.168.0.142
}

Job {
Name = "Backup_Exemplo"
Type = Backup
Level = Full
Client = bacula-client
FileSet = "etc"
Schedule = "semanal"
Storage = bacula-storage
Messages = mensagens
Pool = backup_exemplo
Priority = 10
Write Bootstrap = "/var/lib/bacula/%c.bsr"

}

FileSet {
Name = "etc"
Include {
Options {
signature = MD5
}
File = /etc
}
}

Schedule {
Name = "semanal"
Run = Full mon-fri at 23:00
}
Client {
Name = bacula-client
Address = 192.168.0.175
FDPort = 9102
Catalog = MyCatalog
Password = "senha2014"
File Retention = 30 days
Job Retention = 6 months
AutoPrune = yes
}

Storage {
Name = bacula-storage
Address = 192.168.0.183
SDPort = 9103
Password = "senha2014"
Device = FileStorage
Media Type = File
}

Catalog {
Name = MyCatalog
dbname = "bacula"; DB Address = ""; dbuser = "bacula"; dbpassword = "senha2014"
}

Messages {
name = mensagens
console = all, !skipped, !saved
catalog = all
}

Pool {
Name = backup_exemplo
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Label Format = "backup_exemplo"
Volume Retention = 6d
Use Volume Once = yes
Volume Use Duration = 23h
}

Console {
Name = bacula-dir
Password = "senha2014"
CommandACL = status, .status
}



bconsole.conf
-------------------------------------------

Director {
Name = bacula-dir
DIRport = 9101
address = 192.168.0.142
Password = "senha2014"
}



bacula-sd.conf
------------------------------------------

Storage {
Name = bacula-sd
SDPort = 9103
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
SDAddress = 192.168.0.183
}

Director {
Name = bacula-dir
Password = "senha2014"
}

Device {
Name = FileStorage
Media Type = File
Archive Device = /backup
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
}

Messages {
name = mensagem
console = all, !skipped, !saved
}


Bacula-fd.conf
----------------------------------

Director {
Name = bacula-dir
Password = "senha2014"
}

FileDaemon { 
Name = bacula-fd
FDport = 9102
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
FDAddress = 192.168.0.175
}

Messages {
Name = Standard
director = bacula-dir = all, !skipped, !restored
}

+----------------------------------------------------------------------
|This was sent by hugopedroalmeida AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>