Hi, I've running a bacula setup that stores its backups to disk. basicly i'm very satisfied with the system, but something looks a bit strange for me. I get the impresssion, that bacula uses as much diskspace as it can get and is not reusing pruned diskspace. sample: one set stores about 12 GB every night in a dedicated container. I defined a configuration, where I belive, the system stores 7 days every night a full backup of the defined fileset. In my opinion, in the night no 8, the system should prune teh first backup and use the space insight the defines pool-file. In night no 9 it should prune backup no 2 and user the free space ... I think the time, that files has to been kept is the shortest "File Retention" Setting in the relevand definition (client, job, pool, etc) every nightly backup of this set is more or less exactly about 12 GB. For me, that means: 7 * 12 GB = 84 GB ==> the pool file Database-0001 should grow the first 7 days about 12 GB / Night. That also was reality. But now, the file is still growing, that geta me the impression, that there is something wrong about the reuse of the pruned files. In its nighlt mails, bacula also told me, that files where pruned: sample: 10-Mar 06:19 backup1-dir: Begin pruning Jobs. 10-Mar 06:19 backup1-dir: No Jobs found to prune. 10-Mar 06:19 backup1-dir: Begin pruning Files. 10-Mar 06:19 backup1-dir: Pruned Files from 2 Jobs for client database-fd from catalog. 10-Mar 06:19 backup1-dir: End auto prune. Is there anything I'm doning wrong ?? Here is my config for this host / Job / Pool / schedules, etc.: Client { Name = database-fd Address = database.somewhere.com FDPort = 9102 Catalog = MyCatalog Password = "1234567890" # password for FileDaemon File Retention = 7 days # 30 days Job Retention = 15 days # six months AutoPrune = yes # Prune expired Jobs/Files } Job { Name = "database" Client = database-fd Schedule = "NightlyDB" JobDefs = "NightlyJob" FileSet = "database_set" Write Bootstrap = "/var/bacula/database.bsr" } # database Set FileSet { Name = "database_set" Include { Options { signature = MD5 compression=GZIP } File = /backupdb } } Schedule { Name = "NightlyDB" Run = Level=Full Pool=Database mon-sun at 04:05 } Pool { Name = Database Pool Type = Backup AutoPrune = yes Volume Retention = 14 days Maximum Volumes = 4 Recycle = yes Recycle Oldest Volume = yes Label Format = "Database-" } JobDefs { Name = "NightlyJob" Type = Backup Level = Incremental FileSet = "UnixMinSet" Client = backupserver-fd Storage = File Messages = Standard Pool = Default Priority = 10 } thx & rgds Achim |
- [Bacula-users] Reuse of Diskspace Achim Schmidt
- Re: [Bacula-users] Reuse of Diskspace Arno Lehmann
- Re: [Bacula-users] Reuse of Diskspace Achim Schmidt
- Re: [Bacula-users] Reuse of Diskspace Arno Lehmann