Skip to content

Commit

Permalink
Enhanced the standard configuration file
Browse files Browse the repository at this point in the history
- We now have two-digit reference marks
- Changed the introductional text
  • Loading branch information
pstorz authored and Marco van Wieringen committed Feb 17, 2015
1 parent 42e55f6 commit 9158d75
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions src/defaultconfigs/diskonly/bareos-dir.conf.in
@@ -1,38 +1,39 @@
#
# Default Bareos Director Configuration file for disk-only backup
# (C) Bareos GmbH & Co.KG
# Default Bareos Director configuration file for disk-only backup
# (C) 2013 Bareos GmbH & Co.KG
#
# You have to configure the following for your environment:
# Each configuration item has a reference number that shows
# where this property can be changed in the configuration file.
# Search for the number to find the correct line.
#
# (#1) Email Address for bareos disaster recovery.
# You have to configure the following accoring to your environment:
#
# (#01)Email Address for bareos disaster recovery.
# Specify a mailaddress outside of your backupserver.
# There will be one mail per day.
#
# (#2) Email Address for bareos reports. (Mail Command)
# (#02)Email Address for bareos reports. (Mail Command)
# This mail address will recieve a report about each backup job.
# It will be sent after the backupjob is complete.
# Has to be configured twice ("Standard" and "Daemon" Message Ressources)
#
# (#3) Email Address for bareos operator. (Operator Command)
# (#03)Email Address for bareos operator. (Operator Command)
# This mail address will recieve a mail immediately when the
# bareos system needs an operator intervention.
# May be the same address as in (#2)
# May be the same address as in (#02)
#
#
# This disk-only setup stores all data into @archivedir@
#
# In the following description of the backup scheme, a reference number
# shows where this property is set in the configuration file.
#
# The preconfigured backup scheme is as follows:
#
# Full Backups are done on first Saturday at 21:00 (#4)
# Full Backups are written into the "Full" Pool (#5)
# Full Backups are kept for 365 Days (#6)
# Full Backups are done on first Saturday at 21:00 (#04)
# Full Backups are written into the "Full" Pool (#05)
# Full Backups are kept for 365 Days (#06)
#
# Differential Backups are done on 2nd to 5th Saturday at 21:00 (#7)
# Differential Backups are written into the "Differential" Pool (#8)
# Differential Backups are kept for 90 Days (#9)
# Differential Backups are done on 2nd to 5th Saturday at 21:00 (#07)
# Differential Backups are written into the "Differential" Pool (#08)
# Differential Backups are kept for 90 Days (#09)
#
# Incremental Backups are done monday to friday at 21:00 (#10)
# Incremental Backups are written into the "Incremental" Pool (#11)
Expand Down Expand Up @@ -66,8 +67,8 @@ JobDefs {
Pool = Incremental
Priority = 10
Write Bootstrap = "@working_dir@/%c.bsr"
Full Backup Pool = Full # write Full Backups into "Full" Pool (#5)
Differential Backup Pool = Differential # write Diff Backups into "Differential" Pool (#8)
Full Backup Pool = Full # write Full Backups into "Full" Pool (#05)
Differential Backup Pool = Differential # write Diff Backups into "Differential" Pool (#08)
Incremental Backup Pool = Incremental # write Incr Backups into "Incremental" Pool (#11)
}

Expand Down Expand Up @@ -99,7 +100,7 @@ Job {

# This sends the bootstrap via mail for disaster recovery.
# Should be sent to another system, please change recipient accordingly
Write Bootstrap = "|@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bareos\) \" -s \"Bootstrap for Job %j\" @job_email@" # (#1)
Write Bootstrap = "|@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bareos\) \" -s \"Bootstrap for Job %j\" @job_email@" # (#01)
Priority = 11 # run after main backup
}

Expand Down Expand Up @@ -170,8 +171,8 @@ FileSet {

Schedule {
Name = "WeeklyCycle"
Run = Full 1st sat at 21:00 # (#4)
Run = Differential 2nd-5th sat at 21:00 # (#7)
Run = Full 1st sat at 21:00 # (#04)
Run = Differential 2nd-5th sat at 21:00 # (#07)
Run = Incremental mon-fri at 21:00 # (#10)
}

Expand Down Expand Up @@ -236,8 +237,8 @@ Messages {
Name = Standard
mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bareos\) \<%r\>\" -s \"Bareos: %t %e of %c %l\" %r"
operatorcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bareos\) \<%r\>\" -s \"Bareos: Intervention needed for %j\" %r"
mail = @job_email@ = all, !skipped # (#2)
operator = @job_email@ = mount # (#3)
mail = @job_email@ = all, !skipped # (#02)
operator = @job_email@ = mount # (#03)
console = all, !skipped, !saved
append = "@logdir@/bareos.log" = all, !skipped
catalog = all
Expand All @@ -249,7 +250,7 @@ Messages {
Messages {
Name = Daemon
mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bareos\) \<%r\>\" -s \"Bareos daemon message\" %r"
mail = @job_email@ = all, !skipped # (#2)
mail = @job_email@ = all, !skipped # (#02)
console = all, !skipped, !saved
append = "@logdir@/bareos.log" = all, !skipped
}
Expand All @@ -263,7 +264,7 @@ Pool {
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # How long should the Full Backups be kept? (#6)
Volume Retention = 365 days # How long should the Full Backups be kept? (#06)
Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
Label Format = "Full-" # Volumes will be labeled "Full-<volume-id>"
Expand All @@ -277,7 +278,7 @@ Pool {
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 90 days # How long should the Differential Backups be kept? (#9)
Volume Retention = 90 days # How long should the Differential Backups be kept? (#09)
Maximum Volume Bytes = 10G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
Label Format = "Differential-" # Volumes will be labeled "Differential-<volume-id>"
Expand Down

0 comments on commit 9158d75

Please sign in to comment.