Hi

I try to implement an always Incremental Scheme, i follow the documentation 
guide as much as possible (the documentation how to configure multiple
Storages points to an documentation how to configure multiple devices to one 
storage) but finally i have the following Problem:





03-Apr 10:38 bareos-dir JobId 164: Start Virtual Backup JobId 164, 
Job=backup-desaster-fd.2022-04-02_17.53.41_11
03-Apr 10:38 bareos-dir JobId 164: Consolidating JobIds 
9,13,17,21,25,29,33,37,41,45,53,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129
03-Apr 10:38 bareos-dir JobId 164: Bootstrap records written to 
/var/lib/bareos/bareos-dir.restore.3.bsr
03-Apr 10:38 bareos-dir JobId 164: Connected Storage daemon at esmeralda:9103, 
encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
03-Apr 10:38 bareos-dir JobId 164: Using Device "Incremental" to read.
03-Apr 10:38 bareos-dir JobId 164: Using Device "Consolidated" to write.
03-Apr 10:38 DiskStorage JobId 164: Volume "AI-Consolidated-0005" previously 
written, moving to end of data.
03-Apr 10:38 DiskStorage JobId 164: Ready to append to end of Volume 
"AI-Consolidated-0005" size=26770517881
03-Apr 10:38 DiskStorage JobId 164: Warning: stored/acquire.cc:284 Read open 
device "Incremental" (/var/lib/bareos/storage/incremental) Volume 
"AI-Consolidated-0001" failed: ERR=stored/dev.cc:715 Could not open: 
/var/lib/bareos/storage/incremental/AI-Consolidated-0001, ERR=File or directory 
not found

IE: For consolidating bareos looks for Volumes in the wrong Device.

Regards, Jan

Configuration:

bareos-dir.d/storage/esmeralda.conf:
Storage {
  Name = IncrementalStorage
  Address = esmeralda
  Password = "*"
  Device = Incremental
  Media Type = File
}
Storage {
  Name = ConsolidatedStorage
  Address = esmeralda
  Password = "*"
  Device = Consolidated 
  Media Type = File
}
Storage {
  Name = LongtermStorage
  Address = esmeralda
  Password = "*"
  Device = Longterm
  Media Type = File
}

bareos-dir.d/jobdefs/DefaultJob.conf
JobDefs {
        Name = "AiDefault"
        Accurate = yes
        Always Incremental = yes
        Always Incremental Job Retention = 14
        Always Incremental Keep Number = 7
        Always Incremental Max Full Age = 21

        Pool = AI-Incremental
        Messages = Standard
        Type = Backup
        Full Backup Pool = AI-Consolidated
}

bareos-dir.d/job/backup-desaster-fd.conf
Job {
  Name = "backup-desaster-fd"
  Client = "desaster-fd"
  Schedule = "DailyAI"
  FileSet = "LinuxServer"
  JobDefs = "AiDefault"
}

bareos-dir.d/pool/AI-*
Pool {
  Name = AI-Incremental
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 360 days
  Maximum Volume Bytes = 10G
  Label Format = "AI-Incremental-"
  Storage = IncrementalStorage
  Next Pool = AI-Consolidated
}
Pool {
  Name = AI-Consolidated
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 360 days
  Maximum Volume Bytes = 50G
  Label Format = "AI-Consolidated-"
  Storage = ConsolidatedStorage
  Next Pool = AI-Longterm
}
Pool {
  Name = AI-Longterm
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 10 years
  Maximum Volume Bytes = 50G
  Label Format = "AI-Longterm-"
  Storage = LongtermStorage
}

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/3920809.YFMqr6NV4i%40esmeralda.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to