Hello,
i'm trying to use the new AllwaysIncremental function from bareos.
The problem is, that  consolidation job, allways gives me an error:

2016-12-14 10:27:06   bareos-dir JobId 4278: Start Virtual Backup JobId 4278, 
Job=server_root.2016-12-14_10.27.04_46
2016-12-14 10:27:06   bareos-dir JobId 4278: Consolidating JobIds 4264,4195
2016-12-14 10:27:09   bareos-dir JobId 4278: Bootstrap records written to 
/var/lib/bareos/bareos-dir.restore.3.bsr
2016-12-14 10:27:09   bareos-dir JobId 4278: Using Device "DevInc" to read.
2016-12-14 10:27:09   bareos-dir JobId 4278: Using Device "DevConsolidated" to 
write.
2016-12-14 10:27:09   bareos-sd JobId 4278: acquire.c:114 Changing read device. 
Want Media Type="File-Consolidated" have="File-Inc"
  device="DevInc" (/bareos/inc/)
2016-12-14 10:27:09   bareos-sd JobId 4278: Fatal error: acquire.c:168 No 
suitable device found to read Volume "Consolidated-0816"
2016-12-14 10:27:09   bareos-sd JobId 4278: Elapsed time=411584:27:09, Transfer 
rate=0  Bytes/second
2016-12-14 10:27:09   bareos-dir JobId 4278: Error: Bareos bareos-dir 16.2.4 
(01Jul16):

Can you please point me to where i'm doing this wrong?

Here's my configuration:

Pool {
  Name = Incremental
  Pool Type = Backup
  Recycle = yes                       # Bareos can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 10 days          # How long should the Incremental Backups 
be kept?  (#12)
  Maximum Volume Bytes = 5G           # Limit Volume size to something 
reasonable
  Maximum Volumes = 100               # Limit number of Volumes in Pool
  Label Format = "Incremental-"       # Volumes will be labeled 
"Incremental-<volume-id>"
  Storage = StorageInc
  Next Pool = Consolidated
}
Pool {
  Name = Consolidated
  Pool Type = Backup
  Recycle = yes                       # Bareos can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 50 days          # How long should the Incremental Backups 
be kept?  (#12)
  Maximum Volume Bytes = 5G           # Limit Volume size to something 
reasonable
  Maximum Volumes = 200               # Limit number of Volumes in Pool
  Label Format = "Consolidated-"       # Volumes will be labeled 
"Incremental-<volume-id>"
  Storage = StorageConsolidated
}


Pool {
  Name = Incremental
  Pool Type = Backup
  Recycle = yes                       # Bareos can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 10 days          # How long should the Incremental Backups 
be kept?  (#12)
  Maximum Volume Bytes = 5G           # Limit Volume size to something 
reasonable
  Maximum Volumes = 100               # Limit number of Volumes in Pool
  Label Format = "Incremental-"       # Volumes will be labeled 
"Incremental-<volume-id>"
  Storage = StorageInc
  Next Pool = Consolidated
}
Pool {
  Name = Consolidated
  Pool Type = Backup
  Recycle = yes                       # Bareos can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 50 days          # How long should the Incremental Backups 
be kept?  (#12)
  Maximum Volume Bytes = 5G           # Limit Volume size to something 
reasonable
  Maximum Volumes = 200               # Limit number of Volumes in Pool
  Label Format = "Consolidated-"       # Volumes will be labeled 
"Incremental-<volume-id>"
  Storage = StorageConsolidated
}





Job {
 Name = "server_root"
 Client = "server"
 JobDefs = "root_cons"
 FileSet = "root_server"
 AlwaysIncremental = yes
 Accurate = yes
 AlwaysIncrementalJobRetention = 7 days
 AlwaysIncrementalMaxFullAge = 38 days
 Pool = Incremental.
 Full Backup Pool = Consolidated.
 RunScript {
    RunsWhen = Before
    FailJobOnError = No
    Command = "/usr/local/sbin/postgres_dump.sh"
    }
}

Job {
    Enabled=yes
    Name = "server-consolidate"
    Type = "Consolidate"
    JobDefs = "root_cons"
    Accurate = "yes"
    Client = "server"
    Fileset = "root"
    Priority = 10
}

Thank you.


-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to