Puppet Class: bareos::profile::director::schedule

Defined in:
manifests/profile/director/schedule.pp

Overview

Class: bareos::profile::director::schedule

Default schedules



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'manifests/profile/director/schedule.pp', line 3

class bareos::profile::director::schedule {

  # Default Cycles
  ::bareos::director::schedule { 'WeeklyCycle':
    description => 'Default Backup shedule.',
    run         => [
      'Full 1st sat at 21:00',
      'Differential 2nd-5th sat at 21:00',
      'Incremental mon-fri at 21:00',
    ]
  }

  ::bareos::director::schedule { 'WeeklyCycleAfterBackup':
    description => 'This schedule does the catalog backup.',
    run         => 'Full mon-sun at 23:30',
  }

  ::bareos::director::schedule { 'Hourly':
    run         => [
      'Full daily at 01:00',
      'Incremental hourly at 0:30',
    ]
  }

  # These cycles are set up so that we can spread out the full backups of our
  # servers across the week. Some at the weekend, some mid-week.
  ::bareos::director::schedule { 'WeeklyOnMonday':
    run         => [
      'Full First Mon at 18:30',
      'Differential Second-Fifth Mon at 18:30',
      'Incremental Tue-Sun at 20:00',
    ]
  }

  ::bareos::director::schedule { 'WeeklyOnTuesday':
    run         => [
      'Full First Tue at 18:30',
      'Differential Second-Fifth Tue at 18:30',
      'Incremental Wed-Mon at 20:00',
    ]
  }

  ::bareos::director::schedule { 'WeeklyOnWednesday':
    run         => [
      'Full First Wed at 18:30',
      'Differential Second-Fifth Wed at 18:30',
      'Incremental Thu-Tue at 20:00',
    ]
  }

  ::bareos::director::schedule { 'WeeklyOnThursday':
    run         => [
      'Full First Thu at 18:30',
      'Differential Second-Fifth Thu at 18:30',
      'Incremental Fri-Wed at 20:00',
    ]
  }

  ::bareos::director::schedule { 'WeeklyOnFriday':
    run         => [
      'Full First Fri at 18:30',
      'Differential Second-Fifth Fri at 18:30',
      'Incremental Sat-Thu at 20:00',
    ]
  }

  ::bareos::director::schedule { 'WeeklyOnSaturday':
    run         => [
      'Full First Sat at 15:30',
      'Differential Second-Fifth Sat at 15:30',
      'Incremental Sun-Fri at 20:00',
    ]
  }

  ::bareos::director::schedule { 'WeeklyOnSunday':
    run         => [
      'Full First Sun at 15:30',
      'Differential Second-Fifth Sun at 15:30',
      'Incremental Mon-Sat at 20:00',
    ]
  }
}