On Wed, Jun 22, 2016 at 12:31:59PM +0300, Daniel wrote: > Hello Vanush > I think i have found the problem > <snip> > volume Vol-0007 is located in /mnt/backup/week/ i don't know if have > configured correctly my device storage > > Device { > Name = FileStorage-Month > Media Type = File > Archive Device = /mnt/backup/month > LabelMedia = yes; # lets Bacula label unlabeled media > Random Access = Yes; > AutomaticMount = yes; # when device opened, read it > RemovableMedia = no; > AlwaysOpen = no; > } > > Device { > Name = FileStorage-Week > Media Type = File > Archive Device = /mnt/backup/week > LabelMedia = yes; # lets Bacula label unlabeled media > Random Access = Yes; > AutomaticMount = yes; # when device opened, read it > RemovableMedia = no; > AlwaysOpen = no; > }
I've been in the same situation, and as far as I understood bacula you have to mark different disk locations as different Media Types: something like this: (part of) bacula-sd.conf: Device { Name = NASStorage Media Type = File-Inc Archive Device = /bacula/Inc # evetually should be changed to /bacula/Inc LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Device { Name = NASFull Media Type = File-Full Archive Device = /bacula/Full # eventually should be changed to /bacula/Full LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Device { Name = NASDiff Media Type = File-Diff Archive Device = /bacula/Diff LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } (part of) bacula-dir.conf Storage { Name = NAS Address = <removed> SDPort = 9103 Password = <removed> Device = NASStorage Media Type = File-Inc } Storage { Name = NAS-Full Address = <removed> SDPort = 9103 Password = <removed> Device = NASFull Media Type = File-Full } Storage { Name = NAS-Diff Address = <removed> SDPort = 9103 Password = <removed> Device = NASDiff Media Type = File-Diff } Misha. ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users