From ea59819adbba9ec633cbb39f8c2388b5e392be6a Mon Sep 17 00:00:00 2001 From: paulr Date: Tue, 13 Jul 2010 17:20:03 +1000 Subject: [PATCH] various changes, defaults, etc --- bin/pbdc.php | 64 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 55 insertions(+), 9 deletions(-) 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" +} + + +