I think you would usually specify the Storage in the Pool definitions rather than the Job definitions. Either way, you will need two Storages defined, one for the Incremental Pool and one for the Consolidated Pool (usually done in /etc/bareos/bareos-dir.d/storage). I don't see either in the configuration you shared. The Device bareos-2 is not a Storage itself, though it may belong to one.
Josh On Thursday, February 29, 2024 at 2:37:21 AM UTC-5 Ruslan Pylypiuk wrote: I have tried to implement AI for my backup, however I always get the following error during consolidation step: No Storage specification found in Next Pool "AI-Consolidated". Could someone please help and explain what I am doing wrong, here is my configs: *Pool { Name = AI-Consolidated Pool Type = Backup Recycle = yes # Bareos can automatically recycle Volumes Auto Prune = yes # Prune expired volumes Volume Retention = 360 days # How long should jobs be kept? Label Format = "AI-Consolidated-" Maximum Volume Jobs = 1}Pool { Name = AI-Incremental Pool Type = Backup Recycle = yes # Bareos can automatically recycle Volumes Auto Prune = yes # Prune expired volumes Volume Retention = 360 days # How long should jobs be kept? Label Format = "AI-Incremental-" Maximum Volume Jobs = 1 Next Pool = AI-Consolidated # consolidated jobs go to this pool}Job { Name = "Test_consolidate" Type = "Consolidate" FileSet = "Test_incremental-fileset" Accurate = "yes" Client = Test_incremental-client Pool = AI-Consolidated Full Backup Pool = AI-Consolidated Incremental Backup Pool = AI-Incremental Messages = Standard Storage = bareos-2}Job { Name = "Test_incremental" Type = Backup Level = Incremental FileSet = "Test_incremental-fileset" Description = "Gitlab backup" Client = Test_incremental-client Accurate = yes Always Incremental = yes Always Incremental Job Retention = 3 minutes Always Incremental Keep Number = 3 Pool = AI-Incremental Full Backup Pool = AI-Consolidated Incremental Backup Pool = AI-Incremental Priority = 10 Write Bootstrap = "%c_%n.bsr" Messages = Standard Allow Mixed Priority = yes Allow Duplicate Jobs = yes Allow Higher Duplicates = yes Maximum Concurrent Jobs = 10 Storage = bareos-2}Device { Name = bareos-2 Media Type = File Archive Device = /mnt/playground/backups LabelMedia = yes; # lets Bareos label unlabeled media Random Access = yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; Maximum Network Buffer Size = 98304}FileSet { Name = "Test_incremental-fileset" Include { Options { Signature = MD5 Compression = LZ4 noatime = yes } File = "/tmp/playground" }}*Any tip or answer is appreciated -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/974476a0-6877-47ef-9208-7c64f8b15017n%40googlegroups.com.