Hello,
I'm trying out a backup to disk storage setup with:
o one storage device with its own Media Type for each backup client, one
directory per client on the storage server
o three storage pools per client (client1-Full, Client1-diff, Client1-inc)
Starting with a fresh database, all the the jobs started as incrementals
and were upgraded to full backups, which is great. However they all got
volumes from the *-diff Pools, which isn't great. Is this a bug, or is
there something wrong with my config?
bacula-dir.conf:
---------%<-------------------
############################
# myhost.example.com
############################
Client {
Name = myhost.example.com-fd
Address = myhost.example.com
FDPort = 9102
Catalog = MyCatalog
Password =
Auto Prune = yes
}
Storage {
Name = storageserver-myhost.example.com
Address = storageserver.example.com
SDPort = 9103
Password =
Device = myhost.example.com
Media Type = myhost.example.com-Volume
}
Pool {
Name = myhost.example.com-full
Pool Type = Backup
Maximum Volume Jobs = 1
Recycle = yes
AutoPrune = yes
Volume Retention = 6 months
LabelFormat = "myhost.example.com-full-"
}
Pool {
Name = myhost.example.com-diff
Pool Type = Backup
Maximum Volume Jobs = 1
Recycle = yes
AutoPrune = yes
Volume Retention = 4 weeks
LabelFormat = "myhost.example.com-diff-"
}
Pool {
Name = myhost.example.com-inc
Pool Type = Backup
Maximum Volume Jobs = 1
Recycle = yes
AutoPrune = yes
Volume Retention = 8 days
LabelFormat = "myhost.example.com-inc-"
}
Schedule {
Name = "myhost.example.com-monthly"
Run = Level=Full Pool=myhost.example.com-full 1st sun at 23:05
Run = Level=Differential Pool=myhost.example.com-diff 2nd-5th sun at
23:05
Run = Level=Incremental Pool=myhost.example.com-inc mon-sat at 23:05
}
Job {
Name = "myhost.example.com-monthly-cycle"
Type = Backup
Client = myhost.example.com-fd
FileSet = "myhost.example.com-full"
Schedule = "myhost.example.com-monthly"
Storage = storageserver-myhost.example.com
Pool = Default
Messages = Standard
Priority = 10
Write Bootstrap = "/var/lib/bacula/%c.bsr"
Client Run Before Job = "/opt/bacula/etc/scripts/bacula_svndump.sh"
CLient Run Before Job = "/opt/bacula/etc/scripts/bacula_pgdump.sh"
}
-------------%<---------------
bacula-sd.conf
-------------%<---------------
Device {
Name = myhost.example.com
Media Type = myhost.example.com-Volume
Archive Device = /volumes/Backup-01/bacula/myhost.example.com
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Thanks,
Michael
--
Michael Anderson
IT Services & Support
elego Software Solutions GmbH
Gustav-Meyer-Allee 25
Building 12.3 (BIG) room 227
13355 Berlin, Germany
phone +49 30 23 45 86 96 michael.anderson at elegosoft.com
fax +49 30 23 45 86 95 http://www.elegosoft.com
Geschaeftsfuehrer: Olaf Wagner, Sitz Berlin
Amtsgericht Berlin-Charlottenburg, HRB 77719, USt-IdNr: DE163214194
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|