Ok John, I think I understood the question. I am deleting from catalog and disk
the older volumes and keepping 8 at most.
thank you very much :)
cheers
----- Mensaje original -----
De: "John Drescher" <drescherjm AT gmail DOT com>
Para: "jorge gonzalez" <jorge.gonzalez AT degesys DOT com>, "bacula-users"
<Bacula-users AT lists.sourceforge DOT net>
Enviados: Miércoles, 25 de Febrero 2009 15:29:38 GMT +01:00 Amsterdam / Berlín
/ Berna / Roma / Estocolmo / Viena
Asunto: Re: [Bacula-users] labels and daily volumes
On Wed, Feb 25, 2009 at 9:24 AM, <jorge.gonzalez AT degesys DOT com> wrote:
>
> ----- Mensaje original -----
> De: "John Drescher" <drescherjm AT gmail DOT com>
> Para: "jorge gonzalez" <jorge.gonzalez AT degesys DOT com>
> CC: "bacula-users" <Bacula-users AT lists.sourceforge DOT net>
> Enviados: Miércoles, 25 de Febrero 2009 15:01:28 GMT +01:00 Amsterdam /
> Berlín / Berna / Roma / Estocolmo / Viena
> Asunto: Re: [Bacula-users] labels and daily volumes
>
> On Wed, Feb 25, 2009 at 8:43 AM, <jorge.gonzalez AT degesys DOT com> wrote:
>> Thanks John!
>>
>> Here it is the output:
>>
>>
>> *list media pool=pool-daily-dgs-sgcexp-ent2
>> Automatically selected Catalog: MyCatalog
>> Using Catalog "MyCatalog"
>> +---------+--------------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+----------------------+---------------------+
>> | MediaId | VolumeName | VolStatus | Enabled | VolBytes
>> | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType
>> | LastWritten |
>> +---------+--------------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+----------------------+---------------------+
>> | 31 | dgs-sgcexp-ent2-daily-vol-0693 | Archive | 1 |
>> 1,304,385,638 | 0 | 31,536,000 | 0 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-02 20:34:48 |
>> | 32 | dgs-sgcexp-ent2-daily-vol-0695 | Archive | 1 |
>> 1,218,842,278 | 0 | 31,536,000 | 0 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-03 20:34:23 |
>> | 33 | dgs-sgcexp-ent2-daily-vol-0697 | Archive | 1 |
>> 1,044,773,105 | 0 | 31,536,000 | 0 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-04 20:35:34 |
>> | 34 | dgs-sgcexp-ent2-daily-vol-0699 | Archive | 1 |
>> 1,088,673,636 | 0 | 31,536,000 | 0 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-05 20:33:10 |
>> | 35 | dgs-sgcexp-ent2-daily-vol-0677 | Archive | 1 |
>> 1,092,489,732 | 0 | 31,536,000 | 0 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-06 20:33:44 |
>> | 36 | dgs-sgcexp-ent2-daily-vol-0810 | Archive | 1 |
>> 1,078,739,860 | 0 | 31,536,000 | 0 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-07 20:33:36 |
>> | 105 | dgs-sgcexp-ent2-daily-vol-0105 | Used | 1 |
>> 1,276,953,100 | 0 | 518,400 | 1 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-23 03:38:55 |
>> | 163 | dgs-sgcexp-ent2-daily-vol-0163 | Used | 1 |
>> 1,276,957,208 | 0 | 518,400 | 1 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-23 03:41:35 |
>> | 288 | dgs-sgcexp-ent2-daily-vol-0164 | Used | 1 |
>> 1,127,293,367 | 0 | 518,400 | 1 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-19 21:36:53 |
>> | 479 | dgs-sgcexp-ent2-daily-vol-0165 | Used | 1 |
>> 1,804,007,315 | 0 | 518,400 | 1 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-24 11:38:04 |
>> | 490 | dgs-sgcexp-ent2-daily-vol-0166 | Used | 1 |
>> 1,148,590,124 | 0 | 518,400 | 1 | 0 | 0 |
>> file-dgs-sgcexp-ent2 | 2009-02-25 11:36:52 |
>> +---------+--------------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+----------------------+---------------------+
>>
>> Volume Name Volume Status Volume Bytes Max Volume Bytes Volume Jobs
>> Volume Retention(days) Media Type First Written Last Written
>> Autochanger Slot number Can Recycle Volume
>>
>> dgs-sgcexp-ent2-daily-vol-0166 Used 1.1 GB 0 1 6
>> file-dgs-sgcexp-ent2 2009-02-24 20:30:01 2009-02-25 11:36:52 0
>> +
>>
>
> All your volumes here Used or Archive meaning they are not appendable.
> volumes with a retention period of 518,400 are usable 6 days after
> the last written time. dgs-sgcexp-ent2-daily-vol-0164 should recycle
> today since 2009-02-19 21:36:53 + 6 days is some time today.
>
> John
>
>
>
>
>
> Yes, if volumes are daily then I understand volume is not appendable and
> market as used everyday. Then, the volume will be recycled but I think this
> is not important because device is a file.
>
> Sorry but I can't understand why bacula is asking for a label if there is no
> need to append data, and config has a label format:
>
> Pool {
> Name = "pool-daily-dgs-sgcexp-ent2"
> Maximum Volume Jobs = 1
> Pool Type = Backup
> LabelFormat = "dgs-sgcexp-ent2-daily-vol-"
> AutoPrune = yes
> VolumeRetention = 6d
> Maximum Volumes = 8
> Recycle = yes
> }
>
> thanks for your time ;-)
>
You have more than 8 volumes in that pool already. The ones with
"Archive" status count.
John
--
Jorge González y Hurtado de Mendoza
Dpto. de Sistemas
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|