Hi,

is it normal, that with autolabeling function (option "Label Format"), a
database entry for the tape is created even if no tape has been labeled
physically?

We always use new tapes for our monthly backups for archival purposes. I
set up an appropriate monthly pool. Last night the monthly backup job
failed, because the responsible person has forgotten to place a new tape
in the drive:

---

30-Sep 21:00 ercws207-dir: Start Backup JobId 92,
Job=StandardSicherung.2005-09-30_21.00.02
30-Sep 21:00 ercws207-dir: Created new Volume "Monat-0003" in catalog.
30-Sep 21:00 ercws207-sd: StandardSicherung.2005-09-30_21.00.02 Warning:
Director wanted Volume "Monat-0003".
Current Volume "Woche-03" not acceptable because:
1998 Volume "Woche-03" status is Recycle, not in Pool.
30 Sep 21:00 ercws207-sd: Please mount Volume "Monat-0003" on
Storage Device
"DDS-3" for Job StandardSicherung.2005-09-30_21.00.02.

---

To my surprise bacula created a new entry in the database:


+---------+------------+-----------+------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes   | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------+-----------+------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1       | Monat-0001 | Used      | 9250630146 | 10       | 31536000
| 0       | 0    | 0         | DDS-3     | 2005-08-02 02:40:27 |
| 10      | Monat-0002 | Used      | 9254456768 | 48       | 31536000
| 1       | 0    | 0         | DDS-3     | 2005-09-01 00:35:21 |
| 11      | Monat-0003 | Append    | 0          | 0        | 31536000
| 1       | 0    | 0         | DDS-3     | 0                   |
+---------+------------+-----------+------------+----------+--------------+---------+------+-----------+-----------+---------------------+


Shouldnt bacula only create entries in the database when labeling was
successfull?

What can I do now? Bacula thinks that there is a tape Monat-0003. I
suppose I have to tweak the database manually (delete Monat-0003).


-- 
Georg


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to