Hi !

We have a tape that gets changed daily and i seem to have a few problems with it. I`d like to configure the pool in a way that no matter what the currently inserted tape will be used.

backup-dir Version: 1.38.4
bernoulli-fd Version: 1.38.2

Pool {
  Name                 = dailytape-pool # used monthly
  Pool Type            = Backup
  Label Format         = "daily."
  Maximum Volume Jobs = 3          # 3 Clients = 3 jobs !
  Volume Use Duration  = 1 day
  Maximum Volumes      = 16
  Volume Retention     = 11 days
  Recycle Current Volume        = yes
  AutoPrune            = yes         # Prune expired volumes
  Recycle              = yes         # automatically recycle Volumes
}

This is what i tried, but it doesn`t seem to work.


05-Apr 21:05 backup-dir: Start Backup JobId 5297, Job=Bernoulli.2006-04-05_21.05.01
05-Apr 21:06 backup-dir: Pruned 3 Jobs on Volume "daily.0014" from catalog.
05-Apr 21:06 backup-sd: Bernoulli.2006-04-05_21.05.01 Warning: Director wanted Volume "daily.0013".
    Current Volume "daily.0014" not acceptable because:
1998 Volume "daily.0014" status is Full, but should be Append, Purged or Recycle (cannot automatically recycle current volume, as it still contains unpruned data). 05-Apr 21:06 backup-sd: Please mount Volume "daily.0013" on Storage Device "daily-sd" (/dev/nst0) for Job Bernoulli.2006-04-05_21.05.01 05-Apr 22:05 bernoulli-fd: Bernoulli.2006-04-05_21.05.01 Fatal error: job.c:1594 Comm error with SD. bad response to Append Data. ERR=Interrupted system call

After that you get the backup canceled info (canceled because max wait time is reached).

You can see it prunes the 3 jobs on the volume just before the backup starts but then says there is still unpruned data on it. The job that starts 4 hours later and uses the same pool does not have any problems and uses the tape.

Also Volume Use Duration does not seem to kick in ... if i list the volumes in the pool i get this:
+---------+------------+-----------+----------------+----------+--------------+---------+------+-----------+------------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | 157 | daily.0013 | Append | 63,072,842,832 | 64 | 950,400 | 1 | 0 | 1 | daily-tape | 2006-04-05 13:09:06 | | 192 | daily.0014 | Append | 49,326,499,066 | 50 | 950,400 | 1 | 0 | 1 | daily-tape | 2006-04-06 12:47:56
+---------+------------+-----------+----------------+----------+--------------+---------+------+-----------+------------+---------------------+
(cut out the unimportant stuff)

They should have changed to status "used" by now. The Maximum Volume Jobs is not hit (because of the first backup failing) but the Volume use duration should have been.

Any ideas ?

Best regards,
--
Daniel Holtkamp                    Riege Software International GmbH
System Administration                                   Mollsfeld 10
40670 Meerbusch, Germany                     Phone: +49-2159-9148-41
mail: holtkamp [at] riege.com                Fax:   +49-2159-9148-11
--------------------------------------------------------------------


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to