Hi all,
Thanks to John for his answer.
I have tried with Recycle Current Volume but I think there is a problem:
Pool: mediaset_portailjoigny +---------+---------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+---------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 1 | portailjoingy.bacula.0001 | Used | 1 | 1,945,488,384 | 2 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-06-10 00:09:57 |
| 2 | portailjoingy.bacula.0002 | Used | 1 | 1,945,746,432 | 2 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-06-11 00:10:06 | | 3 | portailjoingy.bacula.0003 | Used | 1 | 1,945,939,968 | 2 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-06-12 00:09:59 |
| 4 | portailjoingy.bacula.0004 | Used | 1 | 1 | 0 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-05-16 00:09:00 | | 5 | portailjoingy.bacula.0005 | Recycle | 1 | 1 | 0 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-06-02 14:36:42 |
| 6 | portailjoingy.bacula.0006 | Recycle | 1 | 1 | 0 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-06-17 00:10:43 | | 7 | portailjoingy.bacula.0007 | Used | 1 | 1,944,520,704 | 2 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-06-18 00:10:45 |
| 8 | portailjoingy.bacula.0008 | Recycle | 1 | 1 | 0 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-06-16 00:10:46 | | 9 | portailjoingy.bacula.0009 | Used | 1 | 1,945,165,824 | 2 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-06-06 00:10:13 |
| 10 | portailjoingy.bacula.0010 | Used | 1 | 1,945,294,848 | 2 | 30 | 1 | 0 | 0 | DLT-V4 | 2009-06-09 00:09:58 | +---------+---------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
I have a lot of volumes which are marked Recycle. When a job start, it recycle the volume which was used for the latest backup and the wolume which is inserted in the drive. It is normal?
I just want bacula to recycle the volume which is inserted in the drive in order it can backup on this one...
Thanks for your help.
Ludovic.
2009/6/15 John Drescher <drescherjm AT gmail DOT com>
2009/6/15 Ludovic Marcilly <lmarcilly AT gmail DOT com>:
> Hi, > > I have installed bacula and i'm trying to backup on DLTv4 medium. I have 10 > media and I want to have even and odd weeks and I also want to be able to > backup on the same medium each day if I forgot to change medium...
> > I have defined the following pool: > > Pool { > Name = mediaset_backup > Pool Type = Backup > Use Volume _Once_ = yes > Recycle = yes > AutoPrune = yes > # Maximum Volume Jobs = 1
> Volume Retention = 30 seconds > Label Format = "backup.bacula." > } > > Here is the volume list: > > Pool: mediaset_backup > +---------+---------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes > | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | > LastWritten | > +---------+---------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | 1 | backup.bacula.0001 | Used | 1 | 1,945,488,384 > | 2 | 30 | 1 | 0 | 0 | DLT-V4 | > 2009-06-10 00:09:57 | > | 2 | backup.bacula.0002 | Used | 1 | 1,945,746,432
> | 2 | 30 | 1 | 0 | 0 | DLT-V4 | > 2009-06-11 00:10:06 | > | 3 | backup.bacula.0003 | Used | 1 | 1,945,939,968 > | 2 | 30 | 1 | 0 | 0 | DLT-V4 |
> 2009-06-12 00:09:59 | > | 4 | backup.bacula.0004 | Used | 1 | 1 > | 0 | 30 | 1 | 0 | 0 | DLT-V4 | > 2009-05-16 00:09:00 | > | 5 | backup.bacula.0005 | Recycle | 1 | 1
> | 0 | 30 | 1 | 0 | 0 | DLT-V4 | > 2009-06-02 14:36:42 | > | 6 | backup.bacula.0006 | Used | 1 | 1,923,554,304 > | 2 | 30 | 1 | 0 | 0 | DLT-V4 |
> 2009-06-03 00:09:31 | > | 7 | backup.bacula.0007 | Used | 1 | 1,944,778,752 > | 2 | 30 | 1 | 0 | 0 | DLT-V4 | > 2009-06-04 14:15:15 | > | 8 | backup.bacula.0008 | Used | 1 | 1,944,843,264
> | 2 | 30 | 1 | 0 | 0 | DLT-V4 | > 2009-06-05 00:09:53 | > | 9 | backup.bacula.0009 | Used | 1 | 1,945,165,824 > | 2 | 30 | 1 | 0 | 0 | DLT-V4 |
> 2009-06-06 00:10:13 | > | 10 | backup.bacula.0010 | Used | 1 | 1,945,294,848 > | 2 | 30 | 1 | 0 | 0 | DLT-V4 | > 2009-06-09 00:09:58 | > +---------+---------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > Here are my questions: > > - why does bacula have recycled volume 5 and not volume 4? > - I have put the volume 9 in my drive. Bacula can't backup and says that > volume 9 is "Used" and not "Recycle" and that I must insert volume 5 and
> mount it. When i look at director status, it says "waiting for a mount > request". Why? I think it should use the volume 9 because of my retention > period of 30 seconds but it does not... >
> Do you have any idea? > > Thanks a lot for your help. >
I think you want.
Recycle Current Volume = yes
http://www.bacula.org/en/dev-manual/Automatic_Volume_Recycling.html#SECTION001130000000000000000
John
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|