If you made any changes to the SD config file, did you restart the SD afterwards?
What is the output of: status storage=DiskFile in bconsole? __Martin >>>>> On Tue, 27 Aug 2024 12:54:51 +0200, Mehrdad Ravanbod said: > > Hi guys > > I am trying to do some testbackups with bacula and atm, It is not > working the error I get is is > > "Storage daemon "DiskFile" didn't accept Device "DiskAC_Dev0" because: > 3924 Device "DiskAC_Dev0" not in SD Device resources or no matching > Media Type or is disabled." > > I am kinda stuck, i think it looks ok, hoping that someone here can > give me some pointers as to what is wrong > > I have a bacula installatopn on a RockyLinux9 server, trying to backup > files from a remote Windows machine(to a local directory on that > machine), but i can not get it to work, i seem to have some error in > defining storage. Btw, Director can connect to the FD and SD on the > remote machine, so client definition in bacula-dir and conf files on > remote machine seem to be working, no problems there > > here are rel. parts of my config files: > > #from bacula-dir > > Storage { > Name = "DiskFile" > SdPort = 9103 > Address = "192.168.1.210" > FdStorageAddress = "192.168.1.210" > Password = "GySzPw9oniyUY6Cevt5OlHJaV7lst9Dsod+v97Xk/fc5" > Device = DiskAC_Dev0 > MediaType = DiskVolume > Autochanger = no > MaximumConcurrentJobs = 10 > } > > Pool { > Name = "BckupDisk_Pool1" > PoolType = "Backup" > Storage=DiskFile > LabelFormat = "\"BckTest-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}\"" > LabelType = "Bacula" > MaximumVolumes = 100 > MaximumVolumeBytes = 53687091200 > VolumeRetention = 31536000 > AutoPrune = no > Recycle = no > ScratchPool = "Scratch" > } > > > Job { > Name = "Test" > Type = "Backup" > Level = "Full" > Pool = "BckupDisk_Pool1" > JobDefs = "WinBckupToDisk" > Storage = "DiskFile" > } > > JobDefs { > Name = "WinBckupToDisk" > Type = "Backup" > Messages = "Standard" > Storage = "DiskFile" > Pool = "BckupDisk_Pool1" > Client = "bckuptest-fd" > Fileset = "FS_BckupDisk1" > Schedule = "Weekly1" > WriteBootstrap = "/opt/bacula/working/%c.bsr" > SpoolAttributes = yes > Priority = 10 > } > > #part of SD conf file > > Storage { # definition of myself > Name = bckuptest-sd > SDPort = 9103 # Director's port > WorkingDirectory = "C:\\Program Files\\Bacula\\working" > Pid Directory = "C:\\Program Files\\Bacula\\working" > Maximum Concurrent Jobs = 10 > } > > Device { > Name = DiskAC_Dev0 > MediaType = DiskVolume > ArchiveDevice = "D:\Backup1" > LabelMedia = Yes > RandomAccess = Yes > AutomaticMount = Yes > RemovableMedia = No > AlwaysOpen = No > MaximumConcurrentJobs = 5 > } > > So this is what i get when i try to run the job Test > > localhost-dir JobId 56: Fatal error: Failed to start job on any of the > storages defined! > localhost-dir JobId 56: Storage daemon "DiskFile" didn't accept Device > "DiskAC_Dev0" because: 3924 Device "DiskAC_Dev0" not in SD Device > resources or no matching Media Type or is disabled. > localhost-dir JobId 56: Connected to Storage "DiskFile" at > 192.168.1.210:9103 with TLS > > > -- > ________________________________________________________ > Mehrdad Ravanbod System administrator > > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users