From: paulr Date: Tue, 13 Jul 2010 07:20:03 +0000 (+1000) Subject: various changes, defaults, etc X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=ea59819adbba9ec633cbb39f8c2388b5e392be6a;p=php-bacula-disk-changer.git various changes, defaults, etc --- diff --git a/bin/pbdc.php b/bin/pbdc.php index f447768..0ea159a 100644 --- a/bin/pbdc.php +++ b/bin/pbdc.php @@ -1,10 +1,11 @@ +-------------------------------- bacula-sd.conf ----------------------------- Autochanger { Name = - - Changer Command = "/usr/local/bin/vchanger %c %o %S %a %d" +?> + Changer Command = " %c %o %S %a %d" Changer Device = "" } @@ -79,8 +82,51 @@ Device { RemovableMedia = no; RandomAccess = yes; } + + + + +-------------------------------- bacula-dir.conf ----------------------------- +Storage { + Name = + Address =
+ SDPort = 9103 + Password = "" + Device = + Media Type = File + Autochanger = yes; +} + +# a pool for our storage +Pool { + Name = + Pool Type = Backup + Recycle = yes # Bacula can automatically recycle Volumes + AutoPrune = yes # Prune expired volumes + Volume Retention = 50 days # I set this to 50 days, dont ask me why + Maximum Volume Bytes = # Limit Volume size to something reasonable + Maximum Volumes = 1000 # Limit number of Volumes in Pool SET THIS +} + +# add a default job job defs for our pool - modify where necessary +# i.e. look at the normal jobdefs, or modify that with your backup defs. +JobDefs { + Name = "PBDCJobDefs" + Type = Backup + Level = Incremental + Storage = + Messages = Standard + Pool = + Priority = 10 + Write Bootstrap = "/var/lib/bacula/%c.bsr" +} + + +