On Monday 15 January 2007 17:11, Lucas Di Pentima wrote: > Hi there, > > I'm having some problem with bacula 1.38.11, I have this setup for daily > pool: > > Pool { > Name = Inc-Pool > Pool Type = Backup > Recycle = no # No reciclamos porque se graba en DVD-R > AutoPrune = yes # Eliminamos del catalogo datos viejos > Volume Retention = 60 days # 2 meses de soporte en catalogo > Maximum Volume Bytes = 4 g # 4GB para poder grabarse en los DVD-R > Volume Use Duration = 5 days # Permitimos 1 semana de margen para usar > # Volumen antes de pedir uno nuevo > Accept Any Volume = yes > Label Format = Incremental- > } > > The idea is that old volumes are written on DVD and erased from the > harddisk and the catalog. My problem was that last week I erased from > the catalog volumes from "Incremental-0001" to "Incremental-0006", and > the system was using "Incremental-0014" until it got to the 4GB limit. > So, instead of selecting as a new name the "Incremental-0015", used > "Incremental-0006", giving me this message: > > -------------------------------------------------------------------- > 15-Jan 10:19 s1.intra.bcsf.org.ar-dir: Start Backup JobId 928, > Job=Geren02Job.2007-01-15_09.30.07 > 15-Jan 10:18 geren02.intra.bcsf.org.ar-fd: DIR and FD clocks differ by > -54 seconds, FD automatically adjusting. > 15-Jan 10:19 s1.intra.bcsf.org.ar-sd: Volume "Incremental-0014" > previously written, moving to end of data. > 15-Jan 10:23 s1.intra.bcsf.org.ar-sd: User defined maximum volume > capacity 4,294,967,296 exceeded on device "FileStorage" (/u/bacula/). > 15-Jan 10:23 s1.intra.bcsf.org.ar-sd: End of medium on Volume > "Incremental-0014" Bytes=4,294,963,232 Blocks=66,594 at 15-Jan-2007 10:23. > 15-Jan 10:23 s1.intra.bcsf.org.ar-dir: Created new Volume > "Incremental-0006" in catalog. > 15-Jan 10:23 s1.intra.bcsf.org.ar-sd: Labeled new Volume > "Incremental-0006" on device "FileStorage" (/u/bacula/). > 15-Jan 10:23 s1.intra.bcsf.org.ar-sd: Wrote label to prelabeled Volume > "Incremental-0006" on device "FileStorage" (/u/bacula/) > 15-Jan 10:23 s1.intra.bcsf.org.ar-sd: New volume "Incremental-0006" > mounted on device "FileStorage" (/u/bacula/) at 15-Jan-2007 10:23. > [...] > -------------------------------------------------------------------- > > Why did this happened? I want Bacula to add the volume number always.
I believe that it appends the number of volumes in the pool and as long as that is unique, it is happy. If it is not unique, it tries a few other numbers. I recommend you use Python scripting. That way you can define the Volume number the way you want, and you can verify that it does not already exist. > > Thanks in advance > -- > Lucas Di Pentima - Santa Fe, Argentina - Jabber ID: [EMAIL PROTECTED] > LUNIX S.R.L. - Soluciones en GNU/Linux - http://www.lunix.com.ar > GnuPG Public Key: > http://random.sks.keyserver.penguin.de:11371/pks/lookup?op=get&search=0x6AA54FC9 > Key fingerprint = BD3B 08C4 661A 8C3B 1855 740C 8F98 3FCF 6AA5 4FC9 > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users