Bacula-users

[Bacula-users] AutoRecycling

2009-11-30 03:22:48
Subject: [Bacula-users] AutoRecycling
From: David Siegfried <david.siegfried AT uni-vechta DOT de>
Date: Mon, 30 Nov 2009 08:54:53 +0100
Hi guys,

I have a problem with my Bacula. The backup works fine but if the last 
tape is full, bacula doesn’t take the first one again, so I have to 
update the volume status manual.

Here my Storage Definition


# Default pool definition
Pool {
        Name = Default
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 13d
        Maximum Volume Bytes = 400G
        Maximum Volumes = 11
}


#
# Autochanger
#
Autochanger {
   Name = Autochanger
   Device = TapeStorage
   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
   Changer Device = /dev/sg1
}


#
# TapeStorage
#
Device {
   Name = TapeStorage
   Device Type = Tape
   Media Type = Tape
   Archive Device = /dev/st0
   LabelMedia = yes;
   Random Access = no;
   AutomaticMount = yes;
   RemovableMedia = yes ;
   AlwaysOpen = no;
   AutoChanger = yes;
   Changer Device = /dev/sg1
   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

*list media
Pool: Default
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | 
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       1 | file-0001  | Full      |       1 | 429,496,704,000 | 
440 |      172,800 |       1 |    1 |         1 | Tape      | 2009-11-14 
01:18:19 |
|       2 | file-0002  | Full      |       1 | 429,496,704,000 | 
441 |    1,123,200 |       1 |    2 |         1 | Tape      | 2009-11-17 
00:23:26 |
|       3 | file-0003  | Full      |       1 | 429,496,704,000 | 
439 |    1,123,200 |       1 |    3 |         1 | Tape      | 2009-11-19 
23:21:02 |
|       4 | file-0004  | Full      |       1 | 429,496,704,000 | 
439 |    1,123,200 |       1 |    4 |         1 | Tape      | 2009-11-22 
03:54:16 |
|       5 | file-0005  | Full      |       1 | 429,496,704,000 | 
439 |    1,123,200 |       1 |    5 |         1 | Tape      | 2009-11-25 
02:19:17 |
|       6 | file-0006  | Full      |       1 | 429,496,704,000 | 
439 |    1,123,200 |       1 |    6 |         1 | Tape      | 2009-11-28 
00:57:20 |
|       7 | file-0007  | Append    |       1 | 390,109,612,032 | 
400 |    1,123,200 |       1 |    7 |         1 | Tape      | 2009-11-30 
04:37:19 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+


I hope someone can help me!

Thank you

David

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users