Bacula-users

[Bacula-users] Auto-deleting backups

2013-07-29 00:55:55
Subject: [Bacula-users] Auto-deleting backups
From: soveren <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 28 Jul 2013 21:51:29 -0700
Hello, I want to make that when there is no free space on the disk, bacula will 
automatically delete the oldest backups and overwritten by the new ones.

Now i have no free space left

#df -h
Filesystem           Size    Used   Avail Capacity  Mounted on
/dev/mirror/gm0p3    2.7T    2.4T     28k   100%    /


Here is my pool config in bacula-dir.conf
---------------------
Pool {
  Name = main-pool
  Pool Type = Backup
  Label Format = "All"
  Recycle = yes
  AutoPrune = yes
  Maximum Volume Jobs = 1
  Volume Retention = 21 days
  Recycle Oldest Volume = yes
}
---------------------


But first backup date is 1 jul
----------------
 # ls -l
-rw-r-----  1 bacula  bacula    3770687900 Jul  1 00:05 All0042
-----------------

Here is the simple client config
-----------------
Client {
  Name = srv
  Address = 10.23.4.230
  FDPort = 9102
  Catalog = "default"
  Password = "Ja35IskPo2"
  File Retention = 21 days
  Job Retention = 21 days
  AutoPrune = yes
}
-----------------

And storage config
-----------------
Device {
  Name = backup-dev-remote
  Media Type = File
  Archive Device = /usr/local/backup/remote
  LabelMedia = yes
  Random Access = Yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
} 
-----------------

I don't understand why bacula didn't delete oldest backup , it's already 28 
days left, config sets to 21 days.
Can u please help me to edit this config, and there is another question - is 
there any auto-deleting oldest backup when there is no space left? I mean 
without setting to 21 days, like me.

+----------------------------------------------------------------------
|This was sent by p4fsoveren AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users