Bacula-users

Re: [Bacula-users] Newbie question about volumes and label command

2009-12-19 14:35:26
Subject: Re: [Bacula-users] Newbie question about volumes and label command
From: Tom Epperly <tepperly AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 19 Dec 2009 11:30:30 -0800
V*list media pool=Windows-Full-Pool
+---------+-----------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+
-----------+---------------------+
| MediaId | VolumeName            | VolStatus | Enabled | VolBytes      | VolFiles | VolRetention | Recycle | Slot | InChanger |
 MediaType | LastWritten         |
+---------+-----------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+
-----------+---------------------+
|       4 | Windows-Full-0004     | Used      |       1 |           216 |        0 |    5,184,000 |       1 |    0 |         0 |
 File      | 0000-00-00 00:00:00 |
|       9 | Windows-Full-0009     | Used      |       1 | 8,520,013,283 |        1 |    5,184,000 |       1 |    0 |         0 |
 File      | 2009-11-01 10:19:25 |
|      13 | Windows-Full-0013     | Used      |       1 | 1,198,568,632 |        0 |    5,184,000 |       1 |    0 |         0 |
 File      | 2009-11-01 21:10:41 |
|      39 | Windows-Full-0017     | Used      |       1 |   999,936,179 |        0 |    5,184,000 |       1 |    0 |         0 |
 File      | 2009-11-30 23:02:44 |
|      41 | legobacukp            | Used      |       1 | 7,834,724,295 |        1 |    5,184,000 |       1 |    0 |         0 |
 File      | 2009-12-02 21:20:44 |
|      43 | LegoWindowsBackupFull | Used      |       1 | 8,629,356,138 |        2 |    5,184,000 |       1 |    0 |         0 |
 File      | 2009-12-03 23:08:11 |
|      49 | Lego-Full-Custom-     | Used      |       1 | 8,282,025,177 |        1 |    5,616,000 |       1 |    0 |         0 |
 File      | 2009-12-18 21:10:33 |
+---------+-----------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+
-----------+---------------------+
*quit

I don't know why it's going through them so quickly. It's only supposed to do a full backup once per month. Although, I suppose if the machine disconnects early, it will try again and use up another volume.

Tom

On Sat, Dec 19, 2009 at 10:18 AM, Ralf Gross <Ralf-Lists AT ralfgross DOT de> wrote:
Tom Epperly schrieb:
> Ralf Gross wrote:
>> Tom Epperly schrieb:
>>
>>> I don't understand why bacula seems to automatically create volumes
>>> for  some pools, but forces me to use the "label" command for others.
>>> I've  tried increasing the "Maximum Volumes" setting, but it doesn't
>>> seem to help.
>>>
>>
>>
>> Have set 'LabelMedia = yes' in the Device config for FileStorage?
>>
> Here is the excerpt from bacula-sd.conf:
>
> Device {
>  Name = FileStorage
>  Media Type = File
>  Archive Device = /home/bacula
>  LabelMedia = yes;                   # lets Bacula label unlabeled media
>      Random Access = Yes;
>  AutomaticMount = yes;               # when device opened, read it
>      RemovableMedia = no;
>  AlwaysOpen = no;
> }
>
> Does this explain it?

yes, this looks good. Have you checked what John suggested, the max.
number of volumes?

Can you post the output of `list media pool=Windows-Full-Pool'?

Ralf

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users