Bacula-users

[Bacula-users] Fwd: About selection of volumes

2009-03-31 09:51:22
Subject: [Bacula-users] Fwd: About selection of volumes
From: John Drescher <drescherjm AT gmail DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 31 Mar 2009 09:45:33 -0400
---------- Forwarded message ----------
From: John Drescher <drescherjm AT gmail DOT com>
Date: Tue, Mar 31, 2009 at 9:45 AM
Subject: Re: [Bacula-users] About selection of volumes
To: dbareiro AT gmx DOT net


2009/3/30 Daniel Bareiro <daniel-listas AT gmx DOT net>:
> Hi all!
>
> During the last process of backup scheduled by Bacula, I received the
> following notification by email.
>
> 30-Mar 08:27 backup1-sd: Please mount Volume "EducarFull0004" on Storage
> Device "Drive-1" (/dev/nst0) for Job Cygnus.2009-03-28_00.00.19
>
> Reviewing the state of the volumes, I found the following situation:
>
> Pool: Full
> +---------+----------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName     | VolStatus | VolBytes       | VolFiles | 
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
> +---------+----------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |   1,036 | EducarFull0002 | Append    | 31,702,518,884 |       44 |   
>  7,776,000 |       1 |    2 |         0 | DLT-7000  | 2008-05-13 22:26:53 |
> |   1,038 | EducarFull0001 | Purged    | 34,189,164,863 |       50 |   
>  7,776,000 |       1 |    1 |         0 | DLT-7000  | 2008-04-07 00:48:17 |
> |   1,039 | EducarFull0003 | Purged    | 38,584,790,717 |       69 |   
>  7,776,000 |       1 |    3 |         0 | DLT-7000  | 2008-05-04 23:32:04 |
> |   1,042 | EducarFull0005 | Purged    | 34,119,283,723 |       66 |   
>  7,776,000 |       1 |    1 |         0 | DLT-7000  | 2008-08-04 00:01:13 |
> |   1,043 | EducarFull0006 | Purged    | 35,871,291,720 |       44 |   
>  7,776,000 |       1 |    2 |         0 | DLT-7000  | 2008-09-08 01:28:55 |
> |   1,046 | EducarFull0009 | Purged    | 38,888,730,357 |       77 |   
>  7,776,000 |       1 |    3 |         0 | DLT-7000  | 2008-09-07 22:56:25 |
> |   1,047 | EducarFull0004 | Append    | 18,302,518,203 |       43 |   
>  7,776,000 |       1 |    1 |         0 | DLT-7000  | 2008-11-18 00:23:00 |
> |   1,048 | EducarFull0007 | Purged    | 38,663,188,669 |       69 |   
>  7,776,000 |       1 |    2 |         0 | DLT-7000  | 2008-11-02 00:39:19 |
> |   1,049 | EducarFull0008 | Purged    | 33,354,768,116 |       39 |   
>  7,776,000 |       1 |    3 |         0 | DLT-7000  | 2008-11-02 03:03:03 |
> |   1,050 | EducarFull0010 | Full      | 35,826,198,945 |       62 |   
>  7,776,000 |       1 |    1 |         1 | DLT-7000  | 2009-03-28 01:26:49 |
> |   1,051 | EducarFull0011 | Full      | 34,782,209,484 |       62 |   
>  7,776,000 |       1 |    2 |         1 | DLT-7000  | 2009-03-01 01:12:40 |
> |   1,052 | EducarFull0012 | Full      | 43,395,971,463 |       52 |   
>  7,776,000 |       1 |    3 |         1 | DLT-7000  | 2009-03-01 03:44:33 |
> +---------+----------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>
> Apparently Bacula is wanting to use a volume that is not in autochanger and
> whose state is Append when being all the volumes in autochanger in Full
> state. I suppose that changing manually the state of some volume in
> autochanger to Purged, the backup process would be resumed, is it correct?
>
No. You need to either give it the volume it asks for or Purge a
volume in the changer and then issue a mount on the changer.

> But I consider that this does not assure that this situation appears again.
>
> In such case, what you recommend to me to avoid that it returns to happen?
> It would help to take advantage of this moment to now do a change of tapes
> putting oldest and putting to all these tapes in autochanger in Purged
> state so that they are recycled?
>
When this happens I usually swap out a few of the newest volumes with
a few of the oldest volumes and bacula will be happy for months.

John



-- 
John M. Drescher

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