On 15/01/14 20:38, Oliver Hertwig wrote:
Hello!
I'm running 12.4. on Ubuntu 12.04.3 LTS. I wanted to make use of full and
differential pools and therefore I designed e.g. this backup job in
bareos-dir.conf:
Hi Oliver,
Following the bareos documentation there should be no need for an explicit "Pool =<Poolname>"
directive if there is a "Full Backup Pool" and/or a "Differential Backup-Pool" directive
defined for the job. Wouldn't make sense to alter the Pool via another Pool directive anyway in this case, am I
right?
No. You MUST have the pool directive even if it is not used. I agree it
sounds a bit silly when you declare all possible pools but that's how it
works at the moment. I don't know what kind of doco you read but in the
Bacula doco [1], not the bareos one, it is said to be required.
Pool = pool-resource-name
[..] of this chapter. This directive is ***required**.
In your case you can do something like that :
Job {
Name= "backup_bbb_docs"
Type = Backup
Pool = Dummy-Pool
Full Backup Pool = Full-Pool
Differential Backup Pool = Diff-Pool
Incremental Backup Pool = Incr-Pool
[..]
}
Pool {
Name = Dummy-Pool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 1 year
}
At the end of the day, Dummy-Pool will exist but it will NOT contain any
jobs because any Incr, Diff or Full will go into their dedicated pools.
I personally called my 'dummy pool' 'catchall' because if something goes
wrong it will try that one and I specifically keep a long retention so I
have the time to realise that something went wrong ;) But technically
you will never have anything in there. For instance if you don't want to
have one useless Pool you can also do :
Job {
Name= "backup_bbb_docs"
Type = Backup
Pool = Incr-Pool
Full Backup Pool = Full-Pool
Differential Backup Pool = Diff-Pool
### Incremental Backup Pool = Incr-Pool #### NOT NEEDED anymore
[..]
}
With the above anything that is not Full or Diff will go in the default
Pool. In that case that would be only Incremental.
Up to you.
Thomas
[1]:
http://www.bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html#SECTION001430000000000000000
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.