No Storage specification found in Next Pool "AI-Consolidated"
44 views
Skip to first unread message
Ruslan Pylypiuk
unread,
Feb 29, 2024, 2:37:21 AM2/29/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bareos-users
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 }
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bareos-users
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.