Hi,

31.10.2007 13:54,, Pravin Rane wrote::
> Hi,
> 
> In my bacula configuration
> 
> All clients have following setting
> -------------------------------------------
>   File Retention = 30 days
>   Job Retention = 1 months
> -------------------------------------------
> 
> Pools
> -------------------------------------------
>   Recycle = yes                    
>   AutoPrune = yes                
>   Volume Retention = 30 days
>   Maximum Volume Bytes = 1610612736000
>   Maximum Volumes = 3        
> -------------------------------------------
> 
> I have 3 volumes as below
> 
> +---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+----------------------------------------------+
>  
> 
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes          | 
> VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
> LastWritten         |
> +---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+-----------------------------------------------+
>  
> 
> |        1 | Per1Vol00        | Full          |       1 | 
> 1,736,908,721,471 |       404 |    1,209,600 |       0 |    0 |         
                                      ^^^^^^^^^
This is the retention time, and, doing some simple math, I find that 
it represents 14 days.

> 1 | File    | 2007-10-30 23:20:20               |
> |        2 | Per1Vol01        | Purged     |       1 | 1,051,894,171,338 
> |       244 |    1,209,600 |       0 |    0 |         1 | File    | 
> 2007-10-07 04:09:46               |
> |        3 | Per1Vol02        | Append    |       1 |            
> 28,849,570 |           0 |    2,592,000 |       1 |    0 |         1 | 
> File   | 2007-10-31 07:14:22                |
> +---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+-----------------------+---------------------------------------------+
>  
> 
> 
> My Maximum Volume Bytes setting were not working as you can see volume 
> Per1Vol00 grown to 1,736,908,721,471 Byets. So I manually updated all 3 
> volumes and made  Maximum Volume Bytes = 1610612736000  for each volume.

You probably changed the pool settings after creating the first two 
volumes shown above.

Just update the volumes to the current pool settings (sth. like update 
all volumes from pool) and verify your volume settings afterwards.

> After this bacula  Pruned 168 Jobs on Volume "Per1Vol00"  & Pruned 105 
> Jobs on Volume "Per1Vol01" from catalog. and changed Per1Vol1 status to 
> Purged
> Now when I do list jobs it shows jobs only from 17 Oct 2007 till date.
> 
> Although I kept  
> 
> File Retention = 30 days
> Job Retention = 1 months
> Volume Retention = 30 days
> 
> I can not see my old backups.
> 
> Even I can not do restoration now as all Full backups were done on the 5 
> Oct 2007 (Full backup happens once in a month)

Right.

You can bscan the volume contents into the catalog again (preferrably 
*after* correcting the retention times :-) but as I assume you're 
still in the testing phase, just let Bacula re-run another full backup 
(which it should do automatically now, as there are no longer full 
backups present in the catalog).

This FAQ has a FPA as well: The pool definition is used as a template 
when creating new volumes. Changes of the pool setup are not 
automatically applied to existing volumes.

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
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