I recently started having a problem where bacula is not remember
previous volumes and wants to create them again.  It then errors out
because there is valid files from the previous backup.  Eventually
these errors stack up enough to cause the job to not run.

I have done a search in the mysql database and I find 1 record for
each volume name in Media.  So the data is getting into mysql.

I have tried to turn up the debug to 200 via the console setdebug
command.  This did not give any more information on where the error is
happening.

This is only happening with one backup job out of about 45 jobs.   The
rest run fine without error.

OS: Freebsd 6.2-stable
Bacula-dir,sd,fd: 1.38.11_2


Here is the output of one backup.  I will then show the next backup
where it tries to use the same volume again.

01-Apr 21:00 bacula-dir: Start Backup JobId 6993,
Job=db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0103", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0104", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0105", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0106", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0107", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0108", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0109", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0110", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0111", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir: Created new Volume
"bacula-sd003-Full-db-xxx-0112" in catalog.
01-Apr 21:00 bacula-sd003: Labeled new Volume
"bacula-sd003-Full-db-xxx-0112" on device
"db-xxx-1-fd-FullSnapOnlyLog" (/data/bacula).
01-Apr 21:00 bacula-sd003: Wrote label to prelabeled Volume
"bacula-sd003-Full-db-xxx-0112" on device
"db-xxx-1-fd-FullSnapOnlyLog" (/data/bacula)
01-Apr 21:01 bacula-dir: Max Volume jobs exceeded. Marking Volume
"bacula-sd003-Full-db-xxx-0112" as Used.


Then when the next backup happens it tries to use the same volume and
errors again.  Eventually bacula errors out so much it will stop the
backup job.



01-Apr 21:00 bacula-dir: Start Backup JobId 6993,
Job=db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0103", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0104", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0105", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0106", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0107", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0108", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0109", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0110", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir:
db-xxx-1-fd-DB-XXX-OnlyLog.2007-04-01_21.00.01 Warning: Wanted to
create Volume "bacula-sd003-Full-db-xxx-0111", but it already exists.
Trying again.
01-Apr 21:00 bacula-dir: Created new Volume
"bacula-sd003-Full-db-xxx-0112" in catalog.
01-Apr 21:00 bacula-sd003: Labeled new Volume
"bacula-sd003-Full-db-xxx-0112" on device
"db-xxx-1-fd-FullSnapOnlyLog" (/data/bacula).
01-Apr 21:00 bacula-sd003: Wrote label to prelabeled Volume
"bacula-sd003-Full-db-xxx-0112" on device
"db-xxx-1-fd-FullSnapOnlyLog" (/data/bacula)
01-Apr 21:01 bacula-dir: Max Volume jobs exceeded. Marking Volume
"bacula-sd003-Full-db-xxx-0112" as Used.

-------------------------------------------------------------------------
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

Reply via email to