|
From: Mister IT G. <mis...@gm...> - 2010-12-31 09:43:00
|
On 30/12/2010 19:52, Kleber Leal wrote:
> It seems your have not auto label enabled.
> Can you post your config files? Just remove your passwords.
>
> Kleber
>
> 2010/12/30 Mister IT Guru <mis...@gm...
> <mailto:mis...@gm...>>
>
> I've run into a problem, which seems to be expected with tape
> changers, but I have disk based storage. I am under the assumption
> that
> when auto-label is enabled, that a new volume will be automatically
> created when required. I can't babysit the backups and manually mount
> and create new volumes, I have a few terabytes per full run, and I
> want
> to do an end of year backup on my shiny new bacula instance.
>
> When I run a backup, my storage returns this status
> ---
> Device status:
> Device "FileStorage" (/backups/default) is not open.
> Device is BLOCKED waiting to create a volume for:
> Pool: Default
> Media type: File
> Device "FULLStorage" (/backups/FULL) is not open.
> Device "INCStorage" (/backups/INC) is not open.
> Device "DIFFStorage" (/backups/DIFF) is not open.
> ---
>
> The bacula can write to the disk, I have tested this already, and I'm
> slowly losing my mind trying to figure this out. Any pointers as to
> where to look are very much appreciated.
>
> Thanks
>
##-- Bacula Director Config
Director { # define myself
Name = theoracle-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/usr/lib/bacula/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 1
Password = "***" # Console password
Messages = Daemon
}
##-- Bacula SD Config
Storage { # definition of myself
Name = theoracle-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 20
}
## List Directors who are permitted to contact Storage daemon
#
Director {
Name = theoracle-dir
Password = "***"
}
##
Device {
Name = FileStorage
Media Type = File
Archive Device = /backups/default
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = FULLStorage
Media Type = File
Archive Device = /backups/FULL
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = INCStorage
Media Type = File
Archive Device = /backups/INC
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = DIFFStorage
Media Type = File
Archive Device = /backups/DIFF
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
##-- Pool Definitions
# Default pool definition
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
}
# File Pool definition
Pool {
Name = File
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 50G # Limit Volume size to something
reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
LabelFormat = "BaculaBackups-"
}
# Scratch pool definition
Pool {
Name = Scratch
Pool Type = Backup
}
## End Config
My config is posted above, thanks for taking the time.
|