Bacula-users

Re: [Bacula-users] Error: sql_create.c:387 Volume x already exists

2017-03-04 16:55:54
Subject: Re: [Bacula-users] Error: sql_create.c:387 Volume x already exists
From: Heitor Faria <heitor AT bacula.com DOT br>
To: Matteo Cerutti <matteo.cerutti AT hotmail.co DOT uk>
Date: Sat, 4 Mar 2017 18:54:57 -0300

I am experiencing the following error quite frequently now:

03-Mar 19:57 bacula-dir JobId 88: Error: sql_create.c:387 Volume "fw01-Inc-20170303-1957-88" already exists.

Hello, Matteo: is it possible your disk volumes are becoming Full within 1 minute, and them Bacula tries to create again a volume with a non-unique name? This may happen if your disk is full or if it is a multi-volume backup.
Even using JobID variable it's not guaranteed you will have unique LabelFormat naming generation. I would add (v.g.) NumVols variable.
Also, there is no need to you "Maximum Volume Jobs = 1" and "Use Volume _Once_ = yes" both.  And the first one is better.

Regards,
--
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users