Defined Type: backup::monthlyschedule

Defined in:
modules/backup/manifests/monthlyschedule.pp

Overview

Utility definition used internally to deduplicate code

Parameters:



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/backup/manifests/monthlyschedule.pp', line 2

define backup::monthlyschedule(
    String $day,
) {
    bacula::director::schedule { "Monthly-1st-${day}":
        runs => [
            { 'level' => 'Full',
              'at'    => "1st ${day} at 02:05",
            },
            { 'level' => 'Differential',
              'at'    => "3rd ${day} at 03:05",
            },
            { 'level' => 'Incremental',
              'at'    => 'at 04:05',
            },
        ],
    }
}