Bacula-users

[Bacula-users] schedule issue

2009-01-12 05:07:11
Subject: [Bacula-users] schedule issue
From: Carlo Maesen <c.maesen AT aca-it DOT be>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 12 Jan 2009 11:04:49 +0100 (CET)
Can someone explain the following:
(bacula 2.4.3 on Centos 5.2)

Schedule {
  Name = aca-windows-cycle
  Run = Level=Differential Pool=aca tue-fri at 00:01
  Run = Level=Full Pool=aca-week 1st-4th sat at 00:01
  Run = Level=Full Pool=aca-month 5th sat at 00:01
}

+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      14 | Week1      | Used      |       1 | 418,084,273,152 |      439 |    
2,419,200 |       1 |    0 |         0 | LTO-4     | 2008-12-20 09:37:28 |
|      15 | Week2      | Recycle   |       1 |               1 |        0 |    
2,419,200 |       1 |    0 |         0 | LTO-4     | 2008-12-13 08:18:41 |
|      16 | Week3      | Used      |       1 | 432,468,513,792 |      453 |    
2,419,200 |       1 |    0 |         0 | LTO-4     | 2008-12-27 10:12:46 |
|      17 | Week4      | Used      |       1 |  34,931,764,224 |       39 |    
2,419,200 |       1 |    0 |         0 | LTO-4     | 2009-01-04 07:04:32 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+

So you can see I have 4 times a full backup (pool=aca-week). I expect the next 
backup needs a volume from the aca-month (5th sat).
But that's not true. 
I had the following message:
10-Jan 00:01 itshas-sv11-sd JobId 1503: Job BCK-itshas-sv01.2009-01-10_00.01.03 
waiting. Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      "lto4drive" (/dev/st0)
    Pool:         aca-week
    Media type:   LTO-4

I read the manual about the schedules but I don't get it. 
The output of "show schedules"
Schedule: name=aca-windows-cycle
  --> Run Level=Full
      hour=0 
      mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30 
      month=0 1 2 3 4 5 6 7 8 9 10 11 
      wday=6 
      wom=4 
      woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 
52 53 
      mins=1
     --> Pool: name=aca-month PoolType=Backup
      use_cat=1 use_once=0 cat_files=1
      max_vols=0 auto_prune=1 VolRetention=1 year 
      VolUse=13 hours  recycle=1 LabelFormat=*None*
      CleaningPrefix=*None* LabelType=0
      RecyleOldest=0 PurgeOldest=0
      MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
      MigTime=0 secs MigHiBytes=0 MigLoBytes=0
  --> Run Level=Full
      hour=23 
      mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30 
      month=0 1 2 3 4 5 6 7 8 9 10 11 
      wday=0 
      wom=0 1 2 3 
      woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 
52 53 
      mins=30
     --> Pool: name=aca-week PoolType=Backup
      use_cat=1 use_once=0 cat_files=1
      max_vols=0 auto_prune=1 VolRetention=28 days 
      VolUse=13 hours  recycle=1 LabelFormat=*None*
      CleaningPrefix=*None* LabelType=0
      RecyleOldest=0 PurgeOldest=0
      MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
      MigTime=0 secs MigHiBytes=0 MigLoBytes=0
  --> Run Level=Differential
      hour=0 
      mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30 
      month=0 1 2 3 4 5 6 7 8 9 10 11 
      wday=2 3 4 5 
      wom=0 1 2 3 4 
      woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 
52 53 
      mins=1
     --> Pool: name=aca PoolType=Backup
      use_cat=1 use_once=0 cat_files=1
      max_vols=0 auto_prune=1 VolRetention=5 days 
      VolUse=13 hours  recycle=1 LabelFormat=*None*
      CleaningPrefix=*None* LabelType=0
      RecyleOldest=0 PurgeOldest=0
      MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
      MigTime=0 secs MigHiBytes=0 MigLoBytes=0


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>