Hi.

  I update bacula server from 1.38.x to 2.2.5, looks everything right, i
test a restore procedure on each client and everything is working. But i
have some issue not big deal but i would like to fix this. I have 2 servers
with FreeBSD 6.2, but in 1 of them is not recycling my volumes, look this
are all my volumes:

+---------+------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName   | VolStatus | Enabled | VolBytes       | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       6 | OakFullFile-0004 | Used      |       1       | 36,430,308,943
|        8 |    2,419,200   |       1 |    0      |         0 | File      |
2007-10-15 22:02:03 |
|      10 | OakFullFile-0006 | Used      |       1      | 31,626,348,650
|        7 |    2,419,200   |       1 |    0      |         0 | File      |
2007-10-01 22:02:06 |
|      12 | OakFullFile-0007 | Used      |       1      | 36,411,310,613
|        8 |    2,419,200   |       1 |    0       |         0 | File      |
2007-10-08 22:01:59 |
|      75 | OakFullFile-0008 | Used      |       1      | 35,145,188,372
|        8 |    2,419,200   |       1 |    0      |         0 | File      |
2007-10-30 16:47:31 |
|      86 | OakFullFile-0009 | Used      |       1      | 34,500,825,458
|        8 |    2,419,200   |       1 |    0       |         0 | File      |
2007-10-30 16:11:40 |
|      87 | OakFullFile-0010 | Used      |       1      |     85,351,535
|        0 |    2,419,200   |       1 |    0       |         0 | File      |
2007-10-25 13:24:07 |
+---------+------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+

 This is one client:

Client: name=MAIL-CLI address=192.168.1.7 FDport=9102 MaxJobs=1
      JobRetention=27 days  FileRetention=27 days  AutoPrune=1
  --> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
      db_user=bacula MutliDBConn=0

This is bacula-Client data in mysql:
+----------+-----------------+-----------------------------------------------------------------+-----------+---------------+--------------+
| ClientId | Name            |
Uname                                                           | AutoPrune
| FileRetention | JobRetention |
+----------+-----------------+-----------------------------------------------------------------+-----------+---------------+--------------+
|        1 | MAILOAK-CLI     | 2.0.3
                    |         1 |       2592000 |      2678400 |
|        2 | FIREWALLOAK-CLI | 2.0.3
                             |         1 |       2592000 |      2678400 |
|        3 | SAMBAOAK-CLI    | 2.2.5
                               |         1 |       2592000 |      2678400 |
|        4 | ACCOUNT-CLI      | 2.2.5
                                |         1 |       2592000 |      2678400 |
|        5 | FILTEROAK-CLI   | 2.0.3
                                 |         1 |       2592000 |      2678400
|
|        6 | CATALOG-CLI     | 2.2.5
                                 |         1 |       2592000 |      2678400
|
|        7 | PBXOAK-CLI  | 2.2.5
                                       |         1 |       2592000 |
2678400 |
+----------+-----------------+-----------------------------------------------------------------+-----------+---------------+--------------+

  You can see that the client resource && database data is different.

My pools have VolumeRetention period with 28 days, i change my clients File
&& Job retention to  27 days, restart bacula and reload the bacula-dir file
but the databases didn't change.

I want to recycle volumes each 28 days, now i have to manually recycle my
volumes.

This is my bacula-dir.conf:

Client {
  Name = PBXOAK-CLI
  Address = 192.168.1.5
  FDPort = 9102
  Catalog = MyCatalog
  Password = "PASSWORD"
  File Retention = 27 days
  Job Retention = 27 days
  Autoprune = yes
}

My oldest volume date is: 2007-10-01 22:02:06 now the date is 2007-11-05:
almost 35 days, and look:
Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
Full           Backup    11  05-Nov-07 17:00    FIREWALL        *unknown*
Full           Backup    12  05-Nov-07 17:20    SAMBA           *unknown*
Full           Backup    13  05-Nov-07 18:30    aacount
*unknown*
Full           Backup    16  05-Nov-07 20:00    pbxOAK         *unknown*
Full           Backup    10  05-Nov-07 20:10    MAIL            *unknown*
Full           Backup    14  05-Nov-07 21:10    FILTER          *unknown*
Full           Backup    15  05-Nov-07 22:00    BackupCatalog      *unknown*

Some could advised me how to fix this, i want bacula recycle my volumes
automatically, anything about i will appreciated, thanks all for your
time!!!

FreeBSD 6.2
Mysql 4.1.x
Bacula 2.2.5

Greetings!!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to