Bacula-users

[Bacula-users] pools

2008-09-12 01:19:15
Subject: [Bacula-users] pools
From: Adrian Moisey <adrian AT careerjunction.co DOT za>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 12 Sep 2008 07:18:49 +0200
Hi

I'm trying to get my backups to run 1 day onto a tape.

But last night when it ran, it stuck the backup in the wrong pool.

I wanted it to go into the pool "Full-Pool-Tape" as per my schedule (the 
day was thursday) but it went into "Full-Pool".  I can't figure out 
why... any clues?

*list media
Pool: Default
+---------+--------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName   | VolStatus | Enabled | VolBytes       | 
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten         |
+---------+--------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       3 | Default-0003 | Append    |       1 | 54,272,858,962 | 
12 |   31,536,000 |       1 |    0 |         0 | File      | 2008-09-10 
23:12:21 |
+---------+--------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: Scratch
No results to list.
Pool: Full-Pool
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes          | 
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten         |
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      26 | Full-0026  | Used      |       1 | 1,082,680,665,641 | 
252 |    1,209,600 |       1 |    0 |         0 | File      | 2008-09-08 
04:10:15 |
|      48 | Full-0048  | Used      |       1 | 1,147,809,941,334 | 
267 |    1,209,600 |       1 |    0 |         0 | File      | 2008-09-01 
03:56:27 |
|      56 | Full-0056  | Used      |       1 |   365,046,776,874 | 
  84 |    1,209,600 |       1 |    0 |         0 | File      | 
2008-09-10 11:02:38 |
|      62 | Full-0062  | Append    |       1 |    14,764,048,294 | 
   3 |    1,209,600 |       1 |    0 |         0 | File      | 
2008-09-11 08:33:43 |
|      63 | Full-0063  | Append    |       1 |                 0 | 
   0 |    1,209,600 |       1 |    0 |         0 | LTO-3     | 
0000-00-00 00:00:00 |
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: Inc-Pool
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes       | VolFiles 
| VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten 
       |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       4 | Inc-0004   | Used      |       1 | 40,695,130,399 |        9 
|      604,800 |       1 |    0 |         0 | File      | 2008-08-30 
19:51:44 |
|       8 | Inc-0008   | Used      |       1 | 83,134,745,998 |       19 
|      604,800 |       1 |    0 |         0 | File      | 2008-09-01 
20:09:32 |
|      11 | Inc-0011   | Used      |       1 | 51,524,184,148 |       11 
|      604,800 |       1 |    0 |         0 | File      | 2008-09-08 
20:05:31 |
|      39 | Inc-0039   | Used      |       1 | 81,597,312,529 |       18 
|      604,800 |       1 |    0 |         0 | File      | 2008-09-03 
20:13:45 |
|      42 | Inc-0042   | Used      |       1 | 36,642,795,020 |        8 
|      604,800 |       1 |    0 |         0 | File      | 2008-09-04 
19:54:32 |
|      43 | Inc-0043   | Used      |       1 | 54,128,726,334 |       12 
|      604,800 |       1 |    0 |         0 | File      | 2008-09-05 
19:55:52 |
|      45 | Inc-0045   | Used      |       1 | 31,156,313,615 |        7 
|      604,800 |       1 |    0 |         0 | File      | 2008-09-06 
19:52:00 |
|      47 | Inc-0047   | Used      |       1 | 17,963,673,811 |        4 
|      604,800 |       1 |    0 |         0 | File      | 2008-09-10 
01:50:09 |
|      58 | Inc-0001   | Append    |       1 | 39,140,037,492 |        9 
|      604,800 |       1 |    0 |         0 | File      | 2008-09-11 
08:15:46 |
|      59 | Inc-0003   | Append    |       1 |            213 |        0 
|      604,800 |       1 |    0 |         0 | File      | 0000-00-00 
00:00:00 |
|      60 | Inc-0002   | Append    |       1 |            213 |        0 
|      604,800 |       1 |    0 |         0 | File      | 0000-00-00 
00:00:00 |
|      61 | Inc-0005   | Append    |       1 |            213 |        0 
|      604,800 |       1 |    0 |         0 | File      | 0000-00-00 
00:00:00 |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: Full-Pool-Tape
+---------+---------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName    | VolStatus | Enabled | VolBytes | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten 
     |
+---------+---------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      50 | Mon-Bckp-02   | Append    |       1 |   64,512 |        0 | 
    1,209,600 |       1 |    0 |         0 | LTO-3     | 0000-00-00 
00:00:00 |
|      51 | Tues-Bckp-02  | Append    |       1 |   64,512 |        0 | 
    1,209,600 |       1 |    0 |         0 | LTO-3     | 0000-00-00 
00:00:00 |
|      52 | Wed-Bckp-02   | Append    |       1 |   64,512 |        0 | 
    1,209,600 |       1 |    0 |         0 | LTO-3     | 0000-00-00 
00:00:00 |
|      53 | Thurs-Bckp-02 | Append    |       1 |   64,512 |        0 | 
    1,209,600 |       1 |    0 |         0 | LTO-3     | 0000-00-00 
00:00:00 |
|      54 | Fri-Bkp-02    | Append    |       1 |   64,512 |        0 | 
    1,209,600 |       1 |    0 |         0 | LTO-3     | 0000-00-00 
00:00:00 |
+---------+---------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
*



My config:


Schedule {
    Name = "Standard"
    Run = Level=Incremental Pool=Inc-Pool Storage=File mon-wed at 19:00
    Run = Level=Full Pool=Full-Pool-Tape Storage=Tape SpoolData=yes thu 
at 19:00
    Run = Level=Incremental Pool=Inc-Pool Storage=File fri-sat at 19:00
    Run = Level=Full Pool=Full-Pool Storage=File sun at 19:00
}

Pool {
    Name = Full-Pool
    Pool Type = Backup
    Recycle = yes
    Recycle Oldest Volume = yes
    AutoPrune = yes
    Volume Retention = 2 weeks
    Label Format = Full-
    Volume Use Duration = 1d
}

Pool {
    Name = Full-Pool-Tape
    Pool Type = Backup
    Recycle = yes
    Recycle Oldest Volume = yes
    AutoPrune = yes
    Volume Retention = 2 weeks
    Label Format = FullTape-
    Volume Use Duration = 24h
}

Pool {
    Name = Inc-Pool
    Pool Type = Backup
    Recycle = yes
    Recycle Oldest Volume = yes
    AutoPrune = yes
    Volume Retention = 7 days
    Label Format = Inc-
    Volume Use Duration = 20h
}

JobDefs {
    Name = "Windows Server"
    Type = Backup
    FileSet = "Full Windows Server"
    Schedule = "Standard"
    Storage = File
    Messages = Standard
    Pool = Default
    Full Backup Pool = Full-Pool
    Incremental Backup Pool = Inc-Pool
    Priority = 10
}

Job {
   Name = "bossie"
   Client = "bossie"
   JobDefs = "Windows Server"
}

Client {
   Name = bossie
   Address = bossie.careerjunction.local
   FDPort = 9102
   Catalog = MyCatalog
   Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cg"
   File Retention = 60 days
   Job Retention = 6 months
   AutoPrune = yes
}


-- 
Adrian Moisey
Systems Administrator | CareerJunction | Your Future Starts Here.
Web: www.careerjunction.co.za | Email: adrian AT careerjunction.co DOT za
Phone: +27 21 818 8621 | Mobile: +27 82 858 7830 | Fax: +27 21 818 8855

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>