|
From: Mister IT G. <mis...@gm...> - 2010-12-30 11:45:45
|
On 30/12/2010 11:36, Uwe Schuerkamp wrote:
> On Thu, Dec 30, 2010 at 11:03:07AM +0000, Mister IT Guru wrote:
>> When I run a backup, I end up with this error:
>>
>> 30-Dec 10:53 bacula.local JobId 16: Warning: mount.c:217 Open device
>> "FileStorage" (/backups/default) Volume "BaculaBackups-0001" failed:
>> ERR=dev.c:549 Could not open: /backups/default/BaculaBackups-0001,
>> ERR=No such file or directory
>>
>> The directories on disk are writable, and I'm not sure how to diagnose
>> this particular error, some pointers would be appreciated :)
>>
> Have you configured automatic volume creation? You could also try
> deleting the volume if it's empty and maybe a product of previous
> experiments.
>
> All the best, Uwe
>
My understanding of automatic volume creation needs LabelMedia=Yes, and
LabelFormat = "BaculaBackups-"
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;
}
# 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-"
}
|