Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001023bareos-core[All Projects] directorpublic2018-10-24 22:212018-11-07 13:58
Reporterhostedpower 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version17.2.7 
Target VersionFixed in Version 
Summary0001023: Cleanup of volumes not happning anymore in always incremental schedule
DescriptionHi,


This worked properly for a long time, but now we see the volumes building up and building up until the disk gets full :(

Anything changed in newer bareos version? Please see attachment

I don't think we changed config at all regarding this, so we're puzzled with what we see.

In this case it's almost every day, we have other cases where there are big gaps now and then. Why is it happening? It creates an overload of volumes and our disks fill up for nothing :|

Your feedback would be greatly appreciated!! :)
Steps To Reproducecat jobdefs/HPJobInc.conf
JobDefs {
        Name = "HPJobInc"
        Type = Backup
        Level = Full
        Write Bootstrap = "/var/lib/bareos/%c.bsr"
        Accurate=yes
        Level=Full
        Messages = Standard
        Always Incremental = yes
        Always Incremental Job Retention = 20 days
        Always Incremental Max Full Age = 35 days
        Always Incremental Keep Number = 5
        Maximum Concurrent Jobs = 5
    Run Script {
        RunsWhen = After
        RunsOnFailure = No
        FailJobOnError = No
        RunsOnClient = No
        console = ".bvfs_update jobid=%i"
    }
}

cat /etc/bareos/pool-defaults.conf
#pool defaults used for always incremental scheme
        Pool Type = Backup
# Maximum Volume Jobs = 1 # a new file for each backup that is done
        Recycle = yes # Bareos can automatically recycle Volumes
        Auto Prune = yes # Prune expired volumes
        Volume Use Duration = 23h
        Action On Purge = Truncate


Storage {
    Name = customerx-incr
    Device = customerx-incr # bareos-sd Device
    Media Type = customerx
    Address = backup06.xxxx # backup server fqdn > sent to client sd
    Password = "xxx" # password for Storage daemon
    Maximum Concurrent Jobs = 1 # required for virtual full
    # @/etc/bareos/storage-defaults.conf
}

Storage {
    Name = customerx-cons
    Device = customerx-cons # bareos-sd Device
    Media Type = customerx
    Address = backup06.xxxx # backup server fqdn > sent to client sd
    Password = "xxx" # password for Storage daemon
    Maximum Concurrent Jobs = 1 # required for virtual full
    # @/etc/bareos/storage-defaults.conf
}


Pool {
    Name = customerx-incr
    Storage = customerx-incr
    LabelFormat = "vol-incr-"
    Next Pool = customerx-cons
    @/etc/bareos/pool-defaults.conf
}

Pool {
    Name = customerx-cons
    Storage = customerx-cons
    LabelFormat = "vol-cons-"
    @/etc/bareos/pool-defaults.conf
}



# web.customer.com
Job {
    Name = "backup-web.customer.com"
    Client = web.customer.com
    Pool = customerx-incr
    Full Backup Pool = customerx-cons
    FileSet = "linux-all-mysql"
    Schedule = "always-inc-cycle-3"
    #Defaults
    JobDefs = "HPJobInc"
}

Client {
    Name = web.customer.com
    Address = web.customer.com
    Password = "ourpass" # password for FileDaemon
    AutoPrune = yes
}

TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action
Attached Filespng file icon purging-of-volumes.png [^] (85,328 bytes) 2018-10-24 22:21

- Relationships

-  Notes
(0003149)
hostedpower (reporter)
2018-11-07 13:58

Any idea perhaps? We now almost daily need to purge tons of volumes manually which is getting a real hassle atm :(

As far as I know the system has been working fine for months with a certain version of Bareos :)

- Issue History
Date Modified Username Field Change
2018-10-24 22:21 hostedpower New Issue
2018-10-24 22:21 hostedpower File Added: purging-of-volumes.png
2018-11-07 13:58 hostedpower Note Added: 0003149


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker