Bacula-users

[Bacula-users] Question about jobs and pools

2010-08-30 10:54:25
Subject: [Bacula-users] Question about jobs and pools
From: Romer Ventura <rventura AT h-st DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 30 Aug 2010 09:42:05 -0500
Hello,

At the moment i have the following pools:
- FileServer-Pool-full
- FileServer-Pool-Incr
- FileServer-Pool-Diff

- MailServer-Pool-fulll
- MailServer-Pool-Incr
- MailServer-Pool-Diff

I have 7 tapes in my library and all of them were put in the Scratch pool. I have calculated that a full backup for the FileServer  will comfortable fit in 2 tapes and for the MailServer 1 tape.

Now, i would like the Incremental and Differential jobs for the FileServer to write to 1 tape and incremental and differential jobs for MailServer to write to another tape. This will end up with MailServer using 2 tapes and FileServer using 3 tapes. Leaving me 2 tapes for other backups.

But it is not happening like that, each pool just pulls a new tape out of scratch and writes to it, if the job has run, it will append to it, but incremental and differential seem to not be able to coexists on the same tape. 

My question is, what can i do to have incremental and differential jobs to be written to 1 tape?

After a week cycle i ended up with:
Pool: FileServPool-Full-tape
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      15 | CNH895     | Full      |       1 | 165,219,038,208 |      166 |    2,592,000 |       1 |    1 |         1 | tape      | 2010-08-25 14:31:09 |
|      16 | CNH896     | Used      |       1 | 139,932,721,152 |      140 |    2,592,000 |       1 |    2 |         1 | tape      | 2010-08-25 18:27:05 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: FileServPool-Diff-tape
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes    | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      20 | CNH900     | Append    |       1 | 778,982,400 |        1 |    2,592,000 |       1 |    6 |         1 | tape      | 2010-08-29 18:14:51 |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: FileServPool-Incre-tape
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes    | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      17 | CNH897     | Append    |       1 | 801,239,040 |        3 |      432,000 |       1 |    3 |         1 | tape      | 2010-08-27 20:14:59 |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: MailPool-Full-tape
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      18 | CNH898     | Used      |       1 | 113,341,132,800 |      114 |    2,592,000 |       1 |    4 |         1 | tape      | 2010-08-25 23:50:11 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: MailPool-Incre-tape
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes    | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      19 | CNH899     | Append    |       1 | 831,946,752 |        2 |   10,368,000 |       1 |    5 |         1 | tape      | 2010-08-27 20:24:00 |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: MailPool-Diff-tape
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes    | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      21 | CNH901     | Append    |       1 | 751,822,848 |        1 |   10,368,000 |       1 |    7 |         1 | tape      | 2010-08-29 18:23:52 |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+

Thanks
------ 
Romer Ventura

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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>
  • [Bacula-users] Question about jobs and pools, Romer Ventura <=