Hi guys
I have got a question that I was wondering how does bacula pick a pool for a
manual job.
If my memory serviced me correct the correct pool was picked in version 2.0.3
when you run the backup manually. But now it defaults to the Default pool
everytime. If the jobs are scheduled the right pool is selected for the job.
As can been seen in the example I have
Pool = Default
Full Backup Pool = Freightware_sys-Full-Pool
Incremental Backup Pool = Freightware_sys-Inc-Pool
Differential Backup Pool = Freightware_sys-Diff-Pool
Thanks
Christoff
Here is an example:
Bacula-dir.conf
-----------------------
<snip>
Client {
Name = Freightware-fd
Address = Freightware
FDPort = 9102
Password = "db14020e22005a9341bdc659fc704da5"
Catalog = MyCatalog
FileRetention = 30 days
JobRetention = 31 days
AutoPrune = yes
}
Job {
Name = Freightware_sys
Type = Backup
Client = Freightware-fd
FileSet = Freightware_sys-fs
Pool = Default
Full Backup Pool = Freightware_sys-Full-Pool
Incremental Backup Pool = Freightware_sys-Inc-Pool
Differential Backup Pool = Freightware_sys-Diff-Pool
Schedule = Disk1-WeeklyCycle
Storage = Freightware_sys-sd
Messages = Standard
Write Bootstrap = /var/bacula/working/Freightware_sys.bsr
Priority = 10
}
FileSet {
Name = Freightware_sys-fs
Include {
Options {
compression=gzip8
signature = MD5
}
File = /
File = /boot
File = /x
File = /u
}
Exclude {
File = /dev
File = /proc
File = /sys
File = /u/SAG/ada
File = /u/SAG/dba
}
}
Pool {
Name = Freightware_sys-Full-Pool
Pool Type = Backup
Recycle = yes
RecycleOldestVolume = yes
Use Volume Once = yes
AutoPrune = yes
Volume Retention = 1 month
Maximum Volume Bytes = 20g
Label Format = Freightware_sys-Full-
}
Pool {
Name = Freightware_sys-Diff-Pool
Pool Type = Backup
Recycle = yes
RecycleOldestVolume = yes
AutoPrune = yes
Volume Retention = 1 month
Maximum Volume Bytes = 10g
Label Format = Freightware_sys-Diff-
}
Pool {
Name = Freightware_sys-Inc-Pool
Pool Type = Backup
Recycle = yes # automatically recycle
Volumes
RecycleOldestVolume = yes
AutoPrune = yes # Prune expired volumes
Volume Retention = 1 month
Maximum Volume Bytes = 5g
Maximum Volume Jobs = 6
Label Format = Freightware_sys-Inc-
}
Storage {
Name = Freightware_sys-sd
Address = bacula # N.B. Use a fully qualified name here
SDPort = 9103
Password = "boo"
Device = Disk1 # Name of device in bacula-sd.conf
Media Type = File1
}
Schedule {
Name = Disk1-WeeklyCycle
Run = Level=Full 1st sun at 04:05
Run = Level=Differential 2nd-5th sun at 04:05
Run = Level=Incremental mon-sat at 04:05
}
</snip>
In the console:
Run Backup job
JobName: Freightware_sys
Level: Incremental
Client: Freightware-fd
FileSet: Freightware_sys-fs
Pool: Default (From Job resource)
Storage: Freightware_sys-sd (From Job resource)
When: 2007-09-13 10:47:58
Priority: 10
OK to run? (yes/mod/no): mod -> 8(pool) ->
The defined Pool resources are:
1: Default
2: Freightware_sys-Full-Pool
3: Freightware_sys-Diff-Pool
4: Freightware_sys-Inc-Pool
--
The information contained in this communication is confidential and may be
legally privileged. It is intended solely for the use of the individual or
entity to whom it is addressed. If you are not the intended recipient you are
hereby notified that any disclosure, copying, distribution or any action taken
or omitted in reliance on the contents of this information is strictly
prohibited and may be unlawful. Whilst all reasonable steps are taken to ensure
the accuracy and integrity of information and data transmitted electronically
and to preserve the confidentiality thereof, the Berco Group and its associated
business entities and/or units accept no liability or responsibility whatsoever
if information or data is, for whatever reason, corrupted or does not reach its
intended destination.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users