Bacula-users

Re: [Bacula-users] No medium found.. How to force it?

2010-10-05 14:29:02
Subject: Re: [Bacula-users] No medium found.. How to force it?
From: Romer Ventura <rventura AT h-st DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Tue, 5 Oct 2010 13:16:15 -0500
Isnt it supposed to pull media from scratch pool?

Based on the info bellow, does it mean i should set Pool to scratch...? What i would like to have is first sunday of the month do a full back up, weekdays do an incremental, then every sunday (except 1st sunday of the month) do a differential back up.

Everything worked fine, till i had to replace the monthly set. How can i get pass this?

bacula-dir.conf

JobDefs {
  Name = H34-FileServ-def
  Type = Backup
  Level = Full
  Schedule = "WeeklyCycle"
  Messages = Standard
  Pool = FileServPool-Full-tape
  Full Backup Pool = FileServPool-Full-tape
  Differential Backup Pool = FileServPool-Diff-tape
  Incremental Backup Pool = FileServPool-Incre-tape
  Write Bootstrap = "/var/lib/bacula/%c.bsr"
  Priority = 10
}

Job {
  Name = H34-FileServer
  JobDefs = H34-FileServ-def
  Client = housigma34-fd
  FileSet = "H34-FileServ"
}

Schedule {
  Name = "WeeklyCycle"
  Run = Level=Full 1st sun at 18:00
  Run = Level=Differential 2nd-5th sun at 18:00
  Run = Level=Incremental mon-fri at 20:00
}

Pool {
  Name = FileServPool-Full-tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 12
  Storage = SLDLTv4
}

Pool {
  Name = FileServPool-Diff-tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
#  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 1
  Storage = SLDLTv4
}

Pool {
  Name = FileServPool-Incre-tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 5 days
#  Maximum Volume Jobs = 1
#  Label Format = "IncreFileServ-"
  Maximum Volumes = 1
  Storage = SLDLTv4
}

Thanks
------ 
Romer Ventura

On Oct 5, 2010, at 12:41 PM, John Drescher wrote:

Pool: FileServPool-Full-tape
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      15 | CNH895     | Recycle   |       1 |               1 |        0 |
   2,592,000 |       1 |    0 |         0 | tape      | 2010-08-25 14:31:09
|
|      16 | CNH896     | Used      |       1 | 139,932,721,152 |      140 |
   2,592,000 |       1 |    0 |         0 | tape      | 2010-08-25 18:27:05
|
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+----

So the reason for the problem is the tape CNH895 that bacula wants is
the only available tape in the FileServPool-Full-tape pool

John

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users