Bacula-users

Re: [Bacula-users] it seems that Automatic Volume Recycling doesn't work

2014-05-09 13:11:24
Subject: Re: [Bacula-users] it seems that Automatic Volume Recycling doesn't work
From: John Drescher <drescherjm AT gmail DOT com>
To: "sosogh AT mail DOT com" <sosogh AT mail DOT com>
Date: Fri, 9 May 2014 13:04:25 -0400
Your volume retention on the volumes above is 2,592,000 seconds which
translates to 30 days ( I believe ) so bacula is working as it should.


Now to fix your problem. Remember that the .conf file defines how to
make new volumes and does not define what happens to current volumes.
So if you make changes you must tell bacula to apply your changes to
the volumes your already have.

bconsole

reload

update pool from resource

update all volumes in pool

should fix this.

John

On Fri, May 9, 2014 at 12:51 PM, sosogh AT mail DOT com <sosogh AT mail DOT 
com> wrote:
> Hi list
> I installed bacula via apt-get on ubuntu 12.04 64bit ,
> The version is 5.2.5 .
> It "seems" that Automatic Volume Recycling doesn't work
> Is there anything I miss ?
>
> ## ## ## ## ## ## ## ##
> ## s dir
> ## ## ## ## ## ## ## ##
>
> backup-svr-dir Version: 5.2.5 (26 January 2012) x86_64-pc-linux-gnu ubuntu
> 12.04
> Daemon started 09-May-14 23:55. Jobs: run=0, running=2 mode=0,0
> Heap: heap=405,504 smbytes=131,970 max_bytes=164,829 bufs=585 max_bufs=586
>
> Scheduled Jobs:
> Level          Type     Pri  Scheduled          Name               Volume
> ===================================================================================
> Incremental    Backup    10  10-May-14 04:15    BackupClient1      *unknown*
> Incremental    Backup    10  10-May-14 04:15    b_184    *unknown*
> Incremental    Backup    10  10-May-14 04:15    b_192  *unknown*
> Incremental    Backup    10  10-May-14 04:15    backup_linux *unknown*
> Incremental    Backup    10  10-May-14 04:15    backup_jie    *unknown*
> Full           Backup    11  10-May-14 23:10    BackupCatalog      *unknown*
> ====
>
> Running Jobs:
> Console connected at 09-May-14 23:55
> Console connected at 10-May-14 00:38
> JobId Level   Name                       Status
> ======================================================================
>    836 Full    BackupCatalog.2014-05-09_23.55.41_03 is waiting for an
> appendable Volume
>    837 Full    BackupCatalog.2014-05-10_00.00.39_04 is waiting execution
>
>
>
>
>
> ## ## ## ## ## ## ## ##
> ## list volume
> ## ## ## ## ## ## ## ##
>
> Pool: Default
> No results to list.
> Pool: File
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes       | VolFiles |
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |       1 | File1      | Full      |       1 | 64,424,490,627 |       14 |
> 2,592,000 |       1 |    0 |         0 | File      | 2014-04-17 04:16:53 |
> |       2 | File2      | Full      |       1 | 64,424,489,826 |       14 |
> 2,592,000 |       1 |    0 |         0 | File      | 2014-05-08 22:50:18 |
> |       3 | File3      | Full      |       1 | 64,424,445,818 |       14 |
> 2,592,000 |       1 |    0 |         0 | File      | 2014-04-25 04:17:08 |
> |       4 | File4      | Full      |       1 | 64,424,467,353 |       14 |
> 2,592,000 |       1 |    0 |         0 | File      | 2014-05-09 06:58:35 |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> Pool: Scratch
> No results to list.
>
>
>
>
> ## ## ## ## ## ## ## ##
> ## cfg
> ## ## ## ## ## ## ## ##
>
> Pool {
>   Name = File
>   Pool Type = Backup
>   Recycle = yes                       # Bacula can automatically recycle
> Volumes
>   AutoPrune = yes                     # Prune expired volumes
>   Volume Retention = 3 days         # one year
>   Maximum Volume Bytes = 60G          # Limit Volume size to something
> reasonable
>   Maximum Volumes = 2               # Limit number of Volumes in Pool
> }
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ________________________________
> sosogh AT mail DOT com
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> &#149; 3 signs your SCM is hindering your productivity
> &#149; Requirements for releasing software faster
> &#149; Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
John M. Drescher

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>